From 04a950c9110f742097f73e1a443a5c3e7915c7c8 Mon Sep 17 00:00:00 2001 From: "wagic.the.homebrew@gmail.com" Date: Sun, 15 Nov 2009 10:37:33 +0000 Subject: [PATCH] Erwan - fix issue 172 (crystal rod) --- projects/mtg/bin/Res/test/_tests.txt | 1 + projects/mtg/bin/Res/test/{bugs => }/crystal_rod_i172.txt | 0 projects/mtg/src/MTGAbility.cpp | 4 ++-- 3 files changed, 3 insertions(+), 2 deletions(-) rename projects/mtg/bin/Res/test/{bugs => }/crystal_rod_i172.txt (100%) diff --git a/projects/mtg/bin/Res/test/_tests.txt b/projects/mtg/bin/Res/test/_tests.txt index 1bd250953..9ee3370d9 100644 --- a/projects/mtg/bin/Res/test/_tests.txt +++ b/projects/mtg/bin/Res/test/_tests.txt @@ -109,6 +109,7 @@ counterspell3.txt counterspell4.txt crimson_kobolds.txt creature_bond.txt +crystal_rod_i172.txt dauntless_escort.txt dauthi_embrace.txt death_ward.txt diff --git a/projects/mtg/bin/Res/test/bugs/crystal_rod_i172.txt b/projects/mtg/bin/Res/test/crystal_rod_i172.txt similarity index 100% rename from projects/mtg/bin/Res/test/bugs/crystal_rod_i172.txt rename to projects/mtg/bin/Res/test/crystal_rod_i172.txt diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index 916341a0e..8a2c26ba9 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -990,8 +990,8 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){ } case 1103: //Crystal Rod { - int cost[] = {Constants::MTG_COLOR_BLUE, 1}; - ASpellCastLife* ability = NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_WHITE,NEW ManaCost(cost,1) , 1); + int cost[] = {Constants::MTG_COLOR_ARTIFACT, 1}; + ASpellCastLife* ability = NEW ASpellCastLife(_id, card, Constants::MTG_COLOR_BLUE,NEW ManaCost(cost,1) , 1); game->addObserver(ability); break; }