diff --git a/.gitattributes b/.gitattributes index adfb6582897..36eea7ffe1b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -205,6 +205,7 @@ res/cardsfolder/anthroplasm.txt -text svneol=native#text/plain res/cardsfolder/antler_skulkin.txt -text svneol=native#text/plain res/cardsfolder/anurid_barkripper.txt -text svneol=native#text/plain res/cardsfolder/anurid_murkdiver.txt -text svneol=native#text/plain +res/cardsfolder/anvil_of_bogardan.txt -text svneol=native#text/plain res/cardsfolder/apex_hawks.txt -text svneol=native#text/plain res/cardsfolder/aphetto_alchemist.txt -text svneol=native#text/plain res/cardsfolder/aphetto_grifter.txt -text svneol=native#text/plain diff --git a/res/cardsfolder/anvil_of_bogardan.txt b/res/cardsfolder/anvil_of_bogardan.txt new file mode 100644 index 00000000000..20c5656c385 --- /dev/null +++ b/res/cardsfolder/anvil_of_bogardan.txt @@ -0,0 +1,8 @@ +Name:Anvil of Bogardan +ManaCost:2 +Types:Artifact +Text:Players have no maximum hand size.\r\nAt the beginning of each player's draw step, that player draws an additional card, then discards a card. +K:HandSize = INF All +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/anvil_of_bogardan.jpg +End \ No newline at end of file diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index 3766f22c089..783516948ef 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -182,6 +182,7 @@ public class GameActionUtil { final Player player = AllZone.Phase.getPlayerTurn(); draw_Teferi_Puzzle_Box(player); draw_Howling_Mine(player); + draw_Anvil_of_Bogardan(player); draw_Spiteful_Visions(player); draw_Kami_Crescent_Moon(player); draw_Font_of_Mythos(player); @@ -10946,6 +10947,15 @@ public class GameActionUtil { } }// Howling_Mine() + private static void draw_Anvil_of_Bogardan(Player player) { + CardList list = AllZoneUtil.getCardsInPlay("Anvil of Bogardan"); + + for(int i = 0; i < list.size(); i++){ + player.drawCard(); + player.discard(null); + } + }// Howling_Mine() + private static void draw_Spiteful_Visions(final Player player) { CardList list = AllZoneUtil.getCardsInPlay("Spiteful Visions"); player.drawCards(list.size());