Re: setting spells on players

From: Christian Ejlertsen (chr.ejlertsen@has.dk)
Date: 03/18/03


>fine but when i use SET_BIT(ch, AFF_PLAGUE) it will never wear off.

As you state yourself the affect will never wear off that way use the
function which in the first place are placing the spell on the person.

mag_affects(GET_LEVEL(ch), ch, vict, SPELL_PLAGUE, 0);

I will take the affecting through the same routine so if you got a
Savethrow build in the rouotine it will use that again. might want to
add a function the loops through thr room to see there is any people
there and then decide what chance there is for them to catch the plague.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/26/03 PDT