added new auto keys, this and thisforeach, functionallity similair to aslongas and foreach, but for properties of the card as opposed to cards on the field. More details in first comment.
This commit is contained in:
35
projects/mtg/bin/Res/test/generic/level_up.txt
Normal file
35
projects/mtg/bin/Res/test/generic/level_up.txt
Normal file
@@ -0,0 +1,35 @@
|
||||
[init]
|
||||
firstmain
|
||||
[player1]
|
||||
inplay:Knight of Cliffhaven
|
||||
manapool:{12}
|
||||
[player2]
|
||||
inplay:island,forest,swamp,moat
|
||||
hand:assassinate
|
||||
[do]
|
||||
Knight of Cliffhaven
|
||||
Knight of Cliffhaven
|
||||
Knight of Cliffhaven
|
||||
Knight of Cliffhaven
|
||||
next
|
||||
next
|
||||
Knight of Cliffhaven
|
||||
eot
|
||||
next
|
||||
next
|
||||
next
|
||||
island
|
||||
forest
|
||||
swamp
|
||||
assassinate
|
||||
Knight of Cliffhaven
|
||||
[assert]
|
||||
firstmain
|
||||
[player1]
|
||||
inplay:Knight of Cliffhaven
|
||||
[player2]
|
||||
inplay:island,forest,swamp,moat
|
||||
hand:assassinate
|
||||
manapool:{G}{U}{B}
|
||||
life:16
|
||||
[end]
|
||||
33
projects/mtg/bin/Res/test/generic/level_up2.txt
Normal file
33
projects/mtg/bin/Res/test/generic/level_up2.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
[init]
|
||||
firstmain
|
||||
[player1]
|
||||
inplay:Knight of Cliffhaven
|
||||
manapool:{9}
|
||||
[player2]
|
||||
inplay:island,forest,swamp,moat
|
||||
hand:assassinate
|
||||
[do]
|
||||
Knight of Cliffhaven
|
||||
Knight of Cliffhaven
|
||||
Knight of Cliffhaven
|
||||
next
|
||||
next
|
||||
Knight of Cliffhaven
|
||||
eot
|
||||
next
|
||||
next
|
||||
next
|
||||
island
|
||||
forest
|
||||
swamp
|
||||
assassinate
|
||||
Knight of Cliffhaven
|
||||
[assert]
|
||||
firstmain
|
||||
[player1]
|
||||
graveyard:Knight of Cliffhaven
|
||||
[player2]
|
||||
inplay:island,forest,swamp,moat
|
||||
graveyard:assassinate
|
||||
life:18
|
||||
[end]
|
||||
26
projects/mtg/bin/Res/test/generic/thisforeach.txt
Normal file
26
projects/mtg/bin/Res/test/generic/thisforeach.txt
Normal file
@@ -0,0 +1,26 @@
|
||||
[init]
|
||||
untap
|
||||
[player1]
|
||||
inplay:Urza's Mine,Urza's Tower,Urza's Power Plant,Barrin's Codex
|
||||
library:forest,mountain,island,swamp
|
||||
[player2]
|
||||
[do]
|
||||
next
|
||||
choice 0
|
||||
eot
|
||||
eot
|
||||
next
|
||||
choice 0
|
||||
next
|
||||
next
|
||||
Urza's Mine
|
||||
Urza's Power Plant
|
||||
Barrin's Codex
|
||||
[assert]
|
||||
firstmain
|
||||
[player1]
|
||||
inplay:Urza's Mine,Urza's Tower,Urza's Power Plant
|
||||
graveyard:Barrin's Codex
|
||||
hand:forest,mountain,island,swamp
|
||||
[player2]
|
||||
[end]
|
||||
Reference in New Issue
Block a user