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

From: Mike Breuer (mbreuer@new.rr.com)
Date: 06/04/01


From: "Vladimir Nano" <nano.vladimir@slsp.sk>
> 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;

--
   +---------------------------------------------------------------+
   | 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