Commit graph

12172 commits

Author SHA1 Message Date
theelk801
7c54362e9d [BLB] Implement Wandertale Mentor 2024-07-11 10:04:23 -04:00
theelk801
d32b138615 [BLB] Implement Brightblade Stoat 2024-07-10 23:12:55 -04:00
Evan Kranzler
43e95fd0cf
[BLB] Implement forage mechanic (#12569)
* [BLB] Implement Corpseberry Cultivator

* [BLB] Implement Thornvault Forager

* fix verify failure
2024-07-10 22:57:22 -04:00
Evan Kranzler
f036bc75fb
refactor: dedicated condition for threshold (#12570)
* create threshold condition, refactor cards to use it

* fix threshold condition

* a couple more text fixes

---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2024-07-10 20:21:17 -04:00
theelk801
cadeeeee66 [BLB] Implement Tender Wildguide 2024-07-10 16:27:03 -04:00
xenohedron
65217d7f89 merge fix 2024-07-09 23:44:51 -04:00
xenohedron
219eac2087 text fixes 2024-07-09 23:40:48 -04:00
xenohedron
ec399ba09f cleanup CardsInHandCondition 2024-07-09 23:29:43 -04:00
xenohedron
122df0d6fb fix regression on The End 2024-07-09 23:04:38 -04:00
xenohedron
03e90f9f5b adjust ValiantTriggeredAbility 2024-07-09 22:44:47 -04:00
theelk801
6a323a467c [BLB] Implement Seedglaive Mentor 2024-07-09 16:36:01 -04:00
theelk801
1d9cc2a87f [DSK] Implement Chainsaw 2024-07-06 14:56:15 -04:00
theelk801
2b970d676c [DSK] Implement Toby, Beastie Befriender 2024-07-06 14:42:40 -04:00
Susucre
3acab4a76d implement [DSK] Screaming Nemesis 2024-07-06 18:55:53 +02:00
Susucre
9bc1289341 implement [ACR] Senu, Keen-Eyed Protector ; small refactor on AttacksAndIsNotBlockedTriggeredAbility's setTargetPointer 2024-07-06 18:29:53 +02:00
ssk97
74804a468e
Additional fixes for target adjusters, part of #12528 (#12550)
* Add support for non-permanent targets to EachOpponentPermanentTargetsAdjuster, add ownership check
* Rename EachOpponentPermanentTargetsAdjuster to ForEachOpponentTargetsAdjuster
2024-07-02 11:57:56 +04:00
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
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
Susucre
2709614508 tweak [BLB] Salvation Swan's effect, and add test with Meld. 2024-06-30 13:57:31 +02: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
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
b59f8e889d implement [BLB] Carrot Cake 2024-06-29 17:03:33 +02: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
535f2a8cf7 [DSK] Implement Enduring Tenacity 2024-06-27 18:06:54 -04:00
Oleg Agafonov
3f5d2bb9b5 Implement [M3C] Gluttonous Hellkite (part of #12206, related to #12393) 2024-06-26 10:18:55 +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
0e84fd02a0
[MKM] implement remaining 4 Cloak cards (#12509)
* EtrataDeadlyFugitive

* refactor: remove need for Zone.BATTLEFIELD for DealsDamageToAPlayerAllTriggeredAbility with opponent restriction

* ExposeTheCulprit

* HideInPlainSight

* VannifarEvolvedEnigma

* Fix for not turning manifested non-permanents face-up, per 701.34g

* Add comment on Etrata's unusual behavior
2024-06-25 22:55:58 -04:00
Oleg Agafonov
8a4a23bb8f game: improved cost tags to support card hints on stack (example: evidence, fixes #12522); 2024-06-25 18:25:08 +04:00
Oleg Agafonov
74b3d26a41 merge fix 2024-06-25 10:34:47 +04:00
Oleg Agafonov
e7b8eecd64 Evidence abilities - added improved card hint with available evidence to collect 2024-06-25 10:30:50 +04:00
Oleg Agafonov
e507627dae game: fixed wrong logs formatting on multiple targets 2024-06-25 10:27:00 +04:00
ssk97
f53954d56a
implement [MKM] Deadly Cover-Up; refactor to common class (#12500)
* Genericize most variants of SearchTargetGraveyardHandLibraryForCardNameAndExileEffect

* Implement Deadly Cover-Up

* int maxAmount instead of boolean maxFour, use player.chooseTarget

* Fix Surgical Extraction test, use withNotTarget for exile choices

* Add tests, fix MDFC's back sides' names from being matched against
2024-06-24 23:58:57 -04:00
theelk801
605538f145 [ACR] Implement Distract the Guards 2024-06-23 10:08:19 -04:00
Oleg Agafonov
dc0942fac2 merge fix 2024-06-23 16:12:26 +04:00
Oleg Agafonov
72586616ae GUI: added HD screen support (resizing) for player panels (preferences settings under development, part of #12455, #12451, #7563); 2024-06-23 16:07:18 +04:00
Oleg Agafonov
7d675de876 server: fixed server app freeze on another instance already running, improved threads usage (related to #11285); 2024-06-23 15:58:25 +04:00
Jeff Wadsworth
0a43ea83e6 Refactored Apex Observatory 2024-06-22 19:02:31 -05:00
grimreap124
249935bd1b
[ACR] Implement Escape Detection (#12501)
* ACR-Implement-Escape-Detection

* ACR-Implement-Escape-Detection
2024-06-22 19:50:41 -04:00
Grath
f96343eec8
Fix Maarika, Brutal Gladiator trigger to use LKI. (#12507)
* Fix Maarika, Brutal Gladiator trigger to use LKI.

Fixes #8775

* Fix more instances of getting permanent or LKI from first target.

* Two more instances of getting permanent or LKI from first target.
2024-06-22 17:55:03 -04:00
grimreap124
aa216dc742
Implement [ACR] Rooftop Bypass (#12491)
* Implement-ACR-Rooftop-Bypass

* Implement-ACR-Rooftop-Bypass
2024-06-22 12:15:03 -04:00
Susucre
64e08b49b1 fix cost reduction not controller specific for [MH3] It That Heralds the End and [MH3] Ral, Leyline Prodify
fix #12503
2024-06-22 14:47:47 +02:00
theelk801
bbe09d34f2 fix verify failure 2024-06-20 11:16:21 -04:00
xenohedron
9f917472fc lint: DeckValidator 2024-06-19 18:26:07 -04:00
Evan Kranzler
e851e04906
Implement Freerunning mechanic (ready for review) (#12485)
* [ACR] Implement Eagle Vision

* add test

* [ACR] Implement Achilles Davenport

* [ACR] Implement Chain Assassination

* [ACR] Implement Restart Sequence

* update test

* add test for non-assassin, non-commander
2024-06-19 18:05:20 -04:00
theelk801
9d57cee7c4 [ACR] Implement Templar Knight 2024-06-19 15:46:24 -04:00