Commit Graph

21753 Commits

Author SHA1 Message Date
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
Sol
3bdf8d95cc - ChangeZoneAi will now use the PlayerController reveal function instead of GuiChoose 2013-05-25 21:28:02 +00:00
Maxmtg
fa833f79c2 Pass priority will not lock input - bottomless vault no longer deadlocks 2013-05-25 20:18:53 +00:00
RedDeckWins
303e2c7159 Tweak slowtrip wording. Converted astrolabe, balduvian rage. 2013-05-25 19:51:26 +00:00
Sloth
cab5b2c3a6 - Added SVar:RemAIDeck:True to Cephalid Broker. 2013-05-25 19:46:06 +00:00
Maxmtg
4972fce2de Prevents multiple triggers fired on upkeep (won't execute handleBeginPhase more than once)
FThreads - more beautiful names for threads
2013-05-25 19:41:24 +00:00
RedDeckWins
dc4f0e74ed Convert Portent, Aleatory to use delayed trigger. 2013-05-25 19:33:46 +00:00
Maxmtg
4c7619561c CardDetailPanel - moved border color calculation closer to usage
InputPassPriority - won't skip phases if you repeatedly hit enter
2013-05-25 18:44:45 +00:00
Maxmtg
bbc373cf15 npe fix 2013-05-25 17:20:38 +00:00
Maxmtg
4b05e27e77 Players cannot play lands they don't own (useful for hotseat mode) 2013-05-25 16:58:19 +00:00
Maxmtg
e8aefbcd4e Moved call to concede to non-edt thread to see correct output on WinLose screen 2013-05-25 16:29:53 +00:00
Sloth
b8066b2b1d - Added Psychogenic Probe. 2013-05-25 16:20:50 +00:00
Sloth
9bebcf4a3b - Fixed AI double shuffling when searching with certain cards. 2013-05-25 16:16:42 +00:00
Maxmtg
1644134a5f Invoking ViewWinLose from FControl (that's temporary - should make a dedicated class), MatchController is no longer bound to UI.
GameNew - trying to split its all-in-one methods into parts to separate game state changes from GUI calls
2013-05-25 15:36:48 +00:00
moomarc
a2373d5fae - updated quest opponent icon urls 2013-05-25 15:34:00 +00:00
RedDeckWins
e46a7b2aba fix mine layer trigger 2013-05-25 14:33:14 +00:00
Sloth
edf1b1c479 - Fixed AI giving up against Immortal Coil. 2013-05-25 13:20:02 +00:00
Sloth
9004766b33 - Improved AI predicting Pump abilities. 2013-05-25 13:07:04 +00:00
Maxmtg
1528dc59b7 GameLog: add method takes 2 arguments, because entry type is reported by enum
ViewWinLose: writes "You" (won or lost) in title if there was only one human in game
2013-05-25 13:00:06 +00:00
Chris
5fa73612c4 - Added a fluff piece to the changes.txt file.
- Added new card names to changes.txt.
2013-05-25 12:34:27 +00:00
Maxmtg
5c6afc446d Game Outcome strings are now built in GameLog class, because MatchController should not compose logs
GameLog is subscribed to DuelOutcomeEvent.
GameLog uses enum to indicate record priority, as well as its kind
ViewWinLose takes strings from log.
2013-05-25 09:52:50 +00:00
Sloth
cf7edd2ec3 - Fixed Essence of the Wild cloning weirdness. 2013-05-25 07:17:44 +00:00
Maxmtg
2ab06b5798 Moved game-to-ui binding to FControl
CMessage binds to game
2013-05-25 06:47:03 +00:00
Agetian
34522bd0bb - Fix a bug with the deck editors crashing when trying determine if a card can be shown to a player (please review, not sure if this is the optimal/preferred solution). 2013-05-25 06:09:20 +00:00
swordshine
c9235e8fc7 - Added Weatherseed Totem 2013-05-25 04:43:59 +00:00
Sol
ed5b32b18a - Small updates to a few cards 2013-05-25 02:38:14 +00:00
Sol
618d489e46 - Improve WinLose screen for AI vs AI games 2013-05-25 02:21:08 +00:00
swordshine
7aa04ec3f4 - Added Ink-Treader Nephilim and Precursor Golem 2013-05-25 01:42:41 +00:00
RedDeckWins
55cf47e61e Demonic hordes no longer hard coded 2013-05-24 23:53:03 +00:00
Maxmtg
802c5a930d FControl no longer keeps reference to single player.
canShowCard is located at FControl where the current player is determined (quite roughly at the moment)
2013-05-24 22:34:32 +00:00
Maxmtg
3c78cb77b2 this is also from inputs 2013-05-24 22:31:59 +00:00
Maxmtg
0b8b8c043d Inputs: InputBase no longer requires neither InputQueue nor Player in constructor. Only some subclasses require player member.
InputNonSyncBase - base class for non-waiting inputs
2013-05-24 22:31:11 +00:00
Sloth
c3d90f185a - Added Caged Sun. 2013-05-24 21:19:55 +00:00
Sloth
665ac3ce6e - TapsForMana trigger will now actually check for tapping. 2013-05-24 21:09:26 +00:00