add Umbra Stalker (from Eventide)

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

1
.gitattributes vendored
View File

@@ -4129,6 +4129,7 @@ res/cardsfolder/uktabi_orangutan.txt -text svneol=native#text/plain
res/cardsfolder/ulamog_the_infinite_gyre.txt -text svneol=native#text/plain
res/cardsfolder/ulamogs_crusher.txt -text svneol=native#text/plain
res/cardsfolder/umara_raptor.txt -text svneol=native#text/plain
res/cardsfolder/umbra_stalker.txt -text svneol=native#text/plain
res/cardsfolder/umbral_mantle.txt -text svneol=native#text/plain
res/cardsfolder/umezawas_jitte.txt -text svneol=native#text/plain
res/cardsfolder/unburden.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,8 @@
Name:Umbra Stalker
ManaCost:4 B B B
Types:Creature Elemental
Text:Chroma <20> Umbra Stalker's power and toughness are each equal to the number of black mana symbols in the mana costs of cards in your graveyard.
PT:1/1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/umbra_stalker.jpg
End

View File

@@ -11762,6 +11762,25 @@ public class GameActionUtil {
}
}// execute()
};
/**
* stores the Command
*/
public static Command Umbra_Stalker = new Command() {
private static final long serialVersionUID = -3500747003228938898L;
public void execute() {
// get all creatures
CardList cards = AllZoneUtil.getCardsInPlay("Umbra Stalker");
for(Card c:cards) {
String player = c.getController();
CardList grave = AllZoneUtil.getPlayerGraveyard(player);
int pt = CardFactoryUtil.getNumberOfManaSymbolsByColor("B", grave);
c.setBaseAttack(pt);
c.setBaseDefense(pt);
}
}// execute()
};
public static Command Absolute_Grace = new Command() {
private static final long serialVersionUID = -6904191523315339355L;
@@ -20812,6 +20831,7 @@ public class GameActionUtil {
commands.put("Arena_of_the_Ancients", Arena_of_the_Ancients);
commands.put("Angry_Mob", Angry_Mob);
commands.put("Maraxus_of_Keld", Maraxus_of_Keld);
commands.put("Umbra_Stalker", Umbra_Stalker);
//System.out.println("size of commands: " + commands.size());

View File

@@ -232,6 +232,7 @@ public class StaticEffects
cardToEffectsList.put("Arena of the Ancients", new String[] {"Arena_of_the_Ancients"});
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"});
}
public HashMap<String, String[]> getCardToEffectsList()