when i rez....

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.
Post Reply
th3_l00ny
New User
Posts: 28
Joined: Sun Mar 12, 2006 1:32 pm

when i rez....

Post 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
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post 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.
Post Reply