- Fixed spells cast by AF Play effects (like Isochron Scepter) not triggering cast spell triggers (like storm).

This commit is contained in:
Sloth
2014-02-03 20:08:25 +00:00
parent c11d353540
commit bc851d0b51
2 changed files with 11 additions and 4 deletions

View File

@@ -66,7 +66,9 @@ public class HumanPlaySpellAbility {
final Card c = this.ability.getSourceCard();
if (this.ability instanceof Spell && !c.isCopiedSpell()) {
fromZone = game.getZoneOf(c);
zonePosition = fromZone.getCards().indexOf(c);
if (fromZone != null) {
zonePosition = fromZone.getCards().indexOf(c);
}
this.ability.setSourceCard(game.getAction().moveToStack(c));
}