mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fix for Dungeon Geists being removed from the battlefield while the trigger is on the stack.
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user