WarMad Posted May 22, 2016 Share Posted May 22, 2016 how would i make it to where if i added another userstat i could have one to where the more of this stat you have the longer you are stronger durring the fight say i attack you and yours is higher becides that all our other stats where identical then toward the end of the fight you win because all your stats get lowered by say 25 or 50% because your pretty much tired Quote Link to comment Share on other sites More sharing options...
TheMasterGeneral Posted May 23, 2016 Share Posted May 23, 2016 You wish for a player to get tired in a fight? How does this get calculated? By how much damage done, or is the effectiveness of the fight decreased as each turn is taken? Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 yes i want them to get tired and have the damage they give get lower and lower as the attack goes on i have no clue how to do it Quote Link to comment Share on other sites More sharing options...
Coly010 Posted May 24, 2016 Share Posted May 24, 2016 Well if you want it to be simple, use and if statement to check who has the higher endurance, then use it to apply a multiplier to the damage dealt. So find the variable which stores the damage value and multiply it by 0.25 or 0.5 depending on what you prefer Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 Ok I will give that a try later Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.