- Fix for Dungeon Geists being removed from the battlefield while the trigger is on the stack.

This commit is contained in:
Sloth
2012-02-07 18:51:11 +00:00
parent a61ce8dd49
commit fc596fdeb1

View File

@@ -975,6 +975,12 @@ public class AbilityFactoryPump {
} // pumpResolve() } // pumpResolve()
private void applyPump(final SpellAbility sa, final Card applyTo) { private void applyPump(final SpellAbility sa, final Card applyTo) {
//if host is not on the battlefield don't apply
if (this.params.containsKey("UntilLoseControlOfHost")
&& !AllZoneUtil.isCardInPlay(sa.getSourceCard())) {
return;
}
final int a = this.getNumAttack(sa); final int a = this.getNumAttack(sa);
final int d = this.getNumDefense(sa); final int d = this.getNumDefense(sa);