convert Might Sliver and Bonesplitter Sliver to stPumpAll

This commit is contained in:
jendave
2011-08-06 12:25:27 +00:00
parent c3a4e77454
commit 0daf55db3f
4 changed files with 4 additions and 82 deletions

View File

@@ -1,8 +1,9 @@
Name:Bonesplitter Sliver Name:Bonesplitter Sliver
ManaCost:3 R ManaCost:3 R
Types:Creature Sliver Types:Creature Sliver
Text:All Sliver creatures get +2/+0. Text:no text
PT:2/2 PT:2/2
K:stPumpAll:Creature.Sliver:2/0:no Condition:All Sliver creatures get +2/+0.
SVar:PlayMain1:TRUE SVar:PlayMain1:TRUE
SVar:Rarity:Common SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/bonesplitter_sliver.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/bonesplitter_sliver.jpg

View File

@@ -1,8 +1,9 @@
Name:Might Sliver Name:Might Sliver
ManaCost:4 G ManaCost:4 G
Types:Creature Sliver Types:Creature Sliver
Text:All Sliver creatures get +2/+2. Text:no text
PT:2/2 PT:2/2
K:stPumpAll:Creature.Sliver:2/2:no Condition:All Sliver creatures get +2/+2.
SVar:PlayMain1:TRUE SVar:PlayMain1:TRUE
SVar:Rarity:Uncommon SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/might_sliver.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/might_sliver.jpg

View File

@@ -13917,81 +13917,6 @@ public class GameActionUtil {
}// for outer }// for outer
}// execute() }// execute()
}; };
public static Command Bonesplitter_Sliver = new Command() {
private static final long serialVersionUID = -3463429634177142721L;
CardList gloriousAnthemList = new CardList();
public void execute() {
int pumpAttack = 2;
int pumpDefense = 0;
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(-pumpAttack);
c.addSemiPermanentDefenseBoost(-pumpDefense);
}
// add +1/+1 to cards
list.clear();
PlayerZone[] zone = getZone("Bonesplitter Sliver");
// for each zone found add +1/+1 to each card
for(int outer = 0; outer < zone.length; outer++) {
CardList creature = AllZoneUtil.getTypeInPlay("Sliver");
for(int i = 0; i < creature.size(); i++) {
c = creature.get(i);
c.addSemiPermanentAttackBoost(pumpAttack);
c.addSemiPermanentDefenseBoost(pumpDefense);
gloriousAnthemList.add(c);
}// for inner
}// for outer
}// execute()
}; // Muscles_Sliver
public static Command Might_Sliver = new Command() {
private static final long serialVersionUID = 1618762378975019557L;
CardList gloriousAnthemList = new CardList();
public void execute() {
int pumpAttack = 2;
int pumpDefense = 2;
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(-pumpAttack);
c.addSemiPermanentDefenseBoost(-pumpDefense);
}
// add +1/+1 to cards
list.clear();
PlayerZone[] zone = getZone("Might Sliver");
// for each zone found add +1/+1 to each card
for(int outer = 0; outer < zone.length; outer++) {
CardList creature = AllZoneUtil.getTypeInPlay("Sliver");
for(int i = 0; i < creature.size(); i++) {
c = creature.get(i);
c.addSemiPermanentAttackBoost(pumpAttack);
c.addSemiPermanentDefenseBoost(pumpDefense);
gloriousAnthemList.add(c);
}// for inner
}// for outer
}// execute()
}; // Muscles_Sliver
public static Command Plated_Sliver = new Command() { public static Command Plated_Sliver = new Command() {
private static final long serialVersionUID = 7670935990022098909L; private static final long serialVersionUID = 7670935990022098909L;
@@ -20422,9 +20347,6 @@ public class GameActionUtil {
commands.put("Sliver_Legion", Sliver_Legion); commands.put("Sliver_Legion", Sliver_Legion);
commands.put("Bonesplitter_Sliver", Bonesplitter_Sliver);
commands.put("Might_Sliver", Might_Sliver);
commands.put("Watcher_Sliver", Watcher_Sliver); commands.put("Watcher_Sliver", Watcher_Sliver);
commands.put("Plated_Sliver", Plated_Sliver); commands.put("Plated_Sliver", Plated_Sliver);
commands.put("Crystalline_Sliver", Crystalline_Sliver); commands.put("Crystalline_Sliver", Crystalline_Sliver);

View File

@@ -178,8 +178,6 @@ public class StaticEffects
cardToEffectsList.put("Wren's Run Packmaster", new String[] {"Wrens_Run_Packmaster"}); cardToEffectsList.put("Wren's Run Packmaster", new String[] {"Wrens_Run_Packmaster"});
cardToEffectsList.put("Sliver Legion", new String[] {"Sliver_Legion"}); cardToEffectsList.put("Sliver Legion", new String[] {"Sliver_Legion"});
cardToEffectsList.put("Bonesplitter Sliver", new String[] {"Bonesplitter_Sliver"});
cardToEffectsList.put("Might Sliver", new String[] {"Might_Sliver"});
cardToEffectsList.put("Watcher Sliver", new String[] {"Watcher_Sliver"}); cardToEffectsList.put("Watcher Sliver", new String[] {"Watcher_Sliver"});
cardToEffectsList.put("Plated Sliver", new String[] {"Plated_Sliver"}); cardToEffectsList.put("Plated Sliver", new String[] {"Plated_Sliver"});
cardToEffectsList.put("Virulent Sliver", new String[] {"Virulent_Sliver"}); cardToEffectsList.put("Virulent Sliver", new String[] {"Virulent_Sliver"});