Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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.
 
Experienced Elementalist
Joined
Jun 12, 2008
Messages
237
Reaction score
0
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
Top