mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
add Plague Rats (from original base Alpha)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
9
res/cardsfolder/plague_rats.txt
Normal file
9
res/cardsfolder/plague_rats.txt
Normal 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
|
||||
@@ -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());
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user