- fixed memory leaks introduced in previous revision

- removed incorrect casts of MTGCardInstance into Spell objects.
- AI Test system now allows you to put decks in ai/bakaA and ai/bakaB instead of ai/baka. This allows to let AIPlayerBaka and AIPlayerBakaB play with specific decks
- Test suite speed improvement. Improved the card name cache. Test suite now runs in 850 seconds instead of 950 on my machine.
- minor code cleanup
This commit is contained in:
wagic.the.homebrew
2011-09-22 04:43:05 +00:00
parent 997b154d46
commit ee4c7e23bd
15 changed files with 163 additions and 85 deletions

View File

@@ -1,7 +1,8 @@
[INIT]
UNTAP
[PLAYER1]
inplay:Thallid
#1924 is thallid, we use the id to be sure to match the token in the end
inplay:1924
[PLAYER2]
[DO]
eot
@@ -13,11 +14,11 @@ eot
next
next
next
thallid
thallid
1924
1924
[ASSERT]
FIRSTMAIN
[PLAYER1]
inplay:Thallid,-1924
inplay:1924,-1924
[PLAYER2]
[END]