mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Fixed Escape being castable from command zone (fixes #7632)
This commit is contained in:
parent
6091c7eae3
commit
f739eedc46
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,7 @@ import mage.abilities.common.CastCommanderAbility;
|
||||||
import mage.abilities.common.PlayLandAsCommanderAbility;
|
import mage.abilities.common.PlayLandAsCommanderAbility;
|
||||||
import mage.abilities.costs.mana.ManaCost;
|
import mage.abilities.costs.mana.ManaCost;
|
||||||
import mage.abilities.costs.mana.ManaCosts;
|
import mage.abilities.costs.mana.ManaCosts;
|
||||||
|
import mage.abilities.keyword.EscapeAbility;
|
||||||
import mage.abilities.text.TextPart;
|
import mage.abilities.text.TextPart;
|
||||||
import mage.cards.Card;
|
import mage.cards.Card;
|
||||||
import mage.cards.FrameStyle;
|
import mage.cards.FrameStyle;
|
||||||
|
@ -43,6 +44,10 @@ public class Commander implements CommandObject {
|
||||||
switch (spellAbility.getSpellAbilityType()) {
|
switch (spellAbility.getSpellAbilityType()) {
|
||||||
case BASE:
|
case BASE:
|
||||||
case BASE_ALTERNATE:
|
case BASE_ALTERNATE:
|
||||||
|
// Escape only castable from graveyard
|
||||||
|
if (ability instanceof EscapeAbility) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
case SPLIT:
|
case SPLIT:
|
||||||
case SPLIT_FUSED:
|
case SPLIT_FUSED:
|
||||||
case SPLIT_LEFT:
|
case SPLIT_LEFT:
|
||||||
|
|
Loading…
Reference in a new issue