Re: [NEWBIE] Vamp stuff (was: really long subj.)

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 05/05/98

On Wed, 6 May 1998, Owen Brodal-Robertson wrote:

->I'd just like to know what functions to use to get this:
-> if(affected by vamp touch)
->Attacker hps = Attacker hps + Damage done to victim.

Dare I say it?  RTFC.

    GET_HIT(ch) += dam;
    GET_HIT(ch) = MIN(GET_MAX_HIT(ch), GET_HIT(ch));

Of course, you have to put that in the right place...


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

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