- fixed a bug with Mountain goat
- fixed a bug with Hymn of rebirth
This commit is contained in:
wagic.the.homebrew
2008-12-07 14:12:19 +00:00
parent c4aad7ce4b
commit ceb2b9b7b3
4 changed files with 25 additions and 2 deletions

View File

@@ -882,7 +882,7 @@ toughness=1
[/card]
[card]
text=Mountainwalk
abilities=moutainwalk
abilities=mountainwalk
id=2639
name=Mountain Goat
rarity=C

View File

@@ -36,6 +36,7 @@ giant_growth.txt
goblin_balloon_brigade.txt
goblin_balloon_brigade2.txt
goblin_king.txt
hymn_of_rebirth.txt
keldon_warlord.txt
kudzu.txt
kudzu2.txt

View File

@@ -0,0 +1,21 @@
#TestingHymn of Rebirth on a creature in opponent's graveyard
[INIT]
FIRSTMAIN
[PLAYER1]
hand:2731
manapool:{3}{W}{G}
[PLAYER2]
graveyard:2586
[DO]
2731
2586
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:2586
graveyard:2731
manapool:{0}
life:20
[PLAYER2]
life:20
[END]

View File

@@ -1278,8 +1278,9 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
case 1360: //Resurrection
{
Player * p = card->controller();
Player * p2 = card->target->controller();
AbilityFactory af;
af.putInPlayFromZone(card->target, p->game->graveyard, p);
af.putInPlayFromZone(card->target, p2->game->graveyard, p);
break;
}
case 1362: //Reverse polarity