I'm using this formula to calculate damage for a basic magic attack:
(((a.mat + a.level * 2) - b.mdf) ** 1.33) + (a.mat / 2)
and this formula for a basic physical attack:
(((a.atk + a.level * 2) - b.def) ** 1.33) + (a.atk / 2)
The physical attack works, but it seems that whenever I replace a.atk with a.mat the formula stops working. Is there something I'm missing?
- Thanks in advance
(((a.mat + a.level * 2) - b.mdf) ** 1.33) + (a.mat / 2)
and this formula for a basic physical attack:
(((a.atk + a.level * 2) - b.def) ** 1.33) + (a.atk / 2)
The physical attack works, but it seems that whenever I replace a.atk with a.mat the formula stops working. Is there something I'm missing?
- Thanks in advance