mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
convert Time of Heroes to stPumpAll keyword
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
Name:Time of Heroes
|
Name:Time of Heroes
|
||||||
ManaCost:1 W
|
ManaCost:1 W
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
Text:Each creature you control with a level counter on it gets +2/+2.
|
Text:no text
|
||||||
|
K:stPumpAll:Creature.countersGE1LEVEL+YouCtrl:2/2:No Condition:Each creature you control with a level counter on it gets +2/+2.
|
||||||
SVar:Rarity:Uncommon
|
SVar:Rarity:Uncommon
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/time_of_heroes.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/time_of_heroes.jpg
|
||||||
SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/49.jpg
|
SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/49.jpg
|
||||||
|
|||||||
@@ -15767,48 +15767,6 @@ public class GameActionUtil {
|
|||||||
}; // Brawn
|
}; // Brawn
|
||||||
**/
|
**/
|
||||||
|
|
||||||
public static Command Time_of_Heroes = new Command() {
|
|
||||||
private static final long serialVersionUID = 2490232366851007733L;
|
|
||||||
CardList gloriousAnthemList = new CardList();
|
|
||||||
|
|
||||||
public void execute() {
|
|
||||||
CardList list = gloriousAnthemList;
|
|
||||||
Card c;
|
|
||||||
// reset all cards in list - aka "old" cards
|
|
||||||
for(int i = 0; i < list.size(); i++) {
|
|
||||||
c = list.get(i);
|
|
||||||
c.addSemiPermanentAttackBoost(-2);
|
|
||||||
c.addSemiPermanentDefenseBoost(-2);
|
|
||||||
}
|
|
||||||
|
|
||||||
// add +1/+1 to cards
|
|
||||||
list.clear();
|
|
||||||
PlayerZone[] zone = getZone("Time of Heroes");
|
|
||||||
|
|
||||||
// for each zone found add +1/+1 to each card
|
|
||||||
for(int outer = 0; outer < zone.length; outer++) {
|
|
||||||
CardList creature = new CardList(
|
|
||||||
zone[outer].getCards());
|
|
||||||
creature = creature.filter(new CardListFilter()
|
|
||||||
{
|
|
||||||
public boolean addCard(Card crd)
|
|
||||||
{
|
|
||||||
return crd.getCounters(Counters.LEVEL) > 0;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
for(int i = 0; i < creature.size(); i++) {
|
|
||||||
c = creature.get(i);
|
|
||||||
c.addSemiPermanentAttackBoost(2);
|
|
||||||
c.addSemiPermanentDefenseBoost(2);
|
|
||||||
|
|
||||||
gloriousAnthemList.add(c);
|
|
||||||
}// for inner
|
|
||||||
}// for outer
|
|
||||||
}// execute()
|
|
||||||
}; // Time of Heroes
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
public static Command Eldrazi_Monument = new Command() {
|
public static Command Eldrazi_Monument = new Command() {
|
||||||
|
|
||||||
@@ -16257,7 +16215,6 @@ public class GameActionUtil {
|
|||||||
commands.put("Terravore", Terravore);
|
commands.put("Terravore", Terravore);
|
||||||
commands.put("Tethered_Griffin", Tethered_Griffin);
|
commands.put("Tethered_Griffin", Tethered_Griffin);
|
||||||
commands.put("That_Which_Was_Taken", That_Which_Was_Taken);
|
commands.put("That_Which_Was_Taken", That_Which_Was_Taken);
|
||||||
commands.put("Time_of_Heroes", Time_of_Heroes);
|
|
||||||
commands.put("Transcendent_Master", Transcendent_Master);
|
commands.put("Transcendent_Master", Transcendent_Master);
|
||||||
|
|
||||||
commands.put("Umbra_Stalker", Umbra_Stalker);
|
commands.put("Umbra_Stalker", Umbra_Stalker);
|
||||||
|
|||||||
@@ -121,7 +121,6 @@ public class StaticEffects
|
|||||||
cardToEffectsList.put("Tethered Griffin", new String[] {"Tethered_Griffin"});
|
cardToEffectsList.put("Tethered Griffin", new String[] {"Tethered_Griffin"});
|
||||||
cardToEffectsList.put("That Which Was Taken", new String[] {"That_Which_Was_Taken"});
|
cardToEffectsList.put("That Which Was Taken", new String[] {"That_Which_Was_Taken"});
|
||||||
cardToEffectsList.put("The Tabernacle at Pendrell Vale", new String[] {"Tabernacle"});
|
cardToEffectsList.put("The Tabernacle at Pendrell Vale", new String[] {"Tabernacle"});
|
||||||
cardToEffectsList.put("Time of Heroes", new String[] {"Time_of_Heroes"});
|
|
||||||
cardToEffectsList.put("Transcendent Master", new String[]{"Transcendent_Master"});
|
cardToEffectsList.put("Transcendent Master", new String[]{"Transcendent_Master"});
|
||||||
|
|
||||||
cardToEffectsList.put("Umbra Stalker", new String[] {"Umbra_Stalker"});
|
cardToEffectsList.put("Umbra Stalker", new String[] {"Umbra_Stalker"});
|
||||||
|
|||||||
Reference in New Issue
Block a user