Convert Rampaging Baloths to Trigger.

This commit is contained in:
jendave
2011-08-06 15:54:48 +00:00
parent 8e37704ba5
commit 02e120a995
2 changed files with 4 additions and 27 deletions

View File

@@ -1,10 +1,11 @@
Name:Rampaging Baloths Name:Rampaging Baloths
ManaCost:4 G G ManaCost:4 G G
Types:Creature Beast Types:Creature Beast
Text:Landfall - Whenever a land enters the battlefield under your control, you may put a 4/4 green Beast creature token onto the battlefield. Text:
PT:6/6 PT:6/6
K:Trample K:Trample
K:Landfall T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Land.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigToken | TriggerDescription$ Landfall - Whenever a land enters the battlefield under your control, you may put a 4/4 green Beast creature token onto the battlefield.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Beast | TokenTypes$ Creature,Beast | TokenOwner$ Controller | TokenColors$ Green | TokenPower$ 4 | TokenToughness$ 4
SVar:Rarity:Mythic SVar:Rarity:Mythic
SVar:Picture:http://www.wizards.com/global/images/magic/general/rampaging_baloths.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/rampaging_baloths.jpg
SetInfo:ZEN|Mythic|http://magiccards.info/scans/en/zen/178.jpg SetInfo:ZEN|Mythic|http://magiccards.info/scans/en/zen/178.jpg

View File

@@ -4810,9 +4810,7 @@ public class GameActionUtil {
if (kw.equals("Landfall - Whenever a land enters the battlefield under your control, CARDNAME gets +2/+2 until end of turn.")) if (kw.equals("Landfall - Whenever a land enters the battlefield under your control, CARDNAME gets +2/+2 until end of turn."))
landfall_Generic_P2P2_UntilEOT(c); landfall_Generic_P2P2_UntilEOT(c);
} }
if(c.getName().equals("Emeria Angel")) landfall_Emeria_Angel(c);
if(c.getName().equals("Rampaging Baloths")) landfall_Rampaging_Baloths(c);
else if(c.getName().equals("Emeria Angel")) landfall_Emeria_Angel(c);
else if(c.getName().equals("Ob Nixilis, the Fallen")) landfall_Ob_Nixilis(c); else if(c.getName().equals("Ob Nixilis, the Fallen")) landfall_Ob_Nixilis(c);
else if(c.getName().equals("Ior Ruin Expedition") else if(c.getName().equals("Ior Ruin Expedition")
|| c.getName().equals("Khalni Heart Expedition")) landfall_AddQuestCounter(c); || c.getName().equals("Khalni Heart Expedition")) landfall_AddQuestCounter(c);
@@ -5031,28 +5029,6 @@ public class GameActionUtil {
AllZone.Stack.add(ability); AllZone.Stack.add(ability);
} }
private static void landfall_Rampaging_Baloths(Card c) {
final Card crd = c;
Ability ability = new Ability(c, "0") {
@Override
public void resolve() {
CardFactoryUtil.makeToken("Beast", "G 4 4 Beast", crd.getController(), "G", new String[] {"Creature", "Beast"}, 4,
4, new String[] {""});
}
};
StringBuilder sb = new StringBuilder();
sb.append(c.getName()).append(" - Landfall: ").append(c.getController());
sb.append(" puts a 4/4 green Beast creature token onto the battlefield.");
ability.setStackDescription(sb.toString());
if(c.getController().equals(AllZone.HumanPlayer)) {
if(showLandfallDialog(c)) AllZone.Stack.add(ability);
}
else if(c.getController().equals(AllZone.ComputerPlayer)) AllZone.Stack.add(ability);
}
private static void landfall_Emeria_Angel(Card c) { private static void landfall_Emeria_Angel(Card c) {
final Card crd = c; final Card crd = c;