Erwan
-fix issue 84 (control magic on a token)
This commit is contained in:
@@ -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
|
||||
|
||||
41
projects/mtg/bin/Res/test/control_magic4.txt
Normal file
41
projects/mtg/bin/Res/test/control_magic4.txt
Normal 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]
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user