mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Fixed multiple state triggers going onto the frozen stack.
This commit is contained in:
@@ -987,6 +987,12 @@ public class MagicStack extends MyObservable implements Iterable<SpellAbilitySta
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (final SpellAbilityStackInstance sasi : this.frozenStack) {
|
||||||
|
if (sasi.isStateTrigger(triggerID)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (final SpellAbility sa : this.simultaneousStackEntryList) {
|
for (final SpellAbility sa : this.simultaneousStackEntryList) {
|
||||||
if (sa.getSourceTrigger() == triggerID) {
|
if (sa.getSourceTrigger() == triggerID) {
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user