Little question

Newbie Spellweaver
Joined
Mar 20, 2007
Messages
18
Reaction score
0
I'm trying to help a friend with the LOTF source. He wonts stamina to go up automatically like XP bar does. without having to sit anyone know how to fix that problem.
 
in character.cs
search for if (Action == 250)
where it should say something like Stamina += 8;
before if (Action == 250)
add
if (Action == 100)
if (Stamina < 100)
{
Stamina += 5;
if (Stamina > 100)
Stamina = 100;
MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
}
 
Back