Commit Graph

21636 Commits

Author SHA1 Message Date
Maxmtg
8b88288a36 removed ability to cancel choice of reflected mana color 2013-05-27 09:19:01 +00:00
Maxmtg
d9b00135ff fixing someone's typo. 2013-05-27 09:06:03 +00:00
Maxmtg
3049c122bf reverting instantspeed 2013-05-27 09:04:18 +00:00
Maxmtg
394fed2808 removed InstantSpeed (it's useless for mana abilities) 2013-05-27 09:00:40 +00:00
Maxmtg
d326a0a57a SA: added getManaPartRecursive(), replaced loops where they were 2013-05-27 08:36:40 +00:00
Maxmtg
51f23b8e02 fixed NPE when lands's mana ability is a subability (Rhystic Cave) 2013-05-27 07:39:16 +00:00
Maxmtg
26a3a6602c cleaunp warnings for unused imports 2013-05-27 07:17:15 +00:00
Maxmtg
a5b8c92f3d PlayOrDraw converted to input that appears before opening hand is drawn 2013-05-27 07:09:16 +00:00
Maxmtg
c338ab12ed fix crash during mulligan 2013-05-27 06:41:21 +00:00
RedDeckWins
7e8711bd9a j,k slowtrips converted. 2013-05-27 05:53:16 +00:00
RedDeckWins
3dec2178b1 g,h,i slowtrips converted. 2013-05-27 05:43:11 +00:00
RedDeckWins
9e04c862c1 e,f slowtrips converted. fixed spitting slug showing the trigger twice in the card description. 2013-05-27 05:22:39 +00:00
Sol
2ce64880b0 - Only show Ai buggy card play dialog before the first game, as opposed to each game. 2013-05-27 01:40:17 +00:00
Maxmtg
f9b5b89281 initPlane moved to a better place (after mulligans)
added mulligan rule 103.4b
2013-05-26 22:08:55 +00:00
Maxmtg
f9f0a77cd9 Game starts with phase = NULL and turn = 0. This lets us log turn 1 beginning properly.
Some effects may not work during turn 0 (leylines/chancellors) - if they do, convert them to T:Phase Upkeep | Turn$ 1
2013-05-26 21:36:58 +00:00
Sloth
3eb9aed797 - AI tweak to be a little more aggressive when a burn spell/ability is available. 2013-05-26 20:20:31 +00:00
Maxmtg
f8fb5fef22 Added 'player kept N cards' to log
InputSyncronizedBase - just a comment
2013-05-26 19:15:56 +00:00
Maxmtg
934d2af59c clean up purple frames on cards 2013-05-26 19:03:44 +00:00
Maxmtg
7e5d23d988 just cannot figure out why 2013-05-26 18:51:30 +00:00
Maxmtg
3ee5f5a984 InputProxy.java no longer synchronized 2013-05-26 18:51:00 +00:00
Maxmtg
aaa08dbc19 InputProxy no longer updates when stack has changed - the only possible reason for it to update is passPriority
This fixes "AI spawning multiple threads" bug
2013-05-26 18:12:18 +00:00
Maxmtg
2031691ed3 Moved observer attachment into CStack.java 2013-05-26 18:09:53 +00:00
Maxmtg
442e9bb667 Added debug output to ComputerUtilMana 2013-05-26 18:09:12 +00:00
RedDeckWins
a813f7887d b, c, and d slowtrips converted. 2013-05-26 16:39:10 +00:00
RedDeckWins
2f14bc1f77 Convert 'b' slowtrips except for burnout. 2013-05-26 16:22:17 +00:00
Maxmtg
79da5d9e68 BugReporter indicates thread in console,
ComputerUtilMana - commented out is debug code
PhaseHandler: nextPhase & handleBeginPhase are called consequently, no observer updates happen between calls
GuiDisplayUtil: generate mana button caused wrong thread exception
VMessage - remove useless import
2013-05-26 16:10:40 +00:00
Maxmtg
0e23db57db remove debug key 2013-05-26 15:15:10 +00:00
Maxmtg
781aba8b50 button size setting affects OK and Cancel 2013-05-26 14:54:22 +00:00
Sloth
73569e261f - Added Showstopper. 2013-05-26 14:29:33 +00:00
Maxmtg
e48821afbb refactored CSubmenuPreferences
added UI_FOR_TOUNCHSCREEN preference
2013-05-26 14:19:26 +00:00
Sloth
a5a8617ff0 - Added Reborn Hero. 2013-05-26 14:18:53 +00:00
Sloth
d59371b579 - Added Treacherous Vampire. 2013-05-26 14:05:49 +00:00
Sloth
4857dec4b0 - Fixed Treacherous Werewolf. 2013-05-26 13:58:05 +00:00
Maxmtg
96069d7c65 cleanup in constants, removing unused ones,
replacing maps with list/arrays traversal by indexes
remove imports
2013-05-26 13:32:38 +00:00
Maxmtg
ce2d19ab90 basic lands now do have color identity, so deck format check no longer needs an exception for them 2013-05-26 13:20:22 +00:00
Maxmtg
8352460a8c for basic lands and true duals their CI will be calculated from oracle text 2013-05-26 13:16:49 +00:00
Maxmtg
e8ea0a8fbd a bit improved targeting prompt 2013-05-26 13:16:10 +00:00
Maxmtg
01df91ecae Basic lands and true dual lands shall have oracle text so that their CI can be calculated from it 2013-05-26 13:15:48 +00:00
Chris
ac72306768 - Added new card names to changes.txt. 2013-05-26 13:06:31 +00:00
Sloth
4688ebd5f3 - Cleanup in card class. 2013-05-26 12:54:19 +00:00
Maxmtg
a4b99f48f2 test mana-can-pay removes manasource abilities from lists instead of mantaining a list of used cards. 2013-05-26 12:52:54 +00:00
Sloth
cbe64235c8 - Converted Treacherous Link to script. 2013-05-26 12:47:50 +00:00
Maxmtg
86b848c80a futher doctoring of InputQueues: ai input no longer locks UI,
priorityAutoPass is executed even without switching to EDT 
showMessage is executed for the current input of InputProxy, not the one passed as parameter
FThreads.invokeInNewThread is wrapped into InputQueue.invokeGameAction that may run action is same thread if it is not EDT
2013-05-26 12:11:37 +00:00
Sloth
21e17a5fd6 - Fixed Wall of Tears when it's not the first blocker. 2013-05-26 11:28:56 +00:00
Maxmtg
3c891dea5e devSetupGameState - written in less lines, game state is changed from game thread, won't NPE 2013-05-26 09:42:49 +00:00
Sloth
d7dbd293bf - Fixed LKI's of tokens. 2013-05-26 09:36:30 +00:00
Maxmtg
b2edf7ac90 added messages in auto-pass and ai inputs 2013-05-26 08:58:41 +00:00
Sloth
fdaaf9d410 - Cleanup of grantBasicLandsManaAbilities. 2013-05-26 08:55:07 +00:00
Maxmtg
3e641685a4 had to make a different event to ensure it is fired after log has composed all strings.
PhaseHandler: passPriority is never called from non-EDT, simplifying code here.
2013-05-25 23:44:54 +00:00
Maxmtg
c282b3e28a InputNonSyncBase => InputPassPriority,
stop() method moved to sync'd inputs, asyncs have only pass()
pass() or stop() may be called only once per input presentation (once shown = one and only stop/pass)
2013-05-25 23:26:15 +00:00