mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
adding Blight (from Legends) via generic Aura handling code
This commit is contained in:
@@ -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_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_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
|
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
|
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
|
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
|
lifetap.jpg http://www.wizards.com/global/images/magic/general/lifetap.jpg
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
Blight
|
||||||
|
B B
|
||||||
|
Enchantment Aura
|
||||||
|
When enchanted land becomes tapped, destroy it.
|
||||||
|
Enchant Land Curse
|
||||||
|
|
||||||
Sphinx of Magosi
|
Sphinx of Magosi
|
||||||
3 U U U
|
3 U U U
|
||||||
Creature Sphinx
|
Creature Sphinx
|
||||||
|
|||||||
@@ -168,6 +168,26 @@ public class GameActionUtil {
|
|||||||
AllZone.Stack.add(ability);
|
AllZone.Stack.add(ability);
|
||||||
}//for
|
}//for
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Blight - When enchanted land becomes tapped, destroy it.
|
||||||
|
*/
|
||||||
|
if(c.isEnchantedBy("Blight")) {
|
||||||
|
final ArrayList<Card> 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()
|
}//end executeTapSideEffects()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user