I'm trying to set this formula in a skill but it always returns me 0 (zero):
a.atk * (1 - (b.def / (b.def + 100))basically, it uses defense to work similarly to physical reduction. :C
also what those .min and .max means in formulae? and how to use them?
a.atk * (1 - (b.def / (b.def + 100))basically, it uses defense to work similarly to physical reduction. :C
also what those .min and .max means in formulae? and how to use them?
(b.def / (b.def + 100)always gives you a value between 0.999 and 0 so
a.atk * (1 - (b.def / (b.def + 100))will always be
a.atk * (1 - (number between 0.999 and 0)therefore multiplying your a.atk by a value between 0.999 and 0, which the game might round to 0
Try
a.atk * (2 - (b.def / (b.def + 100))Maybe that will work