On Thu, 27 Jun 1996, ks white wrote: > > > On Thu, 27 Jun 1996 linebacker@microlink.net wrote: > > I noticed that spell affects accumilate, such as strength, I had several > > strength's spells cast on a guy and his stat read +15 to str. > > How can I make it so that spell affects (potions/scrolls/etc included) do > > not accumilate? > > Well, I simply have some AFF_ setting spells check to see if the vict > already has the AFF set. > > case SPELL_STRENGTH: > if (affected_by_spell(victim, SPELL_STRENGTH)) { > act("$S strength is already enhanced.", TRUE, ch, 0, victim, TO_CHAR); > return; > } > or set accum_affect to FALSE in that spell, much simpler
This archive was generated by hypermail 2b30 : 12/18/00 PST