----- Original Message ----- From: "David Cole" ranted > > In all honesty, you confused me more... Sigh, teach a man how to fish...a bugger it. Add whatever you want at the end of perform_violence, but add the following checks since you are not calling hit() if (FIGHTING(ch) != NULL && (ch->in_room != FIGHTING(ch)->in_room)) { <add your fireshield here> <PS: Make sure vict = FIGHTING(ch)> damage(blah, blah) } if (FIGHTING(ch) != NULL && (ch->in_room != FIGHTING(ch)->in_room)) { <add your lightning shield here> blah blah blah } etc etc PS: I am assuming that when ch dies from a fireshield etc, that FIGHTING(ch) == NULL. Now, please please read my previous email and try to understand it. -- +---------------------------------------------------------------+ | 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 : 06/24/03 PDT