mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28: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);
|
||||
}
|
||||
}
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user