Multiplying attack damage now properly scales

This commit is contained in:
Aria 2019-09-17 02:34:06 +02:00
parent 1d21233ad6
commit ca2e84acc9

View File

@ -83,7 +83,7 @@ public class AttackResult {
}
public void addRelativeDamage(double coef) {
multiplyDamage(1 + coef);
multiplyDamage(Math.max(1, coef));
}
public AttackResult multiplyDamage(double coef) {