Ok, from the subject line you could sort've guess what I want to do... I'd like a spell that flags a player AFF_VAMP_TOUCH, and while the spell is active causes him to suck the damage he does to his victim. I've posted about this before, and although I received a response it wasn't exactly what I asked for, and being a newbie to Circle I'm not sure how to implement this spell. The spell does the following: When casted he utters some magic words, and everyone in the room sees '$n's hands grow as red as BLOOD!' He of course gets the message: 'Your hands grow as red as BLOOD!' This spell gives him AFF_VAMP_TOUCH, and lasts for 24 MUD hours. The effect of the spell, is: the number of hitpoints of damage he does to a player/mob is added to his own hitpoints, even after he's reached his maxhits. (I think I'll limit this to like 30% of his maxhits, so someone can't go running around with 2000/600 hp). The part I need help with, is the actual spell effect, I'm not sure what I'd use to calculate how many hitpoints to add to him/her. 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. Thanks for any help. +------------------------------------------------------------+ | 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