Commit graph

45648 commits

Author SHA1 Message Date
ssk97
7cb669603f
[WHO] Time Reaper, Add target adjuster for "that player controls/owns" damage trigger targets (#12528)
* Implement Time Reaper, start rework

* Create DamagedPlayerControlsTargetAdjuster, convert Aberrant to use it

* Always add targets for EachOpponentPermanentTargetsAdjuster

* Improve target name, finish Time Reaper

* Convert some cards

* Improve documentation, more cards

* More cards, fix cards that needed to use owner instead of controller

* Fix unfinished AlelaCunningConqueror changes

* more cards

* All remaining cards

* Fix target type

* Remove outdated attempt at TargetController.SOURCE_EFFECT_TARGET_POINTER

* Finish removal of SOURCE_EFFECT_TARGET_POINTER

* Change targetAdjuster blueprint target to be set inside setTargetAdjuster, add error checking

* Always add Target Adjuster after Target

* Add comment

* Fix TolarianContemptTest to skip opponent with no valid targets

* Forgot to git add the new abstract GenericTargetAdjuster

* Test now possible after merge, fix missed ChangeOfPlans adjuster order

* Text and optional-ness fixes

* Always set target pointer
2024-07-02 08:46:14 +04:00
Oleg Agafonov
bccf323c0f refactor: clean, added comments and todos to meld related code, fixed miss copy (related to #12544) 2024-07-01 22:43:58 +04:00
Oleg Agafonov
ddb7e21dc2 Salvation Swan - improved to store exiled cards in shared exile window (related to #12544) 2024-07-01 22:29:37 +04:00
Oleg Agafonov
dc86ec1081 GUI: fixed that some triggered stack abilities do not show related/targeted objects in card hint (related to #12544) 2024-07-01 22:28:04 +04:00
Oleg Agafonov
858b0aadde tests: fixed random test fails for Salvation Swan 2024-07-01 16:35:53 +04:00
Oleg Agafonov
ce15d190e1 refactor: additional todos for players lists 2024-07-01 16:25:55 +04:00
Oleg Agafonov
1e2d179410 multiple player/opponent choose - fixed that game ask players in random order instead APNAP (closes #12532);
game: fixed wrong player restore for TestPlayer and SimulatedPlayer2;
2024-07-01 13:22:58 +04:00
Oleg Agafonov
eee1462eba Aclazotz, Deepest Betrayal // Temple of the Dead - added card hint for second side, refactored to use standard methods 2024-07-01 13:11:23 +04:00
Oleg Agafonov
656c5ed326 Howltooth Hollow - added card hint 2024-07-01 13:09:45 +04:00
Susucre
5016a57397 fix and test [CMM] Narci, Fable Singer 2024-06-30 14:50:35 +02:00
Susucre
2709614508 tweak [BLB] Salvation Swan's effect, and add test with Meld. 2024-06-30 13:57:31 +02:00
xenohedron
2bdf27897f cleanup to use appropriate method 2024-06-29 23:20:22 -04:00
xenohedron
9863e23435 refactor: ChoiceImpl constructor must specify whether required
changed a few others to required where clearly applicable
2024-06-29 22:57:47 -04:00
xenohedron
bdeb4ed7ae add hint to Spelleater Wolverine 2024-06-29 22:45:29 -04:00
xenohedron
5aaf6fe773 fix required choice on ability counter 2024-06-29 22:39:41 -04:00
Susucre
62a99a0497 implement [BLB] Salvation Swan 2024-06-29 18:38:00 +02:00
Susucre
d29c57d2af implement [BLB] Might of the Meek 2024-06-29 17:21:29 +02:00
Susucre
b59f8e889d implement [BLB] Carrot Cake 2024-06-29 17:03:33 +02:00
Susucre
65828866ec implement [BLB] Early Winter 2024-06-29 16:49:13 +02:00
theelk801
f4ebb67abf some requested fixes 2024-06-28 22:22:42 -04:00
theelk801
17db6be4aa [BLB] Implement Pearls of Wisdom 2024-06-28 15:45:25 -04:00
theelk801
04e3172d14 [DSK] Implement Doomsday Excruciator 2024-06-28 15:38:37 -04:00
theelk801
f53fb22916 [DSK] Implement Cursed Recording 2024-06-28 15:27:30 -04:00
theelk801
f0a77a8551 [DSK] Implement Leyline of Hope 2024-06-28 15:12:14 -04:00
theelk801
606a4a4e49 [DSK] Implement The Wandering Rescuer 2024-06-28 11:06:55 -04:00
theelk801
25df850149 [BLB] Implement Sunshower Druid 2024-06-28 11:06:54 -04:00
theelk801
8afe45ecbc [BLB] Implement Oakhollow Village 2024-06-28 11:06:54 -04:00
theelk801
561a4083ea [BLB] Implement Rockface Village 2024-06-28 11:06:54 -04:00
theelk801
56f0f9b9a3 [BLB] Implement Mudflat Village 2024-06-28 11:06:54 -04:00
theelk801
043e4b8050 [BLB] Implement Lilypad Village 2024-06-28 11:06:54 -04:00
theelk801
f45af22fbb [BLB] Implement Lupinflower Village 2024-06-28 11:06:54 -04:00
theelk801
f3918fb0ac [BLB] update spoiler 2024-06-28 11:06:54 -04:00
theelk801
7854fc7cc0 [DSK] update spoiler and reprints 2024-06-28 11:06:54 -04:00
theelk801
f678320823 [FDN] Implement Anthem of Champions 2024-06-28 11:06:54 -04:00
theelk801
3c3af396ef [FDN] add set 2024-06-28 11:06:53 -04:00
Oleg Agafonov
d7ac82efb3 tests: fixed test with TxtDeckImporterTest 2024-06-28 18:49:07 +04:00
theelk801
91f2e3155f fix basic land flag 2024-06-27 18:31:00 -04:00
theelk801
535f2a8cf7 [DSK] Implement Enduring Tenacity 2024-06-27 18:06:54 -04:00
theelk801
b99fa71444 [DSK] add set 2024-06-27 13:42:21 -04:00
Oleg Agafonov
dbdfef8e55 dev: fixed wrongly ignored files with target implementations (closes #12529) 2024-06-27 07:01:12 +04:00
xenohedron
70c11361f0 fix #12530 (Indomitable Might) 2024-06-26 20:54:13 -04:00
theelk801
55f3b4c2d9 [ACR] make set modern legal 2024-06-26 13:42:53 -04:00
Oleg Agafonov
3f5d2bb9b5 Implement [M3C] Gluttonous Hellkite (part of #12206, related to #12393) 2024-06-26 10:18:55 +04:00
Oleg Agafonov
c3903dc550 tests: added support of TargetStackObject (example: counter activated or triggered ability) 2024-06-26 10:18:55 +04:00
xenohedron
2d717f9f36 reduce frequency of random test failure 2024-06-26 00:37:40 -04:00
grimreap124
89738d8675
Implement [ACR] Desmond Miles (#12497) 2024-06-25 23:23:01 -04:00
ssk97
2daa2b8820
[PIP] and [WHO] card implementations (#12482)
* Last Night Together

* Nanogene Conversion

* Return the Past

* Rose, Cutthroat Raider

* Diamond City

* Fix Apostrophe

* Various fixes

* Replace Diamond City and Celebration Watchers

* LastNightTogether improvements, add hint to ReturnThePast

* Add AttackedThisTurnOpponentsCount hint, ignore new failing Celebration test

* Review fixes, also create ValueConditionHint for value hints with a conditional threshold

* Comments improvements

* Requested changes to make ValueConditionHint extend ConditionHint

* single super call in ValueConditionHint constructor
2024-06-25 23:22:45 -04:00
ssk97
e367aeae25
fix Tolarian Contempt; add tests (#12523) 2024-06-25 23:22:29 -04:00
grimreap124
36720e8e29
Implement [M3C] Bismuth Mindrender (#12408) 2024-06-25 22:56:25 -04:00
grimreap124
a99da54229
Implement [M3C] Aurora Shifter (#12336) 2024-06-25 22:56:15 -04:00