So this is the formula I came up with.
a.atk * 2 * (1 - (a.TP / 100)) - b.def
However it doesn't work. I tested the formula with a Character and enemy both with stats of 10 but it resulted in 0 dmg for both of them. I presume that you can use brackets so it must be a syntax error I'm over looking? As a side note TP is a fatigue stat in my RPG.
Please help me this is starting to drive me crazy.
a.atk * 2 * (1 - (a.TP / 100)) - b.def
However it doesn't work. I tested the formula with a Character and enemy both with stats of 10 but it resulted in 0 dmg for both of them. I presume that you can use brackets so it must be a syntax error I'm over looking? As a side note TP is a fatigue stat in my RPG.
Please help me this is starting to drive me crazy.