Merge origin/master

This commit is contained in:
LevelX2 2017-12-28 16:56:13 +01:00
commit 80f71027d6

View file

@ -256,7 +256,7 @@ public class CombatGroup implements Serializable, Copyable<CombatGroup> {
if (attacker.getAbilities().containsKey(DeathtouchAbility.getInstance().getId())) {
lethalDamage = 1;
} else {
lethalDamage = blocker.getToughness().getValue() - blocker.getDamage();
lethalDamage = Math.max(blocker.getToughness().getValue() - blocker.getDamage(), 0);
}
if (lethalDamage >= damage) {
blocker.markDamage(damage, attacker.getId(), game, true, true);