mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
convert Phyrexian Arena to triggers
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
Name:Phyrexian Arena
|
Name:Phyrexian Arena
|
||||||
ManaCost:1 B B
|
ManaCost:1 B B
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
Text:At the beginning of your upkeep, you draw a card and you lose 1 life.
|
Text:no text
|
||||||
|
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of your upkeep, you draw a card and you lose 1 life.
|
||||||
|
SVar:TrigDraw:AB$Draw | Cost$ 0 | Defined$ You | NumCards$ 1 | SubAbility$ SVar=DBLoseLife
|
||||||
|
SVar:DBLoseLife:DB$LoseLife | Defined$ You | LifeAmount$ 1
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_arena.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/phyrexian_arena.jpg
|
||||||
SetInfo:8ED|Rare|http://magiccards.info/scans/en/8e/152.jpg
|
SetInfo:8ED|Rare|http://magiccards.info/scans/en/8e/152.jpg
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ public class GameActionUtil {
|
|||||||
upkeep_Drop_of_Honey();
|
upkeep_Drop_of_Honey();
|
||||||
upkeep_Planar_Collapse();
|
upkeep_Planar_Collapse();
|
||||||
upkeep_Demonic_Hordes();
|
upkeep_Demonic_Hordes();
|
||||||
upkeep_Phyrexian_Arena();
|
|
||||||
upkeep_Fallen_Empires_Storage_Lands();
|
upkeep_Fallen_Empires_Storage_Lands();
|
||||||
upkeep_Carnophage();
|
upkeep_Carnophage();
|
||||||
upkeep_Sangrophage();
|
upkeep_Sangrophage();
|
||||||
@@ -54,7 +53,6 @@ public class GameActionUtil {
|
|||||||
upkeep_Curse_of_Chains();
|
upkeep_Curse_of_Chains();
|
||||||
upkeep_Greener_Pastures();
|
upkeep_Greener_Pastures();
|
||||||
upkeep_Squee();
|
upkeep_Squee();
|
||||||
//upkeep_Sporesower_Thallid();
|
|
||||||
upkeep_Dragonmaster_Outcast();
|
upkeep_Dragonmaster_Outcast();
|
||||||
upkeep_Scute_Mob();
|
upkeep_Scute_Mob();
|
||||||
upkeep_Lichenthrope();
|
upkeep_Lichenthrope();
|
||||||
@@ -4897,37 +4895,6 @@ public class GameActionUtil {
|
|||||||
} // if creatures > 0
|
} // if creatures > 0
|
||||||
}//Scute Mob
|
}//Scute Mob
|
||||||
|
|
||||||
/*
|
|
||||||
private static void upkeep_Sporesower_Thallid() {
|
|
||||||
final Player player = AllZone.Phase.getPlayerTurn();
|
|
||||||
PlayerZone playZone = AllZone.getZone(Constant.Zone.Battlefield, player);
|
|
||||||
|
|
||||||
CardList list = new CardList(playZone.getCards());
|
|
||||||
list = list.getName("Sporesower Thallid");
|
|
||||||
|
|
||||||
if(list.size() > 0) {
|
|
||||||
for(int i = 0; i < list.size(); i++) {
|
|
||||||
|
|
||||||
Ability ability = new Ability(list.get(i), "0") {
|
|
||||||
@Override
|
|
||||||
public void resolve() {
|
|
||||||
PlayerZone play = AllZone.getZone(Constant.Zone.Battlefield, player);
|
|
||||||
|
|
||||||
CardList fungi = new CardList(play.getCards());
|
|
||||||
fungi = fungi.getType("Fungus");
|
|
||||||
|
|
||||||
for(int j = 0; j < fungi.size(); j++) {
|
|
||||||
Card c = fungi.get(j);
|
|
||||||
c.addCounter(Counters.SPORE, 1);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};// Ability
|
|
||||||
ability.setStackDescription("Sporesower - put a spore counter on each fungus you control.");
|
|
||||||
AllZone.Stack.add(ability);
|
|
||||||
} // for
|
|
||||||
} // if creatures > 0
|
|
||||||
}*/
|
|
||||||
|
|
||||||
private static void upkeep_Lichenthrope() {
|
private static void upkeep_Lichenthrope() {
|
||||||
final Player player = AllZone.Phase.getPlayerTurn();
|
final Player player = AllZone.Phase.getPlayerTurn();
|
||||||
PlayerZone playZone = AllZone.getZone(Constant.Zone.Battlefield, player);
|
PlayerZone playZone = AllZone.getZone(Constant.Zone.Battlefield, player);
|
||||||
@@ -4959,7 +4926,7 @@ public class GameActionUtil {
|
|||||||
AllZone.Stack.add(ability);
|
AllZone.Stack.add(ability);
|
||||||
} // for
|
} // for
|
||||||
} // if creatures > 0
|
} // if creatures > 0
|
||||||
}//Lichenthrope
|
}//upkeep_Lichenthrope
|
||||||
|
|
||||||
|
|
||||||
private static void upkeep_Heartmender() {
|
private static void upkeep_Heartmender() {
|
||||||
@@ -4998,7 +4965,7 @@ public class GameActionUtil {
|
|||||||
AllZone.Stack.add(ability);
|
AllZone.Stack.add(ability);
|
||||||
} // for
|
} // for
|
||||||
} // if creatures > 0
|
} // if creatures > 0
|
||||||
}//heartmender
|
}//upkeep_Heartmender
|
||||||
|
|
||||||
private static void upkeep_Nath() {
|
private static void upkeep_Nath() {
|
||||||
final Player player = AllZone.Phase.getPlayerTurn();
|
final Player player = AllZone.Phase.getPlayerTurn();
|
||||||
@@ -7610,24 +7577,6 @@ public class GameActionUtil {
|
|||||||
}
|
}
|
||||||
}// upkeep_Carnophage
|
}// upkeep_Carnophage
|
||||||
|
|
||||||
private static void upkeep_Phyrexian_Arena() {
|
|
||||||
final Player player = AllZone.Phase.getPlayerTurn();
|
|
||||||
PlayerZone play = AllZone.getZone(Constant.Zone.Battlefield, player);
|
|
||||||
|
|
||||||
CardList list = new CardList();
|
|
||||||
list.addAll(play.getCards());
|
|
||||||
|
|
||||||
list = list.getName("Phyrexian Arena");
|
|
||||||
|
|
||||||
for(int i = 0; i < list.size(); i++) {
|
|
||||||
final Card F_card = list.get(i);
|
|
||||||
player.drawCard();
|
|
||||||
player.loseLife(1, F_card);
|
|
||||||
|
|
||||||
AllZone.GameAction.checkStateEffects();
|
|
||||||
}
|
|
||||||
}// upkeep_Phyrexian_Arena
|
|
||||||
|
|
||||||
private static void upkeep_Fallen_Empires_Storage_Lands() {
|
private static void upkeep_Fallen_Empires_Storage_Lands() {
|
||||||
final Player player = AllZone.Phase.getPlayerTurn();
|
final Player player = AllZone.Phase.getPlayerTurn();
|
||||||
|
|
||||||
@@ -7640,7 +7589,7 @@ public class GameActionUtil {
|
|||||||
for(Card land:all) {
|
for(Card land:all) {
|
||||||
if(land.isTapped()) land.addCounter(Counters.STORAGE, 1);
|
if(land.isTapped()) land.addCounter(Counters.STORAGE, 1);
|
||||||
}
|
}
|
||||||
}// upkeep_Phyrexian_Arena
|
} //upkeep_Fallen_Empires_Storage_Lands
|
||||||
|
|
||||||
|
|
||||||
private static void upkeep_Seizan_Perverter_of_Truth() {
|
private static void upkeep_Seizan_Perverter_of_Truth() {
|
||||||
|
|||||||
Reference in New Issue
Block a user