add Primalcrux (from Eventide)

This commit is contained in:
jendave
2011-08-06 08:44:02 +00:00
parent f0d99e8b67
commit db5e4e47da
4 changed files with 30 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -2917,6 +2917,7 @@ res/cardsfolder/primal_clay.txt -text svneol=native#text/plain
res/cardsfolder/primal_frenzy.txt -text svneol=native#text/plain res/cardsfolder/primal_frenzy.txt -text svneol=native#text/plain
res/cardsfolder/primal_plasma.txt -text svneol=native#text/plain res/cardsfolder/primal_plasma.txt -text svneol=native#text/plain
res/cardsfolder/primal_rage.txt -text svneol=native#text/plain res/cardsfolder/primal_rage.txt -text svneol=native#text/plain
res/cardsfolder/primalcrux.txt -text svneol=native#text/plain
res/cardsfolder/primeval_shambler.txt -text svneol=native#text/plain res/cardsfolder/primeval_shambler.txt -text svneol=native#text/plain
res/cardsfolder/primeval_titan.txt -text svneol=native#text/plain res/cardsfolder/primeval_titan.txt -text svneol=native#text/plain
res/cardsfolder/primoc_escapee.txt -text svneol=native#text/plain res/cardsfolder/primoc_escapee.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Primalcrux
ManaCost:G G G G G G
Types:Creature Elemental
Text:Chroma <20> Primalcrux's power and toughness are each equal to the number of green mana symbols in the mana costs of permanents you control.
PT:1/1
K:Trample
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/primalcrux.jpg
End

View File

@@ -11782,6 +11782,24 @@ public class GameActionUtil {
}// execute() }// execute()
}; };
/**
* stores the Command
*/
public static Command Primalcrux = new Command() {
private static final long serialVersionUID = -5760985115546543522L;
public void execute() {
// get all creatures
CardList cards = AllZoneUtil.getCardsInPlay("Primalcrux");
for(Card c:cards) {
String player = c.getController();
int pt = CardFactoryUtil.getNumberOfManaSymbolsControlledByColor("B", player);
c.setBaseAttack(pt);
c.setBaseDefense(pt);
}
}// execute()
};
public static Command Absolute_Grace = new Command() { public static Command Absolute_Grace = new Command() {
private static final long serialVersionUID = -6904191523315339355L; private static final long serialVersionUID = -6904191523315339355L;
CardList gloriousAnthemList = new CardList(); CardList gloriousAnthemList = new CardList();
@@ -20832,6 +20850,7 @@ public class GameActionUtil {
commands.put("Angry_Mob", Angry_Mob); commands.put("Angry_Mob", Angry_Mob);
commands.put("Maraxus_of_Keld", Maraxus_of_Keld); commands.put("Maraxus_of_Keld", Maraxus_of_Keld);
commands.put("Umbra_Stalker", Umbra_Stalker); commands.put("Umbra_Stalker", Umbra_Stalker);
commands.put("Primalcrux", Primalcrux);
//System.out.println("size of commands: " + commands.size()); //System.out.println("size of commands: " + commands.size());

View File

@@ -233,6 +233,7 @@ public class StaticEffects
cardToEffectsList.put("Angry Mob", new String[] {"Angry_Mob"}); cardToEffectsList.put("Angry Mob", new String[] {"Angry_Mob"});
cardToEffectsList.put("Maraxus of Keld", new String[] {"Maraxus_of_Keld"}); cardToEffectsList.put("Maraxus of Keld", new String[] {"Maraxus_of_Keld"});
cardToEffectsList.put("Umbra Stalker", new String[] {"Umbra_Stalker"}); cardToEffectsList.put("Umbra Stalker", new String[] {"Umbra_Stalker"});
cardToEffectsList.put("Primalcrux",new String[] {"Primalcrux"});
} }
public HashMap<String, String[]> getCardToEffectsList() public HashMap<String, String[]> getCardToEffectsList()