mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- For some reason hasFizzled didn't have any checks to make sure spells are still on the stack
This commit is contained in:
@@ -612,6 +612,10 @@ public class MagicStack /* extends MyObservable */ implements Iterable<SpellAbil
|
||||
invalidTarget |= !(CardFactoryUtil.isTargetStillValid(sa, card));
|
||||
} else {
|
||||
invalidTarget = !o.canBeTargetedBy(sa);
|
||||
|
||||
if (o instanceof SpellAbility) {
|
||||
invalidTarget |= this.getInstanceFromSpellAbility((SpellAbility)o) == null;
|
||||
}
|
||||
}
|
||||
// Remove targets
|
||||
if (invalidTarget) {
|
||||
|
||||
Reference in New Issue
Block a user