So the formula I'm using is:
(a.atk * a.atk - b.def * (b.def / 6)) / (v[18] + 1)
everything was working fine with this formula until I added / (v[18] + 1) at the end but now its resulting in 0 but if the variable is 0 it should still be divided by one so until the variable is changed all damage should be the same. This is my first time using a variable in a damage formula so something probably isn't typed right I'm guessing.
(a.atk * a.atk - b.def * (b.def / 6)) / (v[18] + 1)
everything was working fine with this formula until I added / (v[18] + 1) at the end but now its resulting in 0 but if the variable is 0 it should still be divided by one so until the variable is changed all damage should be the same. This is my first time using a variable in a damage formula so something probably isn't typed right I'm guessing.