Erwan
- fixed a bug with Mountain goat - fixed a bug with Hymn of rebirth
This commit is contained in:
@@ -882,7 +882,7 @@ toughness=1
|
|||||||
[/card]
|
[/card]
|
||||||
[card]
|
[card]
|
||||||
text=Mountainwalk
|
text=Mountainwalk
|
||||||
abilities=moutainwalk
|
abilities=mountainwalk
|
||||||
id=2639
|
id=2639
|
||||||
name=Mountain Goat
|
name=Mountain Goat
|
||||||
rarity=C
|
rarity=C
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ giant_growth.txt
|
|||||||
goblin_balloon_brigade.txt
|
goblin_balloon_brigade.txt
|
||||||
goblin_balloon_brigade2.txt
|
goblin_balloon_brigade2.txt
|
||||||
goblin_king.txt
|
goblin_king.txt
|
||||||
|
hymn_of_rebirth.txt
|
||||||
keldon_warlord.txt
|
keldon_warlord.txt
|
||||||
kudzu.txt
|
kudzu.txt
|
||||||
kudzu2.txt
|
kudzu2.txt
|
||||||
|
|||||||
21
projects/mtg/bin/Res/test/hymn_of_rebirth.txt
Normal file
21
projects/mtg/bin/Res/test/hymn_of_rebirth.txt
Normal 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]
|
||||||
@@ -1278,8 +1278,9 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){
|
|||||||
case 1360: //Resurrection
|
case 1360: //Resurrection
|
||||||
{
|
{
|
||||||
Player * p = card->controller();
|
Player * p = card->controller();
|
||||||
|
Player * p2 = card->target->controller();
|
||||||
AbilityFactory af;
|
AbilityFactory af;
|
||||||
af.putInPlayFromZone(card->target, p->game->graveyard, p);
|
af.putInPlayFromZone(card->target, p2->game->graveyard, p);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 1362: //Reverse polarity
|
case 1362: //Reverse polarity
|
||||||
|
|||||||
Reference in New Issue
Block a user