diff --git a/.gitattributes b/.gitattributes index d266ab00788..d26c2cb67fa 100644 --- a/.gitattributes +++ b/.gitattributes @@ -7248,6 +7248,7 @@ res/cardsfolder/s/sisters_of_the_flame.txt svneol=native#text/plain res/cardsfolder/s/sivitri_scarzam.txt svneol=native#text/plain res/cardsfolder/s/sizzle.txt svneol=native#text/plain res/cardsfolder/s/skaab_goliath.txt -text +res/cardsfolder/s/skaab_ruinator.txt -text res/cardsfolder/s/skarrg_the_rage_pits.txt svneol=native#text/plain res/cardsfolder/s/skarrgan_pit_skulk.txt svneol=native#text/plain res/cardsfolder/s/skarrgan_skybreaker.txt svneol=native#text/plain diff --git a/res/cardsfolder/s/skaab_ruinator.txt b/res/cardsfolder/s/skaab_ruinator.txt new file mode 100644 index 00000000000..623c3ef054b --- /dev/null +++ b/res/cardsfolder/s/skaab_ruinator.txt @@ -0,0 +1,13 @@ +Name:Skaab Ruinator +ManaCost:1 U U +Types:Creature Zombie Horror +Text:As an additional cost to cast CARDNAME, exile three creature cards from your graveyard. +PT:5/6 +K:Flying +SVar:FullCost:1 U U ExileFromGrave<3/Creature> +SVar:AltCost:Cost$ 1 U U ExileFromGrave<3/Creature.Other> | ActivationZone$ Graveyard | Description$ You may cast CARDNAME from your graveyard. +SVar:Rarity:Mythic +SVar:Picture:http://www.wizards.com/global/images/magic/general/skaab_ruinator.jpg +SetInfo:ISD|Mythic|http://magiccards.info/scans/en/isd/77.jpg +Oracle:As an additional cost to cast Skaab Ruinator, exile three creature cards from your graveyard.\nFlying\nYou may cast Skaab Ruinator from your graveyard. +End \ No newline at end of file diff --git a/src/main/java/forge/card/cardFactory/CardFactoryUtil.java b/src/main/java/forge/card/cardFactory/CardFactoryUtil.java index f6fa16ee882..f3b709cfcd6 100644 --- a/src/main/java/forge/card/cardFactory/CardFactoryUtil.java +++ b/src/main/java/forge/card/cardFactory/CardFactoryUtil.java @@ -4832,7 +4832,8 @@ public class CardFactoryUtil { SpellAbility_Restriction restriction = new SpellAbility_Restriction(); restriction.setRestrictions(mapParams); - restriction.setZone(Constant.Zone.Hand); + if(!mapParams.containsKey("ActivationZone")) + restriction.setZone(Constant.Zone.Hand); altCostSA.setRestrictions(restriction); altCostSA.setDescription(sb.toString());