Oleg Agafonov
1f381cffe5
GUI: improved cards with transform ability:
...
* added transform button to permanents on battlefield to view another card side;
* fixed wrong popup hints in some use cases (example: alternative side view by mouse wheel down, #8433 );
2021-11-05 23:16:44 +04:00
Oleg Agafonov
58ab020065
Dev: pom clean up, improved parent/child structure;
2021-10-03 18:11:56 +04:00
Oleg Agafonov
6bc5a00e8a
* Alternative costs - fixed that it can be activated on free cast (example: cascade with overload, #6925 , #7410 , #7741 , #6342 );
2021-09-21 14:22:46 +04:00
Oleg Agafonov
912e695f40
* GUI: fixed that some choose dialogs doesn't show possible targets (example: Haunting Voyage, #8223 );
2021-09-05 13:07:13 +04:00
Oleg Agafonov
2158d682cc
Prepare new release
2021-08-30 14:44:03 +04:00
Oleg Agafonov
2efdb464fc
Little refactor, additional logs for CheckPlayableState error;
2021-08-28 12:09:22 +04:00
Oleg Agafonov
43bdab8636
* GUI: added yes/no auto-answers for state base actions dialogs (example: commander change zone);
2021-08-16 02:00:53 +04:00
Oleg Agafonov
c9ab896d24
* GUI: added auto-choose for replacement effects (remember answer in dialog + reset answer in popup menu + new option in preferences; #4360 , #328 , #4219 , #6676 , #7914 );
2021-08-09 11:26:11 +04:00
Oleg Agafonov
c6a3d5e588
Prepare new release
2021-07-25 01:15:33 +04:00
Evan Kranzler
572104b8fc
Reworking card types in preparation for implementing Grist, the Hunger Tide ( #7899 )
...
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-07-09 07:28:43 +04:00
Evan Kranzler
2ab78b9f03
[STX] fixed Shadrix Silverquill not allowing players to choose no modes ( fixes #7874 )
2021-06-27 11:46:36 -04:00
Evan Kranzler
a61d5543fa
replaced all instances of converted mana cost with mana value
2021-04-17 17:02:27 -04:00
Daniel Bomar
600cac6fc7
[READY FOR REVIEW] Implement a "multi-amount" dialog ( #7528 )
...
* Implemented chooseTargetAmount and new GUI dialog (distribute damage, distribute mana)
* Added tests and AI support;
* Test framework: added aliases support in TargetAmount dialogs;
Co-authored-by: Oleg Agafonov <jaydi85@gmail.com>
2021-04-17 14:28:01 +04:00
Oleg Agafonov
650acf9e1e
Test framework: fixed support of chooseAbilityForCast for commanders, added destroy target custom effect ( #7593 );
2021-02-22 16:05:48 +04:00
Oleg Agafonov
cf216c6802
Prepare new release
2021-02-07 22:24:40 +04:00
Oleg Agafonov
5077a82585
* GUI: improved ability picker dialog for double sides, split and adventure cards (if one side is playable then you can see ability name before play/cast it, see #7361 );
2021-02-03 08:52:31 +04:00
Oleg Agafonov
767644f1c8
GUI: fixed that user can target/click on second side of mdf card instead the main side (related to #7297 );
2020-12-27 01:39:18 +04:00
LevelX2
77a44733c2
* Eerie Ultimatum - Fixed target handling. Duplicate names could be selected. Deselection was not possible.
2020-12-21 16:47:03 +01:00
Oleg Agafonov
cc5fce4256
Prepare new release
2020-12-19 23:59:44 +04:00
Oleg Agafonov
db239a1055
Refactor: replaced sourceId by source and introduced source param in some methods;
2020-12-12 20:23:19 +04:00
Oleg Agafonov
2b78388eab
[CMR] fixed Akroma's Will - missing copy of new condition in modes ( #7210 );
...
Improved compatibility of new modes condition with choose dialogs and test framework;
2020-11-28 19:49:16 +04:00
Oleg Agafonov
ea46afbe62
Prepare new release
2020-11-10 13:11:45 +04:00
Oleg Agafonov
920697d2e5
Prepare new release
2020-08-23 01:52:55 +04:00
LevelX2
c16fb75668
* replaces all [source} by {this}. ATTENTION !!!: Only supporting [this} from now on in rule text.
2020-08-22 12:52:49 +02:00
Oleg Agafonov
c4f028ffa0
Prepare new release
2020-07-10 16:50:38 +04:00
Aidan Coward
857c072ac1
grammar fix: freezed -> frozen
2020-07-05 18:23:16 -04:00
Oleg Agafonov
da4a44445b
Additional fixes for #6771 (modal spells resolve order)
2020-07-03 01:46:05 +04:00
Oleg Agafonov
adbe84c540
Improved freeze checks and canRespond/isInGame usage
2020-07-01 13:48:22 +04:00
Oleg Agafonov
3f2a5fc362
Prepare new release
2020-06-20 11:36:13 +04:00
Oleg Agafonov
c2e7b02e13
Reworked and improved special mana payment abilities (convoke, delve, assist, improvise):
...
* now it can be used to calc and find available mana and playable abilities;
* now tests and AI can use that abilities;
* now it follows mtg's rules and restrictions for mana activation order (rule 601.2f, see #768 );
2020-06-19 13:09:45 +04:00
Oleg Agafonov
cce467a5ec
Additional fix and simplified for playable abilities (see comments b94344341b
)
2020-06-04 03:21:18 +04:00
Oleg Agafonov
b94344341b
Improved playable abilities and split cards:
...
* Now human player uses same code for playable abilities search as test framework (old version used different code, so it could not work in one of the modes);
* Split cards - improves playable highlights;
* Split cards - fixed that it doesn't work with dynamic added abilities like flashback (#6327 , #6470 , #6549 );
2020-06-03 12:44:58 +04:00
Oleg Agafonov
63dbf5f40b
* Split cards improves:
...
* Fixed that fused spells can't be played from non hand zone;
* Fixed double choose spell dialog (#5506 , #6549 );
2020-05-19 01:30:46 +04:00
Oleg Agafonov
6b5108770c
* UI: fixed wrong ability text capitalization in mode choose dialog;
2020-05-19 00:27:42 +04:00
Oleg Agafonov
771d54aa39
* Triggered abilities with modes - fixed that player can skip mode selection (example: skip lose game with Demonic Pact, see #6524 );
2020-05-07 15:21:15 +04:00
Oleg Agafonov
ca9542d3de
* Game: fixed that declare blocker step skips all the time on disabled "STOP skip on any/zero blockers" preferences ( #6308 );
2020-02-29 23:27:11 +04:00
Oleg Agafonov
ab10ee10c9
Server: logs cleanup
2020-01-29 07:18:23 +04:00
Oleg Agafonov
a072d8275f
* Target card in hands - fixed that player can stuck/freeze the game if it must select cards from opponent's hand (related #6209 );
2020-01-21 04:44:50 +04:00
Oleg Agafonov
f67c08ad8b
UI: choose dialog improves (see 8add25fa12
)
2020-01-18 09:43:25 +04:00
Oleg Agafonov
7ca6677b93
* UI: choose ability to cast improves (see 8add25fa12
)
2020-01-18 09:39:12 +04:00
Oleg Agafonov
ce60a9d75b
* UI: choose ability to play improves (see 8add25fa12
)
2020-01-18 08:02:31 +04:00
Oleg Agafonov
8add25fa12
* UI: choose modes dialog improves:
...
* Added hotkeys to select options (1-9 for choice, SPACE/ENTER for done, ESC for cancel);
* "Up to" modes choose dialog - added "done" button in dialog;
* "Up to" modes choose dialog - fixed that user can't cancel if already selected one mode;
* Added extra info about source object, selected and remaining modes to select, ability number for hotkey;
* Fixed that mode choose dialog doesn't close on cancel (#6199 );
2020-01-18 06:30:44 +04:00
Oleg Agafonov
11976b5c89
Refactor: move player.damage params to default (same as permanent.damage);
2020-01-14 09:15:33 +04:00
Oleg Agafonov
589142aeb5
Real fix to prev commit
2020-01-12 09:26:52 +04:00
Oleg Agafonov
92e15283ea
* Tapped for mana abilities - fixed that it cause rollback error if you cast second card with that effect (Nyxbloom Ancient, etc);
2020-01-12 09:11:38 +04:00
Oleg Agafonov
e1fea330dd
Test framework - multiple improves:
...
* Added support of spell ability choice in free cast (chooseSpellAbilityForCast);
* Added support of "up to" targets setup in addTargetAmount (use TestPlayer.TARGET_SKIP to stop target choose);
* Restored multiple checks for addTargetAmount;
* Fixed many wrong tests (wrong order or missing commands);
2020-01-12 01:17:39 +04:00
Oleg Agafonov
b366a83a45
Prepare new release
2020-01-09 08:55:26 +04:00
Oleg Agafonov
d960ed7c75
Server stability improves:
...
* No more game freezes on commanders from disconnected players;
* No more game freezes for disconnected players in started games (on mulligan, yes/no choices, etc);
* Fixed missing ability controller in some choose dialogs (wrong targets for gained controlled permanents);
* Added TODO for next fixes with take turn controllers;
2019-12-31 05:36:47 +04:00
LevelX2
cadae9ee92
* Added checks in all the methods that wait for human response to prevent endless loops if the method is called from a the get playable actions.
2019-12-27 23:28:53 +01:00
LevelX2
133cc7342d
* Fixed a problem with check playable methods causing e.g. endless loop if Shared Fate was on the battlefield.
2019-12-25 16:01:02 +01:00