[code] [question] [newbie] Mob Attacks

From: Count Zero (count.zero@panacom.com)
Date: 03/02/97


Looking for a way to make a mob attack several chars in a givin fight,
stead of just attacking the same "lead" character every round...  Want the
mob to attack a char at random from the list of chars fighting in the room.

I checked the fight.c code, and didn't really see anything that pointed me
towards figuring out what part of the code told the mob who to attack... 
Any pointers as to what section of the source controls which chars the mob
will attack would be helpfull...  I am not the greatest at coding C... but
have made several major mods to my mud already, so just giving me some
ideas on where to start looking should be enough... hehe

Thanks...

-Count Zero-



+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST