Commit graph

30319 commits

Author SHA1 Message Date
Oleg Agafonov
c767d19534 Test framework: added AI support in basic card tests:
* added new command to play one best action on priority by AI (aiPlayPriority);
* added new command to play all best actions on step by AI (aiPlayStep);
* now you can setup battlefield by standard commands and run AI simulations for single priority/step;
* CardTestPlayerBase - old default class for card tests, it uses simple AI for choosing, but do not play/simulate it;
* CardTestPlayerBaseAI - old default class for AI game tests, auto-playable playerA, you can control only playerB;
* CardTestPlayerBaseWithAIHelps - new improved class for card tests, it uses controllable and real AI with game simulations;
2020-01-29 07:42:20 +04:00
Oleg Agafonov
6cbf94bad6 AI: improved usage of attachments:
* AI can play equipment/aura cards more frequent (computer can see and analyse all attached effects now);
* AI can attach permanents with bad effects correctly (bad for opponents, good for itself);
2020-01-29 07:38:08 +04:00
Oleg Agafonov
89394ffe0a Improved ability outcome processing; 2020-01-29 07:33:33 +04:00
Oleg Agafonov
ab10ee10c9 Server: logs cleanup 2020-01-29 07:18:23 +04:00
Oleg Agafonov
cae3081123 Additional card hints for 68326c8554 2020-01-29 07:08:52 +04:00
Oleg Agafonov
68326c8554 * UI: added card hints about active requirement effects (permanent must attack or must block); 2020-01-29 06:51:39 +04:00
Oleg Agafonov
537906004f * Bloodthirsty Blade - fixed wrong text; 2020-01-29 03:12:30 +04:00
Oleg Agafonov
eb93c08a6f Fixed tests 2020-01-28 16:42:44 +04:00
Oleg Agafonov
5c058d8f85 Cleanup code (added logs rotation to tests) 2020-01-28 12:02:56 +04:00
Oleg Agafonov
9eba000cf5
Merge pull request #6227 from dragonfyre23/master
Implemented Spectral Shield (ICE)
2020-01-28 03:08:03 +01:00
dragonfyre23
b3670a6014 Whoops scourge.java is back now 2020-01-27 20:56:42 -05:00
dragonfyre23
a017d989b6
Removed unrelated set file 2020-01-27 20:47:44 -05:00
dragonfyre23
b364b41704
Removed unrelated card 2020-01-27 20:47:11 -05:00
dragonfyre23
c4d048b5bb Fixed not able to be enchanted by auras. 2020-01-27 20:40:28 -05:00
Oleg Agafonov
8ca6fd8552 Can't be target/attached effects - fixed that user gets multiple warning message about prevention effect; 2020-01-28 05:31:32 +04:00
Oleg Agafonov
105062beb7 Fixed multiple NPE errors in cards; 2020-01-28 03:37:49 +04:00
jeffwadsworth
285ed5801f - Fixed #6230 2020-01-27 17:32:43 -06:00
Oleg Agafonov
9a804810e4 * Etali, Primal Storm - fixed rollback error on empty library; 2020-01-28 01:54:56 +04:00
Oleg Agafonov
24fa917784 * God Eternal Kefnet - fixed rollback error on empty library; 2020-01-28 01:53:19 +04:00
Oleg Agafonov
cc1840b109 * Glory Bearers - fixed that it boost itself too; 2020-01-28 01:46:40 +04:00
jeffwadsworth
684a4b3cc9 - Fixed #6229 2020-01-27 15:28:21 -06:00
jeffwadsworth
331c3ce0a0 - Fixed #6228 2020-01-27 15:27:35 -06:00
Oleg Agafonov
0525463faf Test framework: added more aliases support, improved logs output for show commands; 2020-01-27 17:31:18 +04:00
Oleg Agafonov
ccdad1f5ca Test framework: added alias support in chooseTarget; 2020-01-27 14:02:21 +04:00
dragonfyre23
ee2b904cca In Progress Not Functional
Exiled Doomsayer (SCG)
2020-01-26 23:34:44 -05:00
Oleg Agafonov
ffdc884949 Logs cleanup (removed database logs) 2020-01-27 06:01:56 +04:00
Oleg Agafonov
ec6b0b94c6 Test framework: improved aliases support:
* added check commands support;
* added on of the choose method support;
* added todo and checks for wrong test commands setup;
2020-01-27 06:00:46 +04:00
dragonfyre23
4ab8f506fc Merge branch 'master' of https://github.com/magefree/mage 2020-01-26 15:42:03 -05:00
dragonfyre23
302c3d3cc0 Spectral Shield (ICE)
Spectral Shield (ME3)
added.
2020-01-26 15:33:26 -05:00
Oleg Agafonov
016f5fa9f5 Merge fix 2020-01-26 20:39:19 +04:00
Oleg Agafonov
b86438b80d Tests for #6222 2020-01-26 20:37:32 +04:00
Oleg Agafonov
36b309df6b * Thassa's Oracle - fixed wrong text (#6223); 2020-01-26 19:56:01 +04:00
Oleg Agafonov
0d981a8528 * Vivien's Arkbow - fixed that it can't choose cards to put it on battlefield (#6225); 2020-01-26 19:52:35 +04:00
Oleg Agafonov
9deaa4c227 * Gadwick, the Wizened - fixed that it doesn't draw cards on ETB; 2020-01-26 19:04:23 +04:00
Oleg Agafonov
9ec6aa83c4 * Infected counters - fixed rollback error on usage; 2020-01-26 18:41:01 +04:00
Oleg Agafonov
1b3a5d625b * Other: fixed problem with too big mageclient.log file, now it will be clean after 10MB (log files rotation); 2020-01-26 16:34:04 +04:00
Oleg Agafonov
ab2fb29270 Code cleanup (removed unused log4j setting files, added extra info, samples and instructions, removed java logs) 2020-01-26 16:30:42 +04:00
Oleg Agafonov
e883ab0d97 Code cleanup (removed outdated server's config.properties settings) 2020-01-26 15:20:37 +04:00
Oleg Agafonov
b56587a383 Code cleanup (removed outdated client's config.properties settings) 2020-01-26 15:19:22 +04:00
jeffwadsworth
3510ac0957 - Fixed #6220 2020-01-24 11:09:26 -06:00
jeffwadsworth
fbcdda16d1 - Added some extra log clarity to Whirlwind Denial 2020-01-24 09:36:04 -06:00
Oleg Agafonov
7ea143a9a6
Merge pull request #6224 from brookeburkett/TaintedPactReadability
Fix for some readability issues using Tainted Pact
2020-01-24 15:18:54 +01:00
brookeburkett
d968894620 Update TaintedPact.java 2020-01-24 09:14:22 -05:00
jeffwadsworth
070ba24e05 - Refactored some cards to use the correct counter spell/ability method 2020-01-23 16:19:25 -06:00
jeffwadsworth
f432365197 - Added requested card Barbed Wire 2020-01-23 11:17:46 -06:00
jeffwadsworth
cb340e4709 - Revert changes made for bug #5437. See 2ca1643b54 2020-01-23 08:31:22 -06:00
Oleg Agafonov
b2af8a3887 * Dawn Evangel - fixed not working triggered ability; 2020-01-23 10:46:59 +04:00
Oleg Agafonov
2ca1643b54 * Delay triggered abilities - fixed that copied spell with multiple delayed triggered abilities can freeze the game or missing from stack (#5437); 2020-01-23 07:04:19 +04:00
jeffwadsworth
5aaec29361 - Workaround for #5437. The delayed triggers work correctly now and the game will no longer freeze. TODO: Cards that are copied and then cast do not retain the correct sourceObject. They instead point to the spell on the stack which fails when delayed triggers are used. 2020-01-22 16:57:01 -06:00
Oleg Agafonov
75ad7e73e0 Code cleanup 2020-01-23 01:49:26 +04:00