mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Clean up
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user