mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Added Epic Struggle, Reinforcements.
This commit is contained in:
@@ -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_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
|
||||
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
|
||||
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
|
||||
|
||||
@@ -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
|
||||
B
|
||||
Instant
|
||||
|
||||
@@ -68,6 +68,7 @@ public class GameActionUtil {
|
||||
upkeep_Bitterblossom();
|
||||
upkeep_Goblin_Assault();
|
||||
upkeep_Battle_of_Wits();
|
||||
upkeep_Epic_Struggle();
|
||||
upkeep_Helix_Pinnacle();
|
||||
upkeep_Barren_Glory();
|
||||
upkeep_Felidar_Sovereign();
|
||||
@@ -6083,6 +6084,37 @@ public class GameActionUtil {
|
||||
}// if
|
||||
}// 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() {
|
||||
final String player = AllZone.Phase.getActivePlayer();
|
||||
PlayerZone playZone = AllZone.getZone(Constant.Zone.Play, player);
|
||||
|
||||
Reference in New Issue
Block a user