Commit graph

10810 commits

Author SHA1 Message Date
Oleg Agafonov
1bc4b9d675 Fixed NPE in ManaPaid events usage 2023-04-01 18:58:00 +04:00
Oleg Agafonov
ad3b76dae6 Fixed game error for few cards like Agent's Toolkit (fix NotSerializableException, #9580); 2023-04-01 18:52:31 +04:00
Oleg Agafonov
4bf3e43da6 * GUI: face down cards improved:
* now it show face up cards in game logs on game end;
 * now it show face up cards in battlefield on game end (#4635);
 * fixed that real card face was visible in network data;
2023-04-01 18:40:06 +04:00
Oleg Agafonov
d393ac9c60 Fixed NPE in some cards with exile zone (example: Draugr Necromancer) 2023-03-31 23:38:09 +04:00
theelk801
f339ec0904 [MOM] Implement Boon-Bringer Valkyrie 2023-03-30 19:40:36 -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
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
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
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
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
7b69628da2 Fix decayed zombie token, as described in #10139 2023-03-22 20:42:12 +00: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
PurpleCrowbar
2c15ac39fc Fix zombie tokens from MIC not displaying with images 2023-03-19 19:22:06 +00: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
PurpleCrowbar
bd2678242d Improve grammar and written clarity on Commander zone replacement effect. Still works with Oathbreaker 2023-03-15 03:49:26 +00: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
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
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
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
Merlingilb
716e7dc18d
Fixed Sith Manipulator: added new effect to send target permanent to owners library (#9800)
Co-authored-by: Daniel Eberhard <daniel.h.e@gmx.de>
2023-03-04 16:51:36 +04:00
Oleg Agafonov
409f4eb36c
Merge pull request #9814 from Merlingilb/add-set-expansion-star-wars-rise-of-skywalker
Added set expansion star wars "rise of skywalker"
2023-03-04 16:48:38 +04:00
sprangg
1a96b0f065
Game: making sure that the pick timer is always at least 1 second (unless it's set to 0 deliberately) (#9850)
Co-authored-by: sprangg <a@b.c>
2023-03-04 16:11:16 +04:00
Oleg Agafonov
c8e02755bb * Game: added additional match time limits (35, 45, 55 minutes, see #9866) 2023-03-04 16:00:38 +04:00
PurpleCrowbar
aef71f20a4 Fix infect insect token not appearing with ONC image 2023-03-02 22:01:26 +00:00
Rowan Gudmundsson
d5e74dd710
[CLB] Implement Lae'zel's Acrobatics. Changed similar cards to use common logic (#9856) 2023-03-01 18:50:14 +00:00
PurpleCrowbar
2b77d53f81 Fix doOnlyOnce clause on triggered abilities 2023-03-01 10:06:43 +00:00
Alexander Novotny
242490373e
[J22] Implement Preston, the Vanisher (#9860) 2023-02-28 14:39:02 +00:00
Alexander Novotny
78a2a5c712
Fix Maddening Hex. Closes #8320 (#9753) 2023-02-27 16:54:34 +00:00
PurpleCrowbar
84ca77f5cb Fix Phyrexian Wurm token name 2023-02-25 14:43:58 +00:00
PurpleCrowbar
580a69782c Add ONC token images 2023-02-25 14:40:29 +00:00
PurpleCrowbar
afde23e803 Add ONE token images 2023-02-25 14:06:06 +00:00
Oleg Agafonov
a4721487b1
Merge pull request #9762 from Susucre/bump_max_cards_per_deck
double max deck size (from 1000 to 2000)
2023-02-25 16:43:06 +04:00
Oleg Agafonov
930d18a77d * Alluring Siren - fixed that it forced to attack any player instead controller (#9939, #9963) 2023-02-25 16:21:07 +04:00
Oleg Agafonov
e8ffe90d41 Fixed test, fixed some code warnings 2023-02-25 15:21:48 +04:00
Oleg Agafonov
5c30467c48 Fixed wrong/miss numbers in card rules (see #10067 and prev commit) 2023-02-25 14:34:26 +04:00
Sean Walsh
4f82cc0287
[ONE] Implement Bladehold War-Whip (#10022) 2023-02-21 03:10:04 +00:00
Sean Walsh
9ab63b73ca
[ONE] Implement Kaito, Dancing Shadow (#10009) 2023-02-21 02:01:05 +00:00
Sean Walsh
4ac4ba2003
[ONE] Implement The Eternal Wanderer (#10000) 2023-02-20 19:39:00 +00:00
Merlingilb
9d1f6321cc
[ONE] Implement Eye of Malcator (#9993) 2023-02-19 02:48:51 +00:00
Merlingilb
5a0fe1266a
[ONE] Implement Charforger (#9986) 2023-02-17 22:36:34 +00:00
PurpleCrowbar
c0dfa160b1 Fix some string builder issues 2023-02-13 13:10:10 +00:00
Grath
7172027cde
[CLB] Implement Minthara, Merciless Soul (#9972) 2023-02-12 19:24:23 +00:00
PurpleCrowbar
a5d53cdb5d Fix Veteran Soldier. Closes #9028 2023-02-12 12:36:30 +00:00
PurpleCrowbar
b0384dc09c Fix build verify 2023-02-09 18:46:19 +00:00
PurpleCrowbar
f697f92a63
[ONE] Implement Vraska, Betrayal's Sting (#9933) 2023-02-09 18:19:30 +00:00
Grath
19c06e560a
[CLB] Implement Nalfeshnee (#9928) 2023-02-08 19:45:10 +00:00
Jeff Wadsworth
86de30f5b8 - Fixed #9943 2023-02-07 16:52:23 -06:00
Grath
419b9774e7
Fix #9948 (#9951)
- Reveal card tutored with Secret Entrance
- Grant hexproof from Throne of the Dead Three until next turn.
2023-02-06 14:15:47 +00:00
PurpleCrowbar
eb03669989 Fixed creatures that must attack being forced to attack players that have already lost the game 2023-02-03 02:23:57 +00:00
PurpleCrowbar
725c29182b Allowed getOpponents to filter out players who have lost the game. Fixes Corrupt mechanic, Mycosynth Fiend, etc 2023-02-03 02:23:10 +00:00
Grath
a151e979e5
[ONE] Implement Tekuthal, Inquiry Dominus (#9921) 2023-01-28 18:21:34 -05:00
jeff@delmarus.com
cdef28e1b4 - Reverted old fix 08d9e8cfa0. It is no longer required for Animate Dead and friends. 2023-01-28 11:34:46 -06:00
theelk801
a10180f30d simplify proliferate effect 2023-01-28 10:18:24 -05:00
bobwoco
7b8dd44e7a
Fix Mistmeadow Witch behavior when flickering itself; also fixes #8504 (#9880)
Co-authored-by: Ethan Ward <ethanandrewward@gmail.com>
2023-01-27 21:07:45 -06:00
theelk801
f942c36651 consolidate effects which add counters to players 2023-01-26 08:36:12 -05:00
PurpleCrowbar
112f7af0fb Add DMR token images 2023-01-26 03:55:05 +00:00
theelk801
602e622c7d [ONE] Implement Infectious Bite 2023-01-25 09:13:10 -05:00
theelk801
fd4a36788d [ONE] Implement Goliath Hatchery 2023-01-21 11:50:50 -05:00
theelk801
5e7514ae4f update toxic ability reminder text 2023-01-20 17:47:33 -05:00
PurpleCrowbar
852c82aa18 Fix C21 Construct token images 2023-01-18 02:21:01 +00:00
AhmadYProjects
e66637c865
[ONE] Implement Thrun, Breaker of Silence (#9882)
* Adding Thrun to PhyrexiaAllWillBeOne

* Adding Thrun to PhyrexiaAllWillBeOne

Co-authored-by: AhmadYProjects <yousufa@kean.edu>
2023-01-17 08:58:41 -05:00
theelk801
43c9a98ecd [ONE] Implement Nissa, Ascended Animist 2023-01-16 16:57:43 -05:00
theelk801
0e4483dd7c [ONE] Implement Jor Kadeen, First Goldwarden 2023-01-16 14:51:45 -05:00
theelk801
39270046d2 [ONE] Implement Venser, Corpse Puppet 2023-01-15 14:34:49 -05:00
theelk801
6e6a08fe78 [ONE] Implement Urabrask's Forge 2023-01-15 14:23:38 -05:00
theelk801
630617b6d0 [ONE] Implement Ovika, Enigma Goliath 2023-01-15 11:54:53 -05:00
theelk801
4079b8772a [ONE] Implement Ezuri, Stalker of Spheres 2023-01-14 20:49:32 -05:00
theelk801
d244e52ede [ONE] Implement Skrelv's Hive 2023-01-14 14:34:34 -05:00
theelk801
7ca7ed52d4 [ONE] Implement Mirrex 2023-01-14 14:34:34 -05:00
theelk801
4acd7d6604 [ONE] Implement Bloated Contaminator 2023-01-14 14:34:24 -05:00
PurpleCrowbar
c1d425ba09
[ONE] Implement Koth, Fire of Resistance (#9825) 2023-01-14 14:34:14 -05:00
theelk801
a71aa3102b [ONE] Implement The Monumental Facade 2023-01-13 21:37:46 -05:00
theelk801
73037f710e [ONE] Implement Dragonwing Glider 2023-01-13 21:29:02 -05:00
PurpleCrowbar
a7f2938993 Fix C21 Beast token image 2023-01-13 21:15:47 +00:00
PurpleCrowbar
6027d7e987 Fix rat token images displaying incorrectly 2022-12-18 00:21:54 +00:00
Daniel Eberhard
9abb4d3091 Added card "Unpleasant Discovery" and its abilities and effects 2022-12-17 21:56:35 +01:00
Daniel Eberhard
b89ba1b229 Added card "Training Droid" and its abilities and effects 2022-12-17 20:53:17 +01:00
Daniel Eberhard
d7936a890c Added card "Rey Skywalker" and its abilities and effects 2022-12-17 04:01:59 +01:00
Daniel Eberhard
074a4e6411 Added card "Dyad Force Transfer" and its abilities and effects 2022-12-14 14:05:01 +01:00
Daniel Eberhard
64ad1f5984 Added card "Droidsmith" and its abilities and effects 2022-12-14 13:24:22 +01:00
Daniel Eberhard
cfad8d5078 Added card "Allegiant General Pryde" and its abilities and effects 2022-12-14 05:29:43 +01:00
Daniel Eberhard
32ff6ada7b Added card "A Jedi's Fervor" and its abilities and effects 2022-12-13 19:45:24 +01:00
PurpleCrowbar
267d0a7e42 Fix MH2 treasure tokens' images not displaying 2022-12-09 12:49:35 +00:00
Evan Kranzler
2d2438ba66 fix melee ability counting planeswalkers 2022-11-27 17:28:33 -05:00
sprangg
0627dc4640
More draft stability (#9718) 2022-11-25 11:44:14 -05:00
Evan Kranzler
0069f6181b [J22] Implement Daring Piracy 2022-11-24 08:46:15 -05:00
Evan Kranzler
23bd6f6919 [J22] Implement Coalborn Entity 2022-11-23 20:14:29 -05:00
Evan Kranzler
d3bddc813a [J22] Implement Lita, Mechanical Engineer 2022-11-22 10:08:43 -05:00
Evan Kranzler
4700fe99c1 small text fix 2022-11-21 20:04:53 -05:00
Evan Kranzler
470d1519c9 [J22] Implement Kibo, Uktabi Prince 2022-11-21 19:13:15 -05:00
Evan Kranzler
37c68e8826 create shared class for token creation effects for all players 2022-11-21 18:56:20 -05:00
PurpleCrowbar
5784532484 Add BRC token images 2022-11-19 02:34:56 +00:00
PurpleCrowbar
2ff33f2b94 Add BRO token images 2022-11-19 01:58:45 +00:00
Susucre
f0cbbe23cc double max deck size 2022-11-15 14:05:25 +01:00
PurpleCrowbar
4264d7fa11 [BRO] Fix Forest Dryad tokens not tapping for mana 2022-11-13 00:35:14 +00:00
Evan Kranzler
6f1d9fce9c [BRC] fix The Archimandrite errors 2022-11-12 14:07:32 -05:00
Evan Kranzler
d06fabf9bd fix test failures 2022-11-11 08:24:25 -05:00
Evan Kranzler
9e57437ae1 [BRO] Implement Arms Race 2022-11-10 22:10:32 -05:00
Evan Kranzler
ad67623763 [BRO] Implement Myrel, Shield of Argive 2022-11-10 10:04:30 -05:00
PurpleCrowbar
9f1191f18c Add 40K token images 2022-11-10 00:19:08 +00:00
PurpleCrowbar
b44dc7335e
[40K] Implement Inquisitor Eisenhorn (#9678)
* [40K] Implement Inquisitor Eisenhorn

* Add Cherubael file author

* Fixed Inquisitor Eisenhorn failing to reveal top card of library as its drawn
2022-11-09 22:49:31 +00:00
Evan Kranzler
f4155bb220 [BRO] Implement Portal to Phyrexia 2022-11-09 09:16:11 -05:00
Evan Kranzler
5a8bea6e9c [BRC] various text fixes 2022-11-08 19:11:22 -05:00
Evan Kranzler
7e550f463f [BRO] various text fixes 2022-11-08 18:51:01 -05:00
Daniel Bomar
d8fa5eaeee
[BRO] Implemented Ashnod's Intervention 2022-11-08 16:43:03 -06:00
PurpleCrowbar
cbf53f68a4 Add token images to GN3 2022-11-08 16:11:59 +00:00
Evan Kranzler
4cb8466d07 [BRO] Implement The Temporal Anchor 2022-11-08 08:31:12 -05:00
Przemyslaw Hugh Kaznowski
213b5fddc6
Change ManaTest to use JUnit 5 instead of JUnit 4 for #9738 (#9739) 2022-11-06 21:05:15 -05:00
Evan Kranzler
f097e9763d [BRC] Implement Glint Raker 2022-11-06 18:44:52 -05:00
Evan Kranzler
cf9a4a4eab [BRC] Implement Ashnod, the Uncaring 2022-11-06 12:24:44 -05:00
Evan Kranzler
5352ce8595 [BRO] Implement Mask of the Jadecrafter 2022-11-06 11:26:21 -05:00
PurpleCrowbar
63c1325f37
[BRO] Implement Saheeli, Filigree Master (#9735)
* [BRO] Implement Saheeli, Filigree Master

* Add some comment text to Saheeli, Filigree Master's emblem
2022-11-06 08:43:33 -05:00
Evan Kranzler
788d49cbc5 [BRC] Implement Farid, Enterprising Salvager 2022-11-05 17:59:22 -04:00
Evan Kranzler
b246631db6 [BRC] Implement Urza's Workshop 2022-11-05 16:22:41 -04:00
Daniel Bomar
bd8612d25d
[BRO] Implemented Demolition Field 2022-11-05 12:25:01 -05:00
Evan Kranzler
a3dac3962e [BRO] Implement Wasteful Harvest 2022-11-05 11:37:28 -04:00
Evan Kranzler
3cf0c4a40c [BRO] Implement Blanchwood Prowler 2022-11-05 11:31:01 -04:00
Evan Kranzler
e0cc1db4fe [BRO] Implement Trench Stalker 2022-11-05 10:19:53 -04:00
Alex W. Jackson
ff777c5687 [STX] Simplify Strict Proctor trigger check 2022-11-05 04:49:15 -04:00
Alex W. Jackson
a9cf4154e5 [DMC] Fix Historian's Boon. Remove unused and incorrectly-implemented EventType.ABILITY_TRIGGERED 2022-11-05 04:49:15 -04:00
Alex Vasile
6f0cdc6032 [NCC] Fixed Phabine, Boss's Confidant not working properly (and added hint to ParleyCount). Closes #9603. 2022-11-04 22:28:49 -04:00
Evan Kranzler
17bac7fb44 [BRO] Implement Weakstone's Subjugation 2022-11-04 10:04:32 -04:00
Evan Kranzler
5ce49762c0 [BRO] Implement Kill-Zone Acrobat 2022-11-04 08:35:58 -04:00
Alex W. Jackson
10d7acb4b5
Create common class for "when target dies this turn" delayed triggers (#9722)
Fixes #9716. Fixes #9719.
2022-11-04 05:27:56 -04:00
Daniel Bomar
c869acbdcf
[BRO] Implemented Kayla's Command 2022-11-03 14:57:54 -05:00
Evan Kranzler
eba3f8dbc0 [BRO] Implement Awaken the Woods 2022-11-03 09:08:41 -04:00
Daniel Bomar
7af7654c80
Merge pull request #9720 from PurpleCrowbar/ashnod-flesh-mechanist
[BRO] Implement Ashnod, Flesh Mechanist
2022-11-02 21:51:39 -05:00
Evan Kranzler
ee92809a10 [BRO] Implement Clay Champion 2022-11-02 21:39:11 -04:00
Daniel Bomar
867fa64156
[BRO] Implemented Gix's Command 2022-11-02 20:24:20 -05:00
Evan Kranzler
d2f5d8dbed change ManaSpentToCastCondition to enum 2022-11-02 19:41:57 -04:00
Daniel Bomar
7244700fdb
[BRO] Implemented Gixian Puppeteer 2022-11-02 15:07:44 -05:00
Evan Kranzler
beacccf558 [BRO] Implement Evangel of Synthesis 2022-11-02 09:56:17 -04:00
PurpleCrowbar
afec3086da [BRO] Implement Ashnod, Flesh Mechanist 2022-11-02 01:48:53 +00:00
Evan Kranzler
b245dd036f [BRO] Implemented Thran Spider 2022-10-31 09:44:25 -04:00
Daniel Bomar
28e3c68570
[BRO] Implemented Teferi, Temporal Pilgrim (#9692) 2022-10-31 08:59:59 -04:00
Daniel Bomar
9410434f05
[BRO] Implemented In the Trenches (#9704) 2022-10-30 22:28:56 -04:00
Evan Kranzler
0b0ad8e223 [BRO] Implemented Rust Goliath and dummy Prototype ability 2022-10-30 18:18:47 -04:00
Alex Vasile
98580b08ff Clean up tests by removing deprecated calls to assertThat and unnecessary use of hamcrest 2022-10-30 16:20:23 -04:00
Alex W. Jackson
a01c1077ad GameEvent: remove TRANSFORM which is no longer used, and UNFLIP which is explicitly impossible under the rules 2022-10-30 04:05:27 -04:00
Alex W. Jackson
414613623a Fix #9709 2022-10-30 03:17:14 -04:00
Evan Kranzler
4bdd1cb2e3 [BRC] Implemented Blast-Furnace Hellkite 2022-10-29 10:34:40 -04:00