add Plague Rats (from original base Alpha)

This commit is contained in:
jendave
2011-08-06 09:57:26 +00:00
parent b662a1ad81
commit a2f8fa38a6
4 changed files with 27 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -3165,6 +3165,7 @@ res/cardsfolder/pit_raptor.txt -text svneol=native#text/plain
res/cardsfolder/pit_scorpion.txt -text svneol=native#text/plain
res/cardsfolder/pixie_queen.txt -text svneol=native#text/plain
res/cardsfolder/plague_beetle.txt -text svneol=native#text/plain
res/cardsfolder/plague_rats.txt -text svneol=native#text/plain
res/cardsfolder/plague_stinger.txt -text svneol=native#text/plain
res/cardsfolder/plague_wind.txt -text svneol=native#text/plain
res/cardsfolder/plagued_rusalka.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,9 @@
Name:Plague Rats
ManaCost:2 B
Types:Creature Rat
Text:Plague Rats's power and toughness are each equal to the number of creatures named Plague Rats on the battlefield.
PT:1/1
SVar:PlayMain1:TRUE
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/plague_rats.jpg
End

View File

@@ -15812,6 +15812,21 @@ public class GameActionUtil {
};
public static Command Plague_Rats = new Command() {
private static final long serialVersionUID = 2333292591304646698L;
public void execute() {
CardList rats =AllZoneUtil.getCardsInPlay("Plague Rats");
for(Card rat:rats) {
rat.setBaseAttack(rats.size());
rat.setBaseDefense(rats.size());
}
}// execute()
};//Plague_Rats
public static Command Squirrel_Mob_Other = new Command() {
private static final long serialVersionUID = 5483285906091676339L;
@@ -20972,6 +20987,7 @@ public class GameActionUtil {
commands.put("Umbra_Stalker", Umbra_Stalker);
commands.put("Primalcrux", Primalcrux);
commands.put("Homarid", Homarid);
commands.put("Plague_Rats", Plague_Rats);
//System.out.println("size of commands: " + commands.size());

View File

@@ -231,6 +231,7 @@ public class StaticEffects
cardToEffectsList.put("Umbra Stalker", new String[] {"Umbra_Stalker"});
cardToEffectsList.put("Primalcrux",new String[] {"Primalcrux"});
cardToEffectsList.put("Homarid", new String[] {"Homarid"});
cardToEffectsList.put("Plague Rats", new String[] {"Plague_Rats"});
}
public HashMap<String, String[]> getCardToEffectsList()