[Question/Request]Make PM/GM Unlimited Stamina

06/21/2011 09:01 .Light#1
This is my current Stamina coding in character.cs:


I am trying to make it so that an account that has a status of 4 has unlimited stamina.

Thanks in advanced.
06/21/2011 09:11 Santa#2
You could either go through and where ever you take stamina away you could do a check for if your a GM/PM and just not remove it, or your could add something like If(GM/PM and stamina != 100/150) then Stamina = 100/150
06/21/2011 09:18 .Light#3
Quote:
Originally Posted by StarBucks View Post
You could either go through and where ever you take stamina away you could do a check for if your a GM/PM and just not remove it, or your could add something like If(GM/PM and stamina != 100/150) then Stamina = 100/150
Thanks I will try it out. I'll release my code if it works.


-EDIT-

Code works. Here is the release:

[Only registered and activated users can see links. Click Here To Register...]