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);

View File

@@ -41,7 +41,6 @@ public enum AbilityKey {
CounteredSA("CounteredSA"),
CounterNum("CounterNum"),
CounterMap("CounterMap"),
CounterTable("CounterTable"),
CounterType("CounterType"),
Crew("Crew"),
CumulativeUpkeepPaid("CumulativeUpkeepPaid"),
@@ -103,8 +102,6 @@ public enum AbilityKey {
Phase("Phase"),
Player("Player"),
PreventedAmount("PreventedAmount"),
PreventMap("PreventMap"),
Prevention("Prevention"),
Produced("Produced"),
Regeneration("Regeneration"),
ReplacementEffect("ReplacementEffect"),

View File

@@ -175,7 +175,6 @@ public class ReplacementHandler {
final Card c = preList.get(crd);
for (final ReplacementEffect replacementEffect : c.getReplacementEffects()) {
// Use "CheckLKIZone" parameter to test for effects that care abut where the card was last (e.g. Kalitas, Traitor of Ghet
// getting hit by mass removal should still produce tokens).
Zone cardZone = "True".equals(replacementEffect.getParam("CheckSelfLKIZone")) ? game.getChangeZoneLKIInfo(c).getLastKnownZone() : game.getZoneOf(c);