Commit graph

40347 commits

Author SHA1 Message Date
Oleg Agafonov
cbfdb7896e * Create a token that's a copy - fixed that some cards can cause the game error with MDF cards (example: Haunting Imitation) 2023-03-26 23:16:04 +04:00
Oleg Agafonov
2355dfead4 * [C19] Rayami, First of the Fallen - fixed game error on usage with tokens 2023-03-26 22:54:57 +04:00
Oleg Agafonov
a648268c4c * Howlpack Avenger - fixed game error on usage (#9781) 2023-03-26 22:45:23 +04:00
Oleg Agafonov
b632d89caa Refactor: fixed wrong usage of getSourceObjectIfItStillExists (fixed error "cannot be cast to Permanent"); 2023-03-26 13:10:00 +04:00
Oleg Agafonov
bfba179bdf * Body Count - fixed game error on usage (miss watcher) 2023-03-25 16:16:11 +04:00
Oleg Agafonov
f9c82bee99 * Malcator, Purity Overseer - fixed game error on usage (miss watcher) 2023-03-25 16:09:35 +04:00
Oleg Agafonov
a15a0daa04 Fixed potential NPE errors in getPhase usage (fixed Berserker's Frenzy, etc) 2023-03-25 16:01:27 +04:00
Oleg Agafonov
cfd7464b49 Refactor: added edit protection for some unmodifiable lists 2023-03-25 15:22:13 +04:00
Oleg Agafonov
1d17895caa Tests: fixed travis-ci on too much logs 2023-03-25 15:20:51 +04:00
Oleg Agafonov
a7ab25a5b5 * Your opponents can't cast - fixed game error on some usage (NPE fix) 2023-03-25 15:14:02 +04:00
Oleg Agafonov
22552ede47 * Goad all ability: fixed game error in some use cases (NPE fix) 2023-03-25 14:54:40 +04:00
Oleg Agafonov
c96805a307 Tests: added logs on wrong usage of choice commands in non-strict mode 2023-03-25 14:45:50 +04:00
Oleg Agafonov
6568f75b98 * First Come, First Served - fixed game error with tokens usage 2023-03-25 14:10:37 +04:00
Oleg Agafonov
fe073bba0b Game: fixed NPE on draft auto-pickup on timeout 2023-03-25 14:00:07 +04:00
Oleg Agafonov
66d0ef4b35 Refactor cards and token images code (#10139):
- removed outdated token store format (example: BIRD.W.BIRD.CREATURE.1.1.full.jpg)
 - removed duplicated cache images code;
 - removed duplicated set code fields;
 - removed outdated auto-generated thumb files (also all *.thumb.zip files will be deleted on startup);
2023-03-24 06:44:11 +04:00
PurpleCrowbar
d93e533c75 Clean up Ghoulcaller Gisa code, fix zombie tokens created not having images in some sets 2023-03-23 20:19:24 +00:00
Oleg Agafonov
8f742081b6 Tests: improved logs on wrong ability command usage 2023-03-23 23:38:43 +04:00
Oleg Agafonov
d019acbd55 Tests: improved addCard command, now it can add card from specific set (use 40K:Plains as card name param, #10139) 2023-03-23 23:17:34 +04:00
PurpleCrowbar
92706d23cb Fix VOW zombie token image not showing 2023-03-23 14:45:26 +00:00
PurpleCrowbar
3692e05dac Add zombie count hint to The Scarab God 2023-03-23 01:49:42 +00:00
PurpleCrowbar
7b69628da2 Fix decayed zombie token, as described in #10139 2023-03-22 20:42:12 +00:00
Oleg Agafonov
77209073e9 Tests: improved mtgjson's card search in verify, added debug info to mtgjson's data; 2023-03-21 17:19:57 +04:00
Oleg Agafonov
6200b43a8d Refactor: improved images download logs 2023-03-21 16:31:33 +04:00
Oleg Agafonov
af5d8fae9d * Images: fixed wrong cards number in some sets (#9249); 2023-03-21 16:13:54 +04:00
Oleg Agafonov
e8734702a6 Improved verify tests:
- added check for wrong symbols in card number;
 - added check for miss cards in the set (run manually test_checkWrongCardsDataInSets);
 - improved performance;
2023-03-21 16:12:12 +04:00
Oleg Agafonov
a7480aeab1 * Game: fixed random sort order of choices in choose dialogs 2023-03-21 03:11:55 +04:00
Oleg Agafonov
6b05562336 * Choose an ability - fixed not working cards like Argivian Avenger, Atraxas Skitterfang, Steel Seraph (#10115) 2023-03-21 01:59:12 +04:00
Oleg Agafonov
ea10b025e0 [NEC] removed omitted card from the set: Nissa, Voice of Zendikar 2023-03-21 00:23:04 +04:00
Oleg Agafonov
9a1d3a892c [YMID] fixed wrong PT for Obsessive Collector and Tireless Angler 2023-03-20 23:05:36 +04:00
Oleg Agafonov
ce06ed62b0 * Images: fixed miss cards from Alchemy: Innistrad, Secret Lair Drop, PMEI and PRES (#9249); 2023-03-20 22:31:26 +04:00
Oleg Agafonov
d757a22acf Tests: fixed miss cards from mtgjson checks in verify 2023-03-20 22:28:04 +04:00
PurpleCrowbar
2c15ac39fc Fix zombie tokens from MIC not displaying with images 2023-03-19 19:22:06 +00:00
PurpleCrowbar
2631250bc0 Fix Burning-Rune Demon not revealing cards 2023-03-19 18:44:32 +00:00
Oleg Agafonov
ca993eae39 * GUI: added visual progress bar in download images dialog (#8566) 2023-03-19 21:53:53 +04:00
Oleg Agafonov
e48f024909 * Game: fixed wrong booster's cards ratio in sets with various arts (#7333) 2023-03-19 19:55:21 +04:00
Oleg Agafonov
00ebef654f * GUI: fixed random/richman tourney settings that allows to freeze the client (#8224); 2023-03-17 23:04:11 +04:00
Oleg Agafonov
0bcf0320d0 Server: fixed warn message about miss messages file in dev environment 2023-03-17 23:02:01 +04:00
PurpleCrowbar
bd2678242d Improve grammar and written clarity on Commander zone replacement effect. Still works with Oathbreaker 2023-03-15 03:49:26 +00:00
Grath
4f3d99d5d5
Merge branch 'magefree:master' into master 2023-03-12 22:28:27 -04:00
PurpleCrowbar
03b82ff7ee Fix multiple cards not saying which revealed cards were chosen to put into hand. Closes #9949 2023-03-12 22:01:11 +00:00
Oleg Agafonov
e2271d79fb Refactor: added auto-generated readable readme file to releases 2023-03-12 13:56:29 +04:00
Oleg Agafonov
7880d6cc43 Refactor: removed outdated files, added actual license and readme to releases 2023-03-11 21:20:16 +04:00
Oleg Agafonov
4e9ffdfaf9 * GUI: double faced cards improves:
* fixed images download for alternative prints (#9826, #9701);
 * fixed wrong pair of main and second side arts for alternative prints;
2023-03-11 17:35:18 +04:00
Oleg Agafonov
18a3ec5247 DB: fixed wrong result for night cards search (fixed double faced cards in test render dialog) 2023-03-11 12:28:58 +04:00
chesse20
29e1c9b318
[USG] Fix Shower of Sparks (#10106)
Co-authored-by: Alex W. Jackson <alex.w.jackson@gmail.com>
2023-03-09 19:16:06 -05:00
Oleg Agafonov
d67376641a GUI: fixed wrong card icon rendering after theme change 2023-03-09 22:07:21 +04:00
Oleg Agafonov
743143acde * GUI: meld cards improves:
* added images download for melds cards (#9660);
 * added switch card side button to view a meld part;
 * fixed NPE and other errors on card side switching;
 * added meld cards support in test render dialog;
2023-03-09 21:36:39 +04:00
Grath
a930420a78 [TMP] Fix Dracoplasm replacing its Enters the Battlefield effect entirely
Replacement effects should only return true if they are replacing the entire effect. Because it just modifies the ETB, it needs to always return false.
2023-03-06 10:57:05 -05:00
bobwoco
6102ccee53
* Clash ability - fixed that some clash cards can broke the server (#10097)
Co-authored-by: Ethan Ward <ethanandrewward@gmail.com>
2023-03-05 11:29:46 +04:00
miesma
846a00b472 Removed Debug 2023-03-04 18:44:58 +01:00