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.
if (AFF_FLAGGED(ch, AFF_VAMP_TOUCH)) {
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...
-dak
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST