- Added Creakwood Liege.

This commit is contained in:
jendave
2011-08-06 06:02:21 +00:00
parent fc8a567b34
commit f70f8ec3b7
2 changed files with 48 additions and 0 deletions

View File

@@ -1,3 +1,13 @@
Creakwood Liege
2 BG BG BG
Creature Horror
At the beginning of your upkeep, you may put a 1/1 black and green Worm creature token onto the battlefield.
2/2
StaticEffect:Play:Permanents you Control:PTBonus/1/1:Color.green!NotSelf:Other green creatures you control get +1/+1.
StaticEffect:Play:Permanents you Control:PTBonus/1/1:Color.black!NotSelf:Other black creatures you control get +1/+1.
SVar:PlayMain1:TRUE
SVar:Rarity:Rare
Murkfiend Liege Murkfiend Liege
2 UG UG UG 2 UG UG UG
Creature Horror Creature Horror

View File

@@ -75,6 +75,7 @@ public class GameActionUtil {
upkeep_Sleeper_Agent(); upkeep_Sleeper_Agent();
upkeep_Cursed_Land(); upkeep_Cursed_Land();
upkeep_Pillory_of_the_Sleepless(); upkeep_Pillory_of_the_Sleepless();
upkeep_Creakwood_Liege();
upkeep_Bringer_of_the_Green_Dawn(); upkeep_Bringer_of_the_Green_Dawn();
upkeep_Bringer_of_the_Blue_Dawn(); upkeep_Bringer_of_the_Blue_Dawn();
upkeep_Bringer_of_the_White_Dawn(); upkeep_Bringer_of_the_White_Dawn();
@@ -9232,6 +9233,43 @@ public class GameActionUtil {
}// for }// for
}// upkeep_Fledgling_Djinn() }// upkeep_Fledgling_Djinn()
private static void upkeep_Creakwood_Liege() {
final String player = AllZone.Phase.getActivePlayer();
PlayerZone playZone = AllZone.getZone(Constant.Zone.Play, player);
CardList list = new CardList(playZone.getCards());
list = list.getName("Creakwood Liege");
Ability ability;
for(int i = 0; i < list.size(); i++) {
final Card crd = list.get(i);
ability = new Ability(list.get(i), "0") {
@Override
public void resolve() {
String[] choices = {"Yes", "No"};
Object q = null;
if(player.equals(Constant.Player.Human)) {
q = AllZone.Display.getChoiceOptional("Use Creakwood Liege?", choices);
if(q == null || q.equals("No")) return;
if(q.equals("Yes")) {
CardFactoryUtil.makeToken("Worm", "B G 1 1 Worm", crd, "B G", new String[] {
"Creature", "Worm"}, 1, 1, new String[] {""});
}
} else if(player.equals(Constant.Player.Computer)) {
CardFactoryUtil.makeToken("Worm", "B G 1 1 Worm", crd, "B G", new String[] {
"Creature", "Worm"}, 1, 1, new String[] {""});
}
}// resolve()
};// Ability
ability.setStackDescription("Creakwood Liege - " + player
+ " puts a 1/1 Green Black Worm creature token into play.");
AllZone.Stack.add(ability);
}// for
}// upkeep_Creakwood_Liege
private static void upkeep_Murkfiend_Liege() private static void upkeep_Murkfiend_Liege()
{ {
final String player = AllZone.Phase.getActivePlayer(); final String player = AllZone.Phase.getActivePlayer();