Erwan
- Updated Parser mechanism. Right now this doesn't change functionalities much, but should be more readable, and make it easier to code some new abilities in the future - Fixed regenerate, broken with r532 - Death Ward now works - I think "&&" now works with all abilities, needs to be tested...
This commit is contained in:
20
projects/mtg/bin/Res/test/generic/rampage.txt
Normal file
20
projects/mtg/bin/Res/test/generic/rampage.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
#Testing Rampage
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
inplay:Elvish Berserker
|
||||
[PLAYER2]
|
||||
inplay:raging goblin
|
||||
[DO]
|
||||
Elvish Berserker
|
||||
next
|
||||
raging goblin
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:Elvish Berserker
|
||||
[PLAYER2]
|
||||
graveyard:raging goblin
|
||||
[END]
|
||||
22
projects/mtg/bin/Res/test/generic/regenerate.txt
Normal file
22
projects/mtg/bin/Res/test/generic/regenerate.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
#Testing Regenerate
|
||||
[INIT]
|
||||
COMBATATTACKERS
|
||||
[PLAYER1]
|
||||
inplay:Drudge Skeletons,swamp
|
||||
[PLAYER2]
|
||||
inplay:raging goblin
|
||||
[DO]
|
||||
Drudge skeletons
|
||||
swamp
|
||||
Drudge skeletons
|
||||
next
|
||||
raging goblin
|
||||
next
|
||||
next
|
||||
[ASSERT]
|
||||
COMBATEND
|
||||
[PLAYER1]
|
||||
inplay:Drudge Skeletons,swamp
|
||||
[PLAYER2]
|
||||
graveyard:raging goblin
|
||||
[END]
|
||||
Reference in New Issue
Block a user