Files
wagic/projects/mtg
wagic.the.homebrew@gmail.com 6b89899d1b Erwan
- deprecated the following keywords (see list below for new usage)
-- cantcreaturecast => auto=maxCast(creature)0
-- cantspellcast => auto=maxCast(*)0
-- onlyonecast => auto=maxCast(*)1 
-- bothcantcast => auto=maxCast(*)0 auto=maxCast(*)0 opponent
-- bothnocreature => auto=maxCast(creature)0 auto=maxCast(creature)0 opponent
-- oneboth => auto=maxCast(*)1 auto=maxCast(*)1 opponent

Strangely enough, I couldn't find most of these keywords in mtg.txt?

I also removed variables such as "spellCastedThisTurn" and stuff like that... now if you want to know how many spells were cast in one turn by a given player, use player->game->stack->seenThisTurn("*").
seenThisTurn can take a string representing a TargetChooser, or better, a TargetChooser.

I can't guarantee I didn't break anything, but the test suite passes and the AI seems to run ok
2011-02-13 11:23:51 +00:00
..
2011-02-13 08:01:13 +00:00
2009-11-29 06:45:50 +00:00
2009-11-04 13:33:21 +00:00
2011-02-13 11:23:51 +00:00
2011-02-13 11:23:51 +00:00
2011-02-12 16:31:07 +00:00
2010-10-06 08:45:55 +00:00
J :
2009-11-08 02:55:14 +00:00
2011-02-12 16:31:07 +00:00
J :
2010-05-05 02:50:49 +00:00
2011-02-01 09:56:05 +00:00