mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
- 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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user