- Joined
- Apr 27, 2023
- Messages
- 7
- Reaction score
- 0
- First Language
- English
- Primarily Uses
- RMMV
I'm testing out a rather simple damage formula for my attacks:
[a.atk * 4 - b.def * 2, 1].max
I want the move always do at least one damage, however despite using this formula, my weakest party members will still do "Null" damage.
Now, the attack I'm using is an element resisted by the test enemies (half damage) but that should theoretically not matter with this formula, right? It should still be minimum 1 damage?
Anyone know what the problem is? Could the Yanfly Battle Engine be messing with something?
[a.atk * 4 - b.def * 2, 1].max
I want the move always do at least one damage, however despite using this formula, my weakest party members will still do "Null" damage.
Now, the attack I'm using is an element resisted by the test enemies (half damage) but that should theoretically not matter with this formula, right? It should still be minimum 1 damage?
Anyone know what the problem is? Could the Yanfly Battle Engine be messing with something?