mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
add Primalcrux (from Eventide)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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_plasma.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_titan.txt -text svneol=native#text/plain
|
||||
res/cardsfolder/primoc_escapee.txt -text svneol=native#text/plain
|
||||
|
||||
9
res/cardsfolder/primalcrux.txt
Normal file
9
res/cardsfolder/primalcrux.txt
Normal 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
|
||||
@@ -11782,6 +11782,24 @@ public class GameActionUtil {
|
||||
}// 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() {
|
||||
private static final long serialVersionUID = -6904191523315339355L;
|
||||
CardList gloriousAnthemList = new CardList();
|
||||
@@ -20832,6 +20850,7 @@ public class GameActionUtil {
|
||||
commands.put("Angry_Mob", Angry_Mob);
|
||||
commands.put("Maraxus_of_Keld", Maraxus_of_Keld);
|
||||
commands.put("Umbra_Stalker", Umbra_Stalker);
|
||||
commands.put("Primalcrux", Primalcrux);
|
||||
|
||||
//System.out.println("size of commands: " + commands.size());
|
||||
|
||||
|
||||
@@ -233,6 +233,7 @@ public class StaticEffects
|
||||
cardToEffectsList.put("Angry Mob", new String[] {"Angry_Mob"});
|
||||
cardToEffectsList.put("Maraxus of Keld", new String[] {"Maraxus_of_Keld"});
|
||||
cardToEffectsList.put("Umbra Stalker", new String[] {"Umbra_Stalker"});
|
||||
cardToEffectsList.put("Primalcrux",new String[] {"Primalcrux"});
|
||||
}
|
||||
|
||||
public HashMap<String, String[]> getCardToEffectsList()
|
||||
|
||||
Reference in New Issue
Block a user