- Fixed casting face-down instant spells from exile (e.g. via Gonti, Lord of Luxury), it was looking at the FaceDown state before and thought it was a creature.

This commit is contained in:
Agetian
2017-01-06 06:18:21 +00:00
parent 5ba0003eac
commit bd26d9f4aa

View File

@@ -99,7 +99,8 @@ public abstract class Spell extends SpellAbility implements java.io.Serializable
if (!(card.isInstant() || activator.canCastSorcery() || flash if (!(card.isInstant() || activator.canCastSorcery() || flash
|| this.getRestrictions().isInstantSpeed() || this.getRestrictions().isInstantSpeed()
|| activator.hasKeyword("You may cast nonland cards as though they had flash.") || activator.hasKeyword("You may cast nonland cards as though they had flash.")
|| card.hasStartOfKeyword("You may cast CARDNAME as though it had flash."))) { || card.hasStartOfKeyword("You may cast CARDNAME as though it had flash.")
|| (card.isFaceDown() && !card.getZone().is(ZoneType.Battlefield) && card.getState(CardStateName.Original).getType().isInstant()))) {
return false; return false;
} }