Erwan
- missing "removedFromGame" initialization fixed (see celestial_purge test)
This commit is contained in:
@@ -20,6 +20,7 @@ ascendant_evincar.txt
|
||||
ascendant_evincar2.txt
|
||||
brass_man.txt
|
||||
castle.txt
|
||||
celestial_purge.txt
|
||||
circle_of_protection.txt
|
||||
composite_golem.txt
|
||||
control_magic.txt
|
||||
|
||||
18
projects/mtg/bin/Res/test/celestial_purge.txt
Normal file
18
projects/mtg/bin/Res/test/celestial_purge.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
#Testing Celestial purge on Canyon Minotaur
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
hand:183055
|
||||
manapool:{1}{W}
|
||||
[PLAYER2]
|
||||
inplay:184994
|
||||
[DO]
|
||||
183055
|
||||
184994
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
[PLAYER1]
|
||||
graveyard:183055
|
||||
manapool:{0}
|
||||
[PLAYER2]
|
||||
[END]
|
||||
@@ -59,6 +59,8 @@ void MTGPlayerCards::init(){
|
||||
hand = NEW MTGHand();
|
||||
inPlay = NEW MTGInPlay();
|
||||
stack = NEW MTGStack();
|
||||
stack = NEW MTGStack();
|
||||
removedFromGame = NEW MTGRemovedFromGame();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user