> if (GET_POS(victim) <= POS_DEAD) { > log("SYSERR: Attempt to damage corpse '%s' in room #%d by '%s'.", > GET_NAME(victim), GET_ROOM_VNUM(IN_ROOM(victim)), > GET_NAME(ch)); > if( (!IS_NPC(victim) ) && (!IS_NPC(ch))){ > GET_KILL_COUNT(ch) += 1; inside this check is actually an error and should really never be called..a more appropriate place for you to put that code is in 'void die' in the same file..also, make sure that you incrementing the deaths counter for the person who died, not for the person who killed them.. siv +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST