How can I keep the blue bar always full?

02/09/2010 01:51 Decker_#1
Hello
I can't think what its called but the blue bar between mana and health, how can I always keep that full?
Thanks!
02/09/2010 02:19 DragonStar#2
its called stamina, search ur source for it. not going to look how i did it but it wasnt hard
to modify it. Just by looking at it you should be able to get an idea how to modify it to the
way you want
02/09/2010 02:29 Decker_#3
Is this it:
Code:
set
            {
                _Stamina = value;
                if (_Stamina > 100 && BlessingLasts == 0) _Stamina = 100;
                if (_Stamina > 150 && BlessingLasts > 0) _Stamina = 150;
                if (Loaded)
                    MyClient.AddSend(Packets.Status(EntityID, Status.Stamina, _Stamina));
            }
        }
02/09/2010 02:51 Arcо#4
Go to the skill.cs and do something somwhere like.
if (SkillID > 0 && SkillID < 9999)
{
C.Stamina -= 0;
}
02/09/2010 04:06 a7x.#5
"do something somwhere like"

gives a good direction ^^
02/09/2010 04:08 Arcо#6
Quote:
Originally Posted by a7x. View Post
"do something somwhere like"

gives a good direction ^^
>.<
Lol you know what I meant.
02/09/2010 22:55 Decker_#7
Anyone?
Please tell me how to get infinite stamina!!!
02/09/2010 22:58 -Shunsui-#8
Quote:
Originally Posted by _Decker View Post
Anyone?
Please tell me how to get infinite stamina!!!
lol, hep just told you an example on how to not get - stam when you use a skill,
02/09/2010 23:39 Arcо#9
Quote:
Originally Posted by _Decker View Post
Anyone?
Please tell me how to get infinite stamina!!!
I already told you how.
the C.Stamina -= 0;
02/09/2010 23:42 Decker_#10
I searched everywhere can couldn't find "C.Stamina"
02/09/2010 23:55 Decker_#11
Is this it:
Code:
set
            {
                _Stamina = value;
                if (_Stamina > 100 && BlessingLasts == 0) _Stamina = 100;
                if (_Stamina > 150 && BlessingLasts > 0) _Stamina = 150;
                if (Loaded)
                    MyClient.AddSend(Packets.Status(EntityID, Status.Stamina, _Stamina));
            }
        }
02/09/2010 23:57 Arcо#12
Quote:
Originally Posted by _Decker View Post
I searched everywhere can couldn't find "C.Stamina"
I told you to add it.
Not search for it.