[Guide] Stamina bug fix.

Experienced Elementalist
Joined
Jul 27, 2008
Messages
222
Reaction score
9
Open Character.cs and find

Code:
public void Revive(bool Tele)

Inside that code, you'll see
Code:
Teleport(revp[1], revp[2], revp[3]);

Above that add
Code:
Stamina = 100;

A few lines down and you'll see
Code:
World.UpdateSpawn(this);

Above that add
Code:
Stamina = 100;
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));

Now open up 'Client.cs' and find
Code:
case 94:

Under
Code:
MyChar.Revive(true);

Add
Code:
MyChar.Stamina = 100;

Thats it.. i don't take credits for this, was posted here before :P
 
Back