This commit is contained in:
tool4EvEr
2021-10-11 21:42:38 +02:00
parent 1280cb384a
commit 091cb077e9
4 changed files with 1 additions and 6 deletions

View File

@@ -2879,7 +2879,7 @@ public class ComputerUtil {
// no life gain is not negative
return false;
} else if (Iterables.any(list, CardTraitPredicates.hasParam("AiLogic", "LoseLife"))) {
// lose life is only negagive is the player can lose life
// lose life is only negative is the player can lose life
return player.canLoseLife();
} else if (Iterables.any(list, CardTraitPredicates.hasParam("AiLogic", "LichDraw"))) {
// if it would draw more cards than player has, then its negative

View File

@@ -2375,7 +2375,6 @@ public class ComputerUtilCombat {
repParams.put(AbilityKey.DamageSource, attacker);
repParams.put(AbilityKey.DamageAmount, damage);
repParams.put(AbilityKey.IsCombat, true);
repParams.put(AbilityKey.Prevention, true);
List<ReplacementEffect> list = game.getReplacementHandler().getReplacementList(
ReplacementType.DamageDone, repParams, ReplacementLayer.Other);