- Added Epic Struggle, Reinforcements.

This commit is contained in:
jendave
2011-08-06 03:57:23 +00:00
parent da6715ac7f
commit f466c1d36c
3 changed files with 43 additions and 0 deletions

View File

@@ -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
reinforcements.jpg http://www.wizards.com/global/images/magic/general/reinforcements.jpg
rampant_growth.jpg http://www.wizards.com/global/images/magic/general/rampant_growth.jpg rampant_growth.jpg http://www.wizards.com/global/images/magic/general/rampant_growth.jpg
kjeldoran_outpost.jpg http://www.wizards.com/global/images/magic/general/kjeldoran_outpost.jpg kjeldoran_outpost.jpg http://www.wizards.com/global/images/magic/general/kjeldoran_outpost.jpg
kor_firewalker.jpg http://www.wizards.com/global/images/magic/general/kor_firewalker.jpg kor_firewalker.jpg http://www.wizards.com/global/images/magic/general/kor_firewalker.jpg

View File

@@ -1,3 +1,13 @@
Epic Struggle
2 G G
Enchantment
At the beginning of your upkeep, if you control twenty or more creatures, you win the game.
Reinforcements
W
Instant
Put up to three target creature cards from your graveyard on top of your library.
Funeral Charm Funeral Charm
B B
Instant Instant

View File

@@ -68,6 +68,7 @@ public class GameActionUtil {
upkeep_Bitterblossom(); upkeep_Bitterblossom();
upkeep_Goblin_Assault(); upkeep_Goblin_Assault();
upkeep_Battle_of_Wits(); upkeep_Battle_of_Wits();
upkeep_Epic_Struggle();
upkeep_Helix_Pinnacle(); upkeep_Helix_Pinnacle();
upkeep_Barren_Glory(); upkeep_Barren_Glory();
upkeep_Felidar_Sovereign(); upkeep_Felidar_Sovereign();
@@ -6083,6 +6084,37 @@ public class GameActionUtil {
}// if }// if
}// upkeep_Battle_of_Wits }// upkeep_Battle_of_Wits
private static void upkeep_Epic_Struggle() {
final String player = AllZone.Phase.getActivePlayer();
PlayerZone playZone = AllZone.getZone(Constant.Zone.Play, player);
CardList list = new CardList(playZone.getCards());
list = list.getName("Epic Struggle");
CardList creats = new CardList(playZone.getCards());
creats = creats.getType("Creature");
if(0 < list.size() && creats.size() >= 20) {
Ability ability = new Ability(list.get(0), "0") {
@Override
public void resolve() {
String opponent = AllZone.GameAction.getOpponent(player);
PlayerLife life = AllZone.GameAction.getPlayerLife(opponent);
int gameNumber = 0;
if (Constant.Runtime.WinLose.getWin()==1)
gameNumber = 1;
Constant.Runtime.WinLose.setWinMethod(gameNumber,"Epic Struggle");
life.setLife(0);
}
};// Ability
ability.setStackDescription("Epic Struggle - " + player + " wins the game");
AllZone.Stack.add(ability);
}// if
}// upkeep_Epic_Struggle
private static void upkeep_Helix_Pinnacle() { private static void upkeep_Helix_Pinnacle() {
final String player = AllZone.Phase.getActivePlayer(); final String player = AllZone.Phase.getActivePlayer();
PlayerZone playZone = AllZone.getZone(Constant.Zone.Play, player); PlayerZone playZone = AllZone.getZone(Constant.Zone.Play, player);