diff --git a/.gitattributes b/.gitattributes index 6b94467cd91..11b893255a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -185,6 +185,7 @@ res/cardsfolder/a/alluring_siren.txt svneol=native#text/plain res/cardsfolder/a/alms.txt -text res/cardsfolder/a/alpha_kavu.txt svneol=native#text/plain res/cardsfolder/a/alpha_myr.txt svneol=native#text/plain +res/cardsfolder/a/alpha_status.txt -text res/cardsfolder/a/alpha_tyrranax.txt svneol=native#text/plain res/cardsfolder/a/altar_golem.txt svneol=native#text/plain res/cardsfolder/a/altar_of_bone.txt svneol=native#text/plain diff --git a/res/cardsfolder/a/alpha_status.txt b/res/cardsfolder/a/alpha_status.txt new file mode 100644 index 00000000000..5b5afc5dc9f --- /dev/null +++ b/res/cardsfolder/a/alpha_status.txt @@ -0,0 +1,11 @@ +Name:Alpha Status +ManaCost:2 G +Types:Enchantment Aura +Text:Enchant Creature \r\nEnchanted creatures gets +2/+2 for each other creature on the battlefield that shares a creature type with it. +A:SP$Attach | Cost$ 2 G | ValidTgts$ Creature | AILogic$ Pump +SVar:Rarity:Uncommon +SVar:Picture:http://www.wizards.com/global/images/magic/general/alpha_status.jpg +SVar:RemRandomDeck:True +Oracle:Enchant creature\nEnchanted creature gets +2/+2 for each other creature on the battlefield that shares a creature type with it. +SetInfo:SCG|Uncommon|http://magiccards.info/scans/en/sc/110.jpg +End \ No newline at end of file diff --git a/src/main/java/forge/GameActionUtil.java b/src/main/java/forge/GameActionUtil.java index aeed9218765..049a9d202fa 100644 --- a/src/main/java/forge/GameActionUtil.java +++ b/src/main/java/forge/GameActionUtil.java @@ -1734,6 +1734,57 @@ public final class GameActionUtil { } // for outer } // execute }; // Coat of Arms + + private static Command Alpha_Status = new Command() { + private static final long serialVersionUID = -3213793711304934358L; + + CardList previouslyPumped = new CardList(); + ArrayList previouslyPumpedValue = new ArrayList(); + + @Override + public void execute() { + CardList alphaStatuses = AllZone.getHumanPlayer().getCardsIn(Zone.Battlefield).getName("Alpha Status"); + alphaStatuses.addAll(AllZone.getComputerPlayer().getCardsIn(Zone.Battlefield).getName("Alpha Status")); + + CardList allCreatures = AllZone.getHumanPlayer().getCardsIn(Zone.Battlefield).getType("Creature"); + allCreatures.addAll(AllZone.getComputerPlayer().getCardsIn(Zone.Battlefield).getType("Creature")); + + for(int i=0;i