mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
also filter simultaneousStackEntryList
This commit is contained in:
@@ -718,6 +718,18 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
|||||||
remove(si);
|
remove(si);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
for (SpellAbility sa : Lists.newArrayList(simultaneousStackEntryList)) {
|
||||||
|
Player activator = sa.getActivatingPlayer();
|
||||||
|
if (activator == null) {
|
||||||
|
if (sa.getHostCard().getController().equals(p)) {
|
||||||
|
simultaneousStackEntryList.remove(sa);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (activator.equals(p)) {
|
||||||
|
simultaneousStackEntryList.remove(sa);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void fizzleTriggersOnStackTargeting(Card c, TriggerType t) {
|
public void fizzleTriggersOnStackTargeting(Card c, TriggerType t) {
|
||||||
|
|||||||
Reference in New Issue
Block a user