diff --git a/res/card-pictures.txt b/res/card-pictures.txt index e3ebe7b0203..cddcde7498d 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg +blight.jpg http://www.wizards.com/global/images/magic/general/blight.jpg sphinx_of_magosi.jpg http://www.wizards.com/global/images/magic/general/sphinx_of_magosi.jpg time_of_heroes.jpg http://www.wizards.com/global/images/magic/general/time_of_heroes.jpg lifetap.jpg http://www.wizards.com/global/images/magic/general/lifetap.jpg diff --git a/res/cards.txt b/res/cards.txt index 1ac222a43d7..94bb0b26324 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,9 @@ +Blight +B B +Enchantment Aura +When enchanted land becomes tapped, destroy it. +Enchant Land Curse + Sphinx of Magosi 3 U U U Creature Sphinx diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 7bdc3eb5f82..79727a6cfa9 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -168,6 +168,26 @@ public class GameActionUtil { AllZone.Stack.add(ability); }//for } + + /* + * Blight - When enchanted land becomes tapped, destroy it. + */ + if(c.isEnchantedBy("Blight")) { + final ArrayList blights = c.getEnchantedBy(); + final Card target = c; + for(Card blight:blights) { + if(blight.getName().equals("Blight")) { + Ability ability = new Ability(blight, "0") { + @Override + public void resolve() { + AllZone.GameAction.destroy(target); + } + };//Ability + ability.setStackDescription(blight.getName()+" - Destroy enchanted land."); + AllZone.Stack.add(ability); + } + } + }//end Blight }//end executeTapSideEffects()