From 0c448495ca33b6f16c910d9b579d35fdbaed29b7 Mon Sep 17 00:00:00 2001 From: jendave Date: Sat, 6 Aug 2011 05:06:56 +0000 Subject: [PATCH] Added Kami of the Crescent Moon. --- res/card-pictures.txt | 1 + res/cards.txt | 6 ++++++ src/forge/GameActionUtil.java | 14 ++++++++++++++ 3 files changed, 21 insertions(+) diff --git a/res/card-pictures.txt b/res/card-pictures.txt index 11afb23dbc3..51041fc3eca 100644 --- a/res/card-pictures.txt +++ b/res/card-pictures.txt @@ -38,6 +38,7 @@ snow_covered_mountain.jpg http://www.wizards.com/global/images/magic/gene snow_covered_mountain1.jpg http://www.wizards.com/global/images/magic/general/snow_covered_mountain.jpg snow_covered_mountain2.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg snow_covered_mountain3.jpg http://www.magickartenmarkt.de/img/cards/Ice_Age/snow_covered_mountain.jpg +kami_of_the_crescent_moon.jpg http://www.wizards.com/global/images/magic/general/kami_of_the_crescent_moon.jpg three_visits.jpg http://www.wizards.com/global/images/magic/general/three_visits.jpg bojuka_bog.jpg http://www.wizards.com/global/images/magic/general/bojuka_bog.jpg thran_quarry.jpg http://www.wizards.com/global/images/magic/general/thran_quarry.jpg diff --git a/res/cards.txt b/res/cards.txt index 76f4f90260f..ab15d18f74d 100644 --- a/res/cards.txt +++ b/res/cards.txt @@ -1,3 +1,9 @@ +Kami of the Crescent Moon +U U +Legndray Creature Spirit +At the beginning of each player's draw step, that player draws an additional card. +1/3 + Three Visits 1 G Sorcery diff --git a/src/forge/GameActionUtil.java b/src/forge/GameActionUtil.java index fcd5e72bf17..b07dca8edb4 100644 --- a/src/forge/GameActionUtil.java +++ b/src/forge/GameActionUtil.java @@ -124,6 +124,7 @@ public class GameActionUtil { upkeep_Howling_Mine(); // keep this one even laster, since it would // cause black vise to do an extra point of // damage if black vise was in play + upkeep_Kami_Crescent_Moon(); upkeep_Font_of_Mythos(); upkeep_Teferi_Puzzle_Box(); upkeep_Overbeing_of_Myth(); @@ -8585,6 +8586,19 @@ public class GameActionUtil { } } }// upkeep_Howling_Mine() + + private static void upkeep_Kami_Crescent_Moon() { + final String player = AllZone.Phase.getActivePlayer(); + + CardList list = new CardList(); + list.addAll(AllZone.Human_Play.getCards()); + list.addAll(AllZone.Computer_Play.getCards()); + list = list.getName("Kami of the Crescent Moon"); + + for(int i = 0; i < list.size(); i++){ + AllZone.GameAction.drawCard(player); + } + }// upkeep_Kami_Crescent_Moon() private static void upkeep_Font_of_Mythos() { final String player = AllZone.Phase.getActivePlayer();