Commit graph

3344 commits

Author SHA1 Message Date
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
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
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
558eafce38 [SWS] added test Images Of the Past for (see #9797) 2023-03-04 18:29:17 +04:00
Oleg Agafonov
e8ffe90d41 Fixed test, fixed some code warnings 2023-02-25 15:21:48 +04:00
Alexander Novotny
32002101ad
Prevent backgrounds from being used as commanders no matter what (#10007) 2023-02-20 02:01:16 +00:00
Grath
3044bf2e23
Fix Twinning Staff to only happen when one or more copies would be made, and not zero. (#9843)
* Fix Twinning Staff to only apply when you're copying the spell at least one time.

* Fix test so it works
2023-01-27 21:10:03 -06:00
Evan Kranzler
d06fabf9bd fix test failures 2022-11-11 08:24:25 -05:00
Daniel Bomar
0405b8b401
Fix test failures 2022-11-09 17:14:03 -06:00
Przemyslaw Hugh Kaznowski
dc3d867584
Test fixes and improvements (#9733)
* Test fixes and improvements (for debugging)

* Remove set log level

* Remove info log from CardRepository

Co-authored-by: Hugh Kaznowski <raat_streetcam@simplelogin.com>
2022-11-06 08:47:27 -05: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
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 Vasile
9ea62a1862 [ZNR] Added tests for YasharnImplacableEarth 2022-10-29 22:32:50 -04:00
Evan Kranzler
3ed26a2b1f
Refactor effects which disable the "legend rule" (#9662) 2022-10-28 18:04:23 -04:00
Alex W. Jackson
3ad9663c39 Fix test and verify failures 2022-10-22 20:46:52 -04:00
Alex W. Jackson
7c1e823deb [ELD] Fix Once and Future. Remove unused Player.putInHand method 2022-10-20 00:51:54 -04:00
Evan Kranzler
569f0dcd1f add extra fail condition to test 2022-10-17 20:55:53 -04:00
Evan Kranzler
ce8a191f56 [DMU] fix #9655 2022-10-17 20:45:51 -04:00
Evan Kranzler
fb11a59099 fix test failure 2022-10-15 10:56:39 -04:00
Alex W. Jackson
332db3aecb Fix #9649 and clean up counter effect text generation 2022-10-14 00:41:02 -04:00
Alex Vasile
b0df785653 [C17] Added test for Curse of Opulence and EnchantedPlayerAttackedTriggeredAbility, and fixed range of influence bug. 2022-10-13 15:52:02 -03:00
Alex W. Jackson
4bf01249a4 Add new common effect class for Armored Transport, etc and fix #9614 2022-10-11 22:48:02 -04:00
Evan Kranzler
09797d4cf6 rework effects which increase loyalty abilities (closes #9626) 2022-10-10 18:01:58 -04:00
Alex Vasile
10ac777a28 Added tests for previously untested effects/values 2022-10-09 21:51:51 -03:00
Alex Vasile
55a6acba22
Refactor: Significant speed-up for ManaOptions (#9233) 2022-10-04 00:08:20 -04:00
Evan Kranzler
eedbdceddd [DMC] Implemented Primeval Spawn 2022-10-01 11:37:27 -04:00
Alex Vasile
5fa9a850b1 [DMC] Fix Zaxara triggered ability. Closes #9597. 2022-09-30 19:55:04 -04:00
Alex Vasile
5e450d5c72 [C21] Added test for Esix. Closes #8117. 2022-09-30 18:57:07 -04:00
Alex Vasile
cbecdefb9f [C13] Fixed Jeleva not exiling cards if killed in response to trigger. Closes #3476. 2022-09-29 22:23:26 -04:00
Oleg Agafonov
57efc02710 dev: mark test sub-projects as non-deployable (fixed build warning) 2022-09-29 17:59:08 +04:00
Oleg Agafonov
84d3ba5817 dev: removed outdated dependency (fixed build warning); 2022-09-29 17:43:58 +04:00
Alex W. Jackson
5b2e848065 Add test for flickering Animate Dead 2022-09-27 22:07:22 -04:00
Alex Vasile
01ee54d416
Add ignored failing test and fix bug for hybrid mana payments (#9566) 2022-09-27 21:51:49 -04:00
Alex W. Jackson
b1b78d6db0
Reimplement Animate Dead and friends; fixes #5250 (#9581) 2022-09-27 20:08:50 -04:00
Alex W. Jackson
17f6ca6b22 Fix #9562 and add test for Vazi 2022-09-24 09:57:22 -04:00
Jeff Wadsworth
c8e1cec846 - a possible fix for the "rare" test failures of Auratouched Mage test. 2022-09-23 10:42:18 -05:00
Alex Vasile
fd16f2a16b
[NCC] Implement several cards (#9328)
Many associated refactors too. See full PR for detail.
2022-09-22 21:38:29 -04:00
Alex W. Jackson
b7151cfa58 Add test for Tomik 2022-09-22 21:00:07 -04:00
Alex W. Jackson
3996127032
Fix copying fused spells; also fixes #9545 (#9546) 2022-09-22 01:59:21 -04:00
Alex Vasile
bb3564dd35 [AFC] Fixed Nihiloor not returning creature to previous controller after Nihiloor leaves the battlefield. Closes #9223. 2022-09-18 21:28:40 -04:00
Alex Vasile
7d57831ed0
Fix searching for split card halves returning full card in incorrect instances. (#9534) 2022-09-18 03:41:35 -04:00
Alex Vasile
b14af42280
[DMU] Karn's Sylex (#9507) 2022-09-17 22:37:56 -04:00
Evan Kranzler
d165072ac9
[DMU] Implement Defiler cycle (Ready for review) (#9460)
* [DMU] Implemented Defiler of Faith

* [DMU] Implemented Defiler of Dreams

* [DMU] Implemented Defiler of Flesh

* [DMU] Implemented Defiler of Instinct

* [DMU] Implemented Defiler of Vigor

* create PermanentPredicate

* initial attempt at Defiler ability

* some nonfunctional recommended changes

* a few more requested changes

* change arguments to ObjectColor from String

* fix a dumb mistake

* add test

* a few requested changes
2022-09-14 15:16:56 -04:00
Alex W. Jackson
c3ce7898de
[DMU] Implement Silver Scrutiny and fix #7326 (#9508) 2022-09-13 20:15:04 -04:00
Alex Vasile
0a62d96238 [USG] Planar Void no longer triggers on tokens entering the graveyard. Closes #9071. 2022-09-09 22:54:11 -04:00
Alexander Novotny
63b95bffa5
Fixed Ominous Roost (#9079)
Co-authored-by: Alex Vasile <48962821+Alex-Vasile@users.noreply.github.com>
2022-09-09 22:30:40 -04:00
Daniel Bomar
48df6902e1
[40K] Fixed Abaddon the Despoiler and enabled test (fixes #9490) 2022-09-08 11:35:42 -05:00
Alex Vasile
ba7e9f8600 [40K] Added currently failing and ignored test for #9490. 2022-09-08 09:16:50 -04:00
Alex Vasile
bfa5b6ab5f [NPH] Fix Hex Parasite wrong behaviour when X=0. Closes #9446. 2022-09-05 13:56:22 -04:00
PurpleCrowbar
58364784fb
[DMU] Implement Zur, Eternal Schemer (#9406) 2022-09-04 22:27:51 -04:00
Alex Vasile
9c59ec698d [GRN] Fix Wand of Vertebrae not working properly. Closes #9464 2022-09-04 20:43:21 -04:00
Alex Vasile
09b069ceb2
[DMU] Implement Thran Portal (#9456)
* [NCC] Implement Thran Portal

* Address comments

* Fixed usage of {this}
2022-09-04 14:50:44 -04:00
Alex Vasile
c16ead128b [NCC] Address comments for Lethal Scheme 2022-09-04 13:26:26 -04:00
Susucre
c2fd90877b
[NCC] Lethal Scheme (#9100) 2022-09-04 13:05:36 -04:00
Alex W. Jackson
addfd5166e Add new methods to Target and TargetPointer to help generate card rules text. Currently only used by ExileUntilSourceLeavesEffect 2022-09-04 05:15:12 -04:00
Alex Vasile
07a142c9e8
Refactor: Add proper support for modifying and querying base P/T (#9409) 2022-09-01 19:57:30 -04:00
RJayz
3c3ba6f5a9
[CLB] Implemented Gale, Waterdeep Prodigy (#9423) 2022-08-30 21:53:33 -04:00
Alex Vasile
7e3b0f98e6 [MOR] Fixed Shared Animosity incorrectly calculating creature count for boost effect. Closes #9428. 2022-08-29 22:17:07 -04:00
Alex Vasile
a29d5c70cb [AVR] Fixed Stolen Goods not working with dual face cards. Closes #9430. 2022-08-29 21:04:49 -04:00
Evan Kranzler
697586a552
[DMU] Implement Enlist ability (#9431)
* implement enlist ability

* remove skips for enlist

* [DMU] Implemented Guardian of New Benalia

* add test for enlist
2022-08-29 18:51:13 -04:00
RJayz
6e246ded6a
[CLB] Implemented Scion of Halaster (#9417) 2022-08-27 17:37:40 -04:00
Evan Kranzler
90bd0dbf63
Implement Read Ahead mechanic (#9407)
* implement Read Ahead mechanic

* [DMU] Implemented The World Spell

* [DMU] Implemented The Elder Dragon War

* added read ahead test

* fix verify failure

* small change to test

* fix read ahead text
2022-08-27 14:53:39 -04:00
Alex Vasile
258ec26fec Added tests to try to capture sacrifice lands automatically going to the graveyard. For #8980. 2022-08-26 20:59:49 -04:00
Alex Vasile
c670ec5764 Fixed intermittent test failure for Soul Warden 2022-08-26 20:22:57 -04:00
Alex Vasile
4368bae50c [LGN] Fixed Ward Sliver not properly giving protection. Closes #9418 2022-08-26 20:19:41 -04:00
Alex Vasile
ebd7d3ef15 Added extra test to explicitly test that it's not possible to target 2022-08-26 20:16:29 -04:00
Alex Vasile
20a50af475 Fixed typo in assertAbility 2022-08-26 19:10:39 -04:00
Alex Vasile
8bdd8b2bed Fix Ethereal Valkyrie test randomly failing (caused by AI the incorrectly tapping mana) 2022-08-26 18:17:38 -04:00
RJayz
6f461f9669
[CLB] Implemented Neera, Wild Mage (#9415) 2022-08-26 15:19:40 -04:00
Alex Vasile
b705ba48cf [CLB] Fixed Astarion's Thirst not giving counters properly. Closes #9414 2022-08-25 20:38:18 -04:00
Alex Vasile
4b9b419f2e Fixed Grips of Chaos test failing randomly, and added explanation 2022-08-25 20:19:49 -04:00
Alex Vasile
9d54aee3ba [CLB] Fix Myrkul's Edict not sacrificing creatures on 1-9. For #9381. 2022-08-25 15:54:10 -04:00
Alex Vasile
473ecc3292 [SNC] Fix Unlucky Witness not letting you play cards. Closes #9413. 2022-08-25 14:50:30 -04:00
Alex Vasile
37f4f40a2c Fix many tests with wrong commands 2022-08-25 00:52:20 -04:00
Alex Vasile
dca1b5e110 [BNG] Fix Astral Cornucopia not producing enough mana. Closes #9392. 2022-08-24 20:10:00 -04:00
Alex Vasile
ac13be90cf Fixed what is almost certainly a typo 2022-08-24 18:59:34 -04:00
Edoardo Mortara
77e61fe056
[CLB] Implement Banishment (#9400) 2022-08-23 18:25:28 -04:00
Alex Vasile
e5b66a34fd - Fixed bug ShanidSleepersScourgeTest
- Moved ShanidSleepersScourgeTest into correct folder
2022-08-23 09:55:07 -04:00
Alex Vasile
4999fb02b9 Fixed typo in assertAbilities 2022-08-23 09:53:48 -04:00
Evan Kranzler
681b882c6f fixed test failure 2022-08-23 09:44:32 -04:00
Edoardo Mortara
8aed9d473a
[DMC] Implement Shanid, Sleepers' Scourge (#9390) 2022-08-22 22:48:10 -04:00
Alex Vasile
9b2abfb1bb Fixed AnnihilatorTest 2022-08-22 12:44:22 -04:00
Alex Vasile
346be39f2a [STX] Fix Mage Duel cost reduction. Closes #9395. 2022-08-21 11:03:59 -04:00
Alex Vasile
5e6921b346 Added waitStackResolved to EtherealValkyrieTest to address warnings 2022-08-20 16:07:00 -04:00
Alex Vasile
b501669365 Removed all calls to assertAllCommandsUsed() and made it private since it will be automatically called 2022-08-20 07:52:01 -04:00
Alex Vasile
3c0951c350 Enabled assertAllCommandsUsed by default and fixed remaining tests 2022-08-20 07:36:32 -04:00
Alex Vasile
89466d0f8f Added test for Aura cards cast with Disturb. Closes #9360. 2022-08-12 23:46:46 -04:00
Alex Vasile
65122676e5 [KHC] Fix Ethereal Valkyrie and added tests. Closes #9361 2022-08-12 23:17:36 -04:00
Alex Vasile
c0c5c63284 Fixed "One mana of any color" abilities from allowing you to make {C}. Closes #9351. 2022-08-12 21:33:02 -04:00
Alex Vasile
8b71e0a444 [DEV] JDK 11+ support. All builds still target Java 1.8. 2022-08-05 00:17:00 -04:00
the-red-lily
2d56e23148
Copies of Approach of the Second Sun now cause lifegain (#9172) 2022-08-03 14:42:06 -04:00
Alex Vasile
c34c6a59df
Test for Copied Gilded Drake reverting control when killed (#9198) 2022-07-27 08:05:10 -04:00
Spencer Lanman
40fbb9af9b
[NCC] Implement Smuggler's Share (#9295) 2022-07-23 11:07:07 -04:00
Alex Vasile
9715021a35 Fixed GoadAllEffect from affecting creatures that ETB after it resolves. Closes #9227. 2022-07-17 19:41:45 -04:00
Alex Vasile
8c22db650a [CLB] Fixed connive fizzling on stack when permanent that connived leaves the battlefield. Closes #9252. 2022-07-17 18:24:35 -04:00
Alex Vasile
8878dc5cc7 Added failing ignore test for #7655 2022-07-17 13:23:58 -04:00