From ebc75a9e623c1a7673d8fe6478816eb807038cdf Mon Sep 17 00:00:00 2001 From: Maxmtg Date: Sat, 18 May 2013 05:40:48 +0000 Subject: [PATCH] added checkStaticAbilities before subAbilities resolve (fixes: Platinum Emperion targeted by Swords to Plowshares) --- src/main/java/forge/card/ability/AbilityUtils.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/forge/card/ability/AbilityUtils.java b/src/main/java/forge/card/ability/AbilityUtils.java index 339c47d2c08..46e53b8a8ec 100644 --- a/src/main/java/forge/card/ability/AbilityUtils.java +++ b/src/main/java/forge/card/ability/AbilityUtils.java @@ -1040,11 +1040,13 @@ public class AbilityUtils { // every resolving spellAbility will end here if (usedStack) { SpellAbility root = sa.getRootAbility(); + // static abilities will get refreshed from SBE check. game.getStack().finishResolving(root, false); } return; } - // check conditions + + game.getAction().checkStaticAbilities(); // this will refresh continuous abilities for players and permanents. AbilityUtils.resolveApiAbility(abSub, usedStack, game); }