- Posts: 227
- Thank you received: 52
Please Log in or Create an account to join the conversation.
Vatiken wrote: Fix on my fix (so only DEAD characters leaving are forgotten):
The issues with your solution Liko is:Code:/* If "temp" has allocated memory data and our ch is a PC, forget the * extracted character (if he/she is remembered) */ - if (!IS_NPC(ch) && MEMORY(temp)) + if (!IS_NPC(ch) && GET_POS(ch) == POS_DEAD && MEMORY(temp)) forget(temp, ch); /* forget() is safe to use without a check. */ }
a) tbaMUD doesn't use my group system by default.
b) if non-grouped mobs have memory, they will still remember you after you die.
c) if a character dies out of combat (poison, mortally wounded, deathtrap), he/she will still be remembered by MEMORY npcs.
Please Log in or Create an account to join the conversation.
tbaMUD © 2024