Re: [CODE] spells

From: Daniel Koepke (dkoepke@california.com)
Date: 01/03/97


On Fri, 3 Jan 1997, Ghost Shaidan wrote:

> I am attempting to write a spell that will heal you a few points every
> combat round.  I have added quite a few spells and skills, and thought i
> knew my way around, but this spell (HEALING_MYST) doesnt have any affects,
> I just want it to be there (I tried to ahve it set an AFF_FLAG it still
> didnt work) and have a duration, so that a check in fight.c (still playing
> with exactly where, but Ill fix this first) will see that they are
> affected_by_spell(ch, SEPLL_HEALING_MYST) and heal them some.. here is my
> case statement from magic.c
> 
> after this week, i am sure it is something very simple that i am missing,
> any help would be apprciated.

If I'm not mistaken, you've forgotten to make it so that it adds
to your hitpoints every so often.  Look for how it's done with
poison (but without the AFF_ of course).


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST