mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
- Converted Horn of Greed to script.
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
Name:Horn of Greed
|
Name:Horn of Greed
|
||||||
ManaCost:3
|
ManaCost:3
|
||||||
Types:Artifact
|
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:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/horn_of_greed.jpg
|
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
|
SetInfo:STH|Rare|http://magiccards.info/scans/en/sh/129.jpg
|
||||||
|
|||||||
@@ -4344,6 +4344,7 @@ public class CardFactoryUtil {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
CardList greedy = AllZoneUtil.getCardsInPlay("Horn of Greed");
|
CardList greedy = AllZoneUtil.getCardsInPlay("Horn of Greed");
|
||||||
if (!greedy.isEmpty()){
|
if (!greedy.isEmpty()){
|
||||||
for(final Card g : greedy){
|
for(final Card g : greedy){
|
||||||
@@ -4359,7 +4360,7 @@ public class CardFactoryUtil {
|
|||||||
|
|
||||||
AllZone.Stack.add(ability);
|
AllZone.Stack.add(ability);
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
AllZone.GameAction.checkWheneverKeyword(c, "PlayLand", null);
|
AllZone.GameAction.checkWheneverKeyword(c, "PlayLand", null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user