when i rez....
when i rez....
How i can change it when i raise whit healer and gate im stunk a lot of time cause the gate juste gave one life and gave no mana and stam how i can change that
I am not sure about res gates but healers use a function in doRes.src. In the code you'll find this:
See where it calls Resurrect(mobile); ? You could set the mobiles health and other properties there, however you wanted.
Code: Select all
if(ResNow(mobile)==1)
PrintTextAbove(who, "Live again by the Virtues!");
PerformAction(who, ACTION_EFFECT_CAST2);
PlaySoundEffect(who, SOUND_EFFECT_RES);
Resurrect(mobile);
ResPenalties(mobile);
endif