*Edited for clarity*
I'm working with the following damage formula:
(((a.atk/b.def * (x * 5)) * y) + 1
Where x= a base damage modifier assigned to any given skill and y= a random number between 0.75 and 0.95.
My question is how do I create that random multiplier y?
I'm working with the following damage formula:
(((a.atk/b.def * (x * 5)) * y) + 1
Where x= a base damage modifier assigned to any given skill and y= a random number between 0.75 and 0.95.
My question is how do I create that random multiplier y?