Small damage fix

This commit is contained in:
Zzooouhh 2017-11-25 09:10:01 +01:00 committed by GitHub
parent 200e5e07bf
commit 32ef8a5047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -406,6 +406,7 @@ public class CombatGroup implements Serializable, Copyable<CombatGroup> {
}
if (lethalDamage >= damage) {
assigned.put(attackerId, damage);
damage = 0;
break;
}
int damageAssigned = player.getAmount(lethalDamage, damage, "Assign damage to " + attacker.getName(), game);