mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 03:51:58 -08:00
Fixed one overlooked instance of lethalDamage
This commit is contained in:
parent
f166bebe8c
commit
c25eaa9446
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ public class CombatGroup implements Serializable, Copyable<CombatGroup> {
|
||||||
if (attacker.getAbilities().containsKey(DeathtouchAbility.getInstance().getId())) {
|
if (attacker.getAbilities().containsKey(DeathtouchAbility.getInstance().getId())) {
|
||||||
lethalDamage = 1;
|
lethalDamage = 1;
|
||||||
} else {
|
} else {
|
||||||
lethalDamage = blocker.getToughness().getValue() - blocker.getDamage();
|
lethalDamage = Math.max(blocker.getToughness().getValue() - blocker.getDamage(), 0);
|
||||||
}
|
}
|
||||||
if (lethalDamage >= damage) {
|
if (lethalDamage >= damage) {
|
||||||
blocker.markDamage(damage, attacker.getId(), game, true, true);
|
blocker.markDamage(damage, attacker.getId(), game, true, true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue