-fix issue 84 (control magic on a token)
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-09-29 13:27:31 +00:00
parent 5443e6ff89
commit 2520a642c0
3 changed files with 43 additions and 0 deletions

View File

@@ -77,6 +77,7 @@ composite_golem.txt
control_magic.txt
control_magic2.txt
control_magic3.txt
control_magic4.txt
corrupt.txt
counsel_of_the_soratami.txt
counterspell.txt

View File

@@ -0,0 +1,41 @@
#Bug:control magic of an artifact that gets destroyed
[INIT]
SECONDMAIN
[PLAYER1]
hand:control magic,shock
inplay:201966,201965,forest,swamp,mountain
[PLAYER2]
inplay:1138,201978,201976,201975,195172,195194
manapool:{5}
[DO]
eot
next
next
next
201978
201976
201975
195172
195194
1138
eot
next
next
next
201966
201965
forest
swamp
control magic
-1138
mountain
shock
-1138
[ASSERT]
FIRSTMAIN
[PLAYER1]
graveyard:control magic,shock
inplay:201966,201965,forest,swamp,mountain
[PLAYER2]
inplay:1138,201978,201976,201975,195172,195194
[END]

View File

@@ -123,6 +123,7 @@ void GameObserver::nextGamePhase(){
for (int i=0; i < 2; i++){
delete (players[i]->game->garbage);
players[i]->game->garbage = NEW MTGGameZone();
players[i]->game->garbage->setOwner(players[i]);
}
return nextGamePhase();
}