- Converted Horn of Greed to script.

This commit is contained in:
jendave
2011-08-06 19:54:53 +00:00
parent abeec18490
commit f9358894a7
2 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,9 @@
Name:Horn of Greed
ManaCost:3
Types:Artifact
Text:When a player plays a land, that player draws a card.
Text:no text
T:Mode$ LandPlayed | ValidCard$ Land | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ Whenever a player plays a land, that player draws a card.
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ TriggeredCardController | NumCards$ 1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/horn_of_greed.jpg
SetInfo:STH|Rare|http://magiccards.info/scans/en/sh/129.jpg

View File

@@ -4344,6 +4344,7 @@ public class CardFactoryUtil {
}
}
/*
CardList greedy = AllZoneUtil.getCardsInPlay("Horn of Greed");
if (!greedy.isEmpty()){
for(final Card g : greedy){
@@ -4359,7 +4360,7 @@ public class CardFactoryUtil {
AllZone.Stack.add(ability);
}
}
}*/
AllZone.GameAction.checkWheneverKeyword(c, "PlayLand", null);
}