WarMad Posted May 22, 2016 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
TheMasterGeneral Posted May 23, 2016 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
WarMad Posted May 24, 2016 Author 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
Coly010 Posted May 24, 2016 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
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.