Commit Graph

6285 Commits

Author SHA1 Message Date
Maxmtg
c0b8c4cf21 removed global calls to getPlayer (for human player at gui) where member/local variables could provide data needed 2013-05-22 21:40:11 +00:00
Maxmtg
58aa4aef55 removed 2 more calls to getMatch from Singletons 2013-05-22 21:31:00 +00:00
Maxmtg
1268ed7249 setInputAndWait - moved to InputQueue, the latter belongs to game now, all calls re-routed 2013-05-22 21:28:53 +00:00
Maxmtg
c99fdc6e24 LockAndInvokeGameAction moved from static method to instanced. 2013-05-22 20:44:42 +00:00
Sloth
4a8478d93e - Fixed Inquisitor's Flail by not calling checkStateEffects between replacement effects (experimental). 2013-05-22 18:45:55 +00:00
Sloth
b440060a53 - The opponents Flashback button will no longer allow you to play lands via Crucible of Worlds. 2013-05-22 15:54:10 +00:00
Maxmtg
19adfe54f3 a missing piece 2013-05-22 15:02:58 +00:00
Maxmtg
fb43bc503c force ante - three-state boolean behaviour restored 2013-05-22 15:01:25 +00:00
Sloth
3206d4b985 - Fixed copies of tokens with static abilities. 2013-05-22 14:30:12 +00:00
Maxmtg
5957f85919 default for useBazaar 2013-05-22 10:28:20 +00:00
moomarc
a5b0e4a2ea - UntilEndOfCombat durations were continuing if combat ended early via Time Stop etc so added an extra catch in cleanup. 2013-05-22 06:07:17 +00:00
Maxmtg
b1935d7566 * Added boseiju_who_shelters_all.txt
* You may indicate 'not' condition on card restrictions (ex: boseiju script)
2013-05-22 05:04:56 +00:00
swordshine
3106020e8c - Plane: Added Akoum and Grove of the Dreampods 2013-05-22 04:37:38 +00:00
Maxmtg
7cd1e65ecb use unboxed types if possible 2013-05-22 04:14:38 +00:00
Maxmtg
79b92d40dc bugfix 2013-05-22 04:04:02 +00:00
Maxmtg
3a2b9d17d9 bugfix 2013-05-22 03:55:57 +00:00
Maxmtg
0a03727d6e AI won't gain priority during UNTAP step 2013-05-22 03:32:59 +00:00
Sol
695b446c60 - Added the capability to play Challenges vs predetermined decks (along with a few other related options to disallow specific quest mode things)
- Added Sorin vs Tibalt, and Tibalt vs Sorin as examples of Challenges that force you to use a specific Deck. (They seemed to be the best duel deck compatibility for the AI).
2013-05-22 03:12:54 +00:00
Hellfish
30454f3cab *Fixed NPE when spectating AIvAI into game 2+ 2013-05-21 20:51:40 +00:00
Sloth
8ac75ba23c - Cleanup in ComputerUtilMana. 2013-05-21 17:30:42 +00:00
Maxmtg
5a1c4980cb cast was unneed 2013-05-21 16:40:44 +00:00
Sloth
3873ad9633 - Fixed and improved AI mana payment. 2013-05-21 16:35:10 +00:00
Sloth
e470cf95e3 - Fixed AI using a card to pay for its own ability. 2013-05-21 11:46:10 +00:00
Maxmtg
7b8efdd38e Mulligan code moved to GameAction
UI will no longer ask you to keep or re-deal in ai-vs-ai games
2013-05-21 10:49:22 +00:00
Sloth
763e51e645 - Improved MillAi. 2013-05-21 09:51:40 +00:00
swordshine
c04ce7e5c4 - M14: added Grim Return, Scourge of Valkas, and Windreader Sphinx 2013-05-21 08:46:28 +00:00
Maxmtg
7c5eae6e42 Added support for AI vs AI matches 2013-05-21 08:26:27 +00:00
Maxmtg
364667855d Allies - initialization 2013-05-21 06:57:56 +00:00
Maxmtg
13dc9fedd9 Allies list added to player, all relations (like isOpponent) will be based on it 2013-05-20 20:49:33 +00:00
Maxmtg
3fd671c7e7 ReplacementEffect optional choice and confirm shuffle effect moved to PlayerController 2013-05-20 20:08:22 +00:00
Maxmtg
933368338b one less call to isHuman 2013-05-20 19:13:56 +00:00
Maxmtg
55afc18103 fixed Boros Battleshaper 2013-05-20 15:07:51 +00:00
Maxmtg
84534836ce removed more calls to isHuman/isComputer 2013-05-20 12:20:49 +00:00
Maxmtg
96694641b9 Dig: reveal optional remembers if you've chosen to reveal the card.
uses playerController to decide whether to reveal or not
2013-05-20 12:04:00 +00:00
Maxmtg
736950339d confirmAction - added a enum parameter for cases when no API is avaliable
ChooseTypeEffect - moved choose logic into ComputerUtil
2013-05-20 11:33:09 +00:00
Maxmtg
45db708e5f Triggers - always ask or accept: moved to base PlayerController class, VStack allows to choose only for controlled triggers 2013-05-20 10:09:25 +00:00
Maxmtg
ba1dc538d6 Duplicate triggers problem solved (Mana Vortex req'd 2 lands, Emrakul gave 2 extra turns) 2013-05-20 09:44:07 +00:00
Maxmtg
20fab7e307 a couple of fields moved to base class 2013-05-20 08:49:53 +00:00
Maxmtg
9c10ec02a8 trigger does not really need a name 2013-05-19 22:08:53 +00:00
Maxmtg
a60ac3bcde improve ability choice 2013-05-19 21:57:14 +00:00
Maxmtg
9a66973dc4 fix bug in mana express choice from colorset 2013-05-19 21:51:07 +00:00
Maxmtg
fe02d5c6fc Triggers: someone has mindlessly copy-pasted method 'getCopy'. I've implemented it in base class (using reflection to get the right instance) and as mindlessly removed the duplicated code 2013-05-19 21:35:20 +00:00
Maxmtg
8791cd9400 input class for phyrexian dreadnought - from annonymous to nested 2013-05-19 21:06:32 +00:00
Maxmtg
b78cc19e1c CostPutCounter - input is based on select cards
CostRemoveCounter removed a variable (using a field from super class instead)
2013-05-19 20:50:30 +00:00
Maxmtg
0936352729 renamed 2nd mulligan class 2013-05-19 20:48:57 +00:00
Maxmtg
5246badd68 removed references to CMatch in a few inputs,
InputPayCostBase merged with its single descendant
2013-05-19 20:08:46 +00:00
RedDeckWins
d287394e30 Fix QuestEventDuelManager, remove java 7 diamond operator usage. 2013-05-19 19:36:16 +00:00
Maxmtg
5d16825183 delete duplicate method 2013-05-19 18:49:40 +00:00
Maxmtg
9f00358333 remove warnings 2013-05-19 18:49:26 +00:00
Maxmtg
4da3f550ed QuestEventChallenge are keyed by id in their storage.
The storage reader will print a warnings in console when you are trying to load a second object with same id.
2013-05-19 18:30:50 +00:00