- Joined
- Nov 1, 2015

- Messages
- 15

- Reaction score
- 4

- First Language
- español

Hero has 50 attack, Enemy has 100 defense.

(a.atk - b.def)+10 = 0 damage

(a.atk - b.def)+55 = 5 damage

So it seems the formula saves negative values

Is there a way to make a formula that does minimal damage after parameter calculations?

I was wondering if there is way to put conditions (if), so if the damage is below zero, turn it into zero and add 10 but I don't have enough knowledge in the engine.

Anyone has any idea? Thank you in advance (sorry for my english)