Page 1 of 1

when i rez....

Posted: Tue Apr 11, 2006 1:08 pm
by th3_l00ny
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

Posted: Tue Apr 11, 2006 4:51 pm
by tekproxy
I am not sure about res gates but healers use a function in doRes.src. In the code you'll find this:

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
See where it calls Resurrect(mobile); ? You could set the mobiles health and other properties there, however you wanted.