Commit graph

29472 commits

Author SHA1 Message Date
Ingmar Goudt
b638ef4fad delete old performance debug code 2019-03-18 12:54:19 +01:00
John Hitchings
7885a42168 Refactor mulligans out of GameImpl and add Paris, Vancouver, London, and Canadian Highlander. Refactor GameImpls to use their specific mulligan. 2019-03-17 23:23:52 -07:00
Oleg Agafonov
2a0d2d125b * UI: fixed error message window for long text (auto-size), improved wrong version message; 2019-03-18 09:00:27 +04:00
Oleg Agafonov
410fd68996 Fixed that triggered abilities shows cancel button in target definition; 2019-03-18 06:10:08 +04:00
Jeff
ae00a74b4c - refactored Krovikan Vampire. 2019-03-17 17:34:13 -05:00
John Hitchings
0ea73b19df Refactor Sets.saveDeck into a deck exporter series of classes. 2019-03-17 14:58:05 -07:00
Oleg Agafonov
83d8f5a538 * UI: improved mulligan dialog with color, added free mulligan info in game log; 2019-03-17 06:11:20 +04:00
Oleg Agafonov
bf2861c309 * UI: improved skip buttons and preferences:
* added new setting for STACK skip button: stops on full empty stack (default) or on new objects added;
 * added new dynamic hints for skip buttons to see current settings and modes;
 * fixed that some skip buttons not de-activated after goal was achieved;
 * fixed wrong default render mode for cards, MTGO must be default (#4409);
2019-03-17 04:38:31 +04:00
Ingmar Goudt
c4eeec1bb2 changed the constructor for a Watcher. Before, you had to explictly pass the name of the watcher as an argument. But most of the time this was the name of the class itself. So the watcher now determines internally its name. The method 'getBasicKey' can be overridden. Also updated some encapsulation 2019-03-16 08:35:26 +01:00
Jeff
5c1f41f3a7 - First steps towards fixing Phased/Phased indirectly permanents. 2019-03-15 10:01:02 -05:00
Jeff
da5058d0ab - Fixed Preacher 2019-03-15 09:22:07 -05:00
Jeff
9aae8c8db7 - Fixed #5632 2019-03-14 11:34:56 -05:00
Oleg Agafonov
a969fc8470
Merge pull request #5631 from ketsuban/benevolent-unicorn
Implement Benevolent Unicorn
2019-03-14 16:47:24 +01:00
Oleg Agafonov
f794e9551d
Fix compilation error 2019-03-14 19:45:03 +04:00
Jeff
8826dd6f0f - a bunch of small fixes 2019-03-14 10:33:19 -05:00
Jeff
bab673adf7 - small fix Blood Tithe. 2019-03-14 09:17:06 -05:00
Jeff
9aa699ac4e - small fix Isolation Cell. 2019-03-14 08:46:40 -05:00
Thomas Winwood
465d8ba254 Implement Benevolent Unicorn 2019-03-14 13:30:36 +00:00
Oleg Agafonov
23271d9b9b * Thousand-Year Storm - fixed that it don't counts spells on the same stack as storm (#5620); 2019-03-14 05:45:13 +04:00
Oleg Agafonov
e7984c6dd4 Test framework: added waitStackResolved command to wait stack resolved before execute next command on the same step (devs can cast and check any number of commands without switch to next step). 2019-03-14 05:42:29 +04:00
Oleg Agafonov
43ba6685eb Test framework: added setStrictChooseMode setting for tests to disable AI selects in choose/target dialogs; 2019-03-14 05:36:57 +04:00
Oleg Agafonov
2a750457d5 Fixed that antispam blocks system messages in diff chat rooms; 2019-03-14 05:32:04 +04:00
Oleg Agafonov
b6f075c505 * UI: added drag & drop text to deck editor (like drag & drop deck file); 2019-03-13 04:21:31 +04:00
Jeff
5eecfb2a86 - now these cards work with split-cards. 2019-03-12 17:44:26 -05:00
Jeff
678f77c2a3 - little spelling fix 2019-03-12 11:43:16 -05:00
Jeff
c4c217848d - Fixed #5618. Also fixed the exile of split-cards with it. 2019-03-12 11:21:23 -05:00
Oleg Agafonov
a74d236ced Added hint about "/FIX" command in game's welcome message; 2019-03-11 21:23:09 +04:00
Oleg Agafonov
1ad6dc9976
Merge pull request #5626 from hitch17/more-forgiving-button-presses
Simulate JButton behavior while still preserving check for BUTTON1
2019-03-11 17:39:52 +01:00
Oleg Agafonov
7088cbb8c2 Current code is incompatible with last 33v4 release; 2019-03-11 20:37:41 +04:00
Oleg Agafonov
1ccd1c2f2d Fixed NPE error on "/FIX" chat command; 2019-03-11 20:34:22 +04:00
Jeff
8cb87269d8 - Fixed #5624 2019-03-11 09:28:17 -05:00
Oleg Agafonov
0f4c6c0260 Improved scry and surveils text dialog; 2019-03-11 18:18:40 +04:00
Jeff
c784753ee6 - little fixes. #5625 2019-03-11 08:50:05 -05:00
John Hitchings
5c01b38ed6 Rename pressing to tinting. Change to behavior when leaving the rect will remove the tint (would stop tinting only when button released). 2019-03-10 23:12:48 -07:00
John Hitchings
11b93d0771 Simulate JButton behavior while still preserving check for BUTTON1 using MouseAdapter. Add a slight tint when button is pressing, but not pressed. 2019-03-10 23:02:13 -07:00
Oleg Agafonov
3fb18b334d * Tap cost abilities - added cancel button; 2019-03-11 02:04:49 +04:00
Oleg Agafonov
32d326d720 * Ghirapur Aether Grid - improved text dialog; 2019-03-11 02:03:18 +04:00
Ingmar Goudt
7a5920322d sonar cleanup in Sessionhandler 2019-03-10 22:04:27 +01:00
Oleg Agafonov
dab481ee17 * UI: added cancel button for all target definition abilities; 2019-03-10 23:31:11 +04:00
Oleg Agafonov
904660e624 Fixed freeze while disconnects on choose target and card in library dialogs; 2019-03-10 16:04:25 +04:00
Oleg Agafonov
9d5fade2fb * Abilities with sacrifice cost - added cancel button to sacrifice target dialog; 2019-03-10 15:55:33 +04:00
Oleg Agafonov
b432b4b431 Fixed freeze and npe error while disconnects on choose target dialog; 2019-03-10 15:53:53 +04:00
Oleg Agafonov
188de12592 * Keldon Arsonist - improved dialog info; 2019-03-10 15:50:02 +04:00
Oleg Agafonov
d8bee36892 * Multiple choosing abilities - added de-selection (click on selected permanent to de-select it); 2019-03-10 15:36:53 +04:00
Oleg Agafonov
83afca8bda * Crew ability - added selected and needed power info while choosing, colorozing; 2019-03-10 15:33:04 +04:00
Oleg Agafonov
b45864070c * UI: added possible targets highlighting in targets pickup dialogs; 2019-03-10 02:12:52 +04:00
Oleg Agafonov
886f3d39f8 Test framework: added attached info in show command; 2019-03-10 02:09:19 +04:00
Oleg Agafonov
3d70dadc22 * Armory Automaton - fixed infinite AI choose, added selects target cancel (#5023); 2019-03-10 02:08:02 +04:00
Jeff
2b4a01410b - Added requested card Bone Mask. Fixed Kithkin Armor. 2019-03-08 17:07:34 -06:00
Jeff
75fc0843d6 - Added requested card Kithkin Armor. 2019-03-08 15:29:30 -06:00