Re: Mob Remembering Players

From: Eric Green (egreen@cypronet.com)
Date: 10/15/96


>Has anyone experienced this problem?
>
>Player starts a fight with a mob flagged as MOB_MEMORY
>or whatever it is, flees, and later dies at the hand
>of anther mob. The rpevious mob will still remember the
>player from before even though they had died since the
>encounter. Is the normal, or what? I have not touched the
>code relating to this at all.

I added code to save the time when the player last died.  The mob memory
saves the time when the mob memory is added, along with the character's ID.
When mob is checked if it hates the player, it also checks the time vs
last death.  If the death is after the time, the memory is deleted and the
mob does not attack.

Eric


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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