T
Thunder Lion
Guest
I am looking for an equation that will allow the following concept:
I have a fixed value, that must be modified by another variable.
They must be apart of an equation that results in being higher if the player reduces another variable and remain neutral toward the fixed variable if the player keeps this other variable untouched.
Again I have the variable swingspeed=16
I want to modify it with the variable energy.
If energy starts at 100, I want it to effectively make newspeed=16
But if energy is reduced by any means I want it to increase newspeed.
How can I accomplish this?
I have a fixed value, that must be modified by another variable.
They must be apart of an equation that results in being higher if the player reduces another variable and remain neutral toward the fixed variable if the player keeps this other variable untouched.
Again I have the variable swingspeed=16
I want to modify it with the variable energy.
If energy starts at 100, I want it to effectively make newspeed=16
But if energy is reduced by any means I want it to increase newspeed.
How can I accomplish this?