Re: [BUG?]Charmed mob with memory attacks master...

From: George Greer (greerga@circlemud.org)
Date: 06/05/01


On Mon, 4 Jun 2001, Mike Breuer wrote:

>----- Original Message -----
>From: "Vladimir Nano" <nano.vladimir@slsp.sk>
>Sent: Monday, June 04, 2001 9:53 AM
>
>> I think, charmed person(mob) can't attack master (or can?)
>> (If I charm aggresive mob, aggresive flag is removed...)
>> And I think, SPECIAL(cityguard) and mobs in castle do it too.
>
>The current code does not take care of this.  To change it, add the following
>line to mobact.c (line 120 in my copy):
>
> for (names = MEMORY(ch); names && !found; names = names->next)
>   if (names->id == GET_IDNUM(vict)) {
>+    if (AFF_FLAGGED(ch, AFF_CHARM) && (ch->master == vict)) continue;
>     found = TRUE;

Actually, why not make it a charisma-check on the part of the master? Think
of him pleading with the charmie to convince it to calm down.

Although it feels like actually using charisma for something would be
unlawful. :)  Should go make shops care...

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST