Commit graph

45860 commits

Author SHA1 Message Date
Oleg Agafonov
b51fdae550 refactor: fixed potential game freeze in some infinite cycles, disconnects and top library's card usage (related to #11285); 2024-10-24 13:19:05 +04:00
Oleg Agafonov
cfad27ffae code clean 2024-10-24 09:12:41 +04:00
tiera3
6047f592cf
implement [DA1] More of that Strange Oil (#13019) 2024-10-24 00:20:48 -04:00
tiera3
63b832b6d6
correction to DMU collation (#13017)
Corrected ratio of common:uncommon oldframe cards
2024-10-24 00:20:27 -04:00
Grath
f7f2d58081
[SLD] Implement Captain America, First Avenger (#13023)
* [SLD] Implement Captain America, First Avenger

I made assumptions that WotC is going to fix the rules by adding "choose the equipment you're unattaching with Throw..." to rule 601.2b so that this card actually functions since you have to choose a TargetAnyTargetAmount in steps 601.2c/601.2d long before you actually pay the unattach cost in 601.2h.

* Remove Target workaround, add proper 601.2b handling for choosing cost targets early using inheritance to avoid having a horrific brittle list of 'these costs must be paid early'.
2024-10-24 00:19:39 -04:00
theelk801
6d84cee967 [SLD] add newest non-reprints 2024-10-21 17:17:05 -04:00
theelk801
b35fb9c203 [SLD] Implement Iron Man, Titan of Innovation 2024-10-21 17:13:35 -04:00
theelk801
640347e590 [SLD] Implement Wolverine, Best There Is 2024-10-21 17:05:38 -04:00
theelk801
14e1f477d2 [MKC] fix Hot Pursuit watcher 2024-10-21 11:22:18 -04:00
ssk97
f2ff4828b3
Alternative solution to problem of unplayable cards from target adjustment (#12842)
* Alternative solution to problem of unplayable cards from target adjustment

* Review fixes
2024-10-19 19:13:39 -07:00
xenohedron
d293200198 more text fixes 2024-10-19 00:46:44 -04:00
xenohedron
250869931b text fixes 2024-10-19 00:25:12 -04:00
xenohedron
2d44a029eb remove outdated comments 2024-10-18 23:08:22 -04:00
Grath
57deccae61
Fix HideawayPlayEffect to allow you to attempt to play everything (#13009)
* Fix HideawayPlayEffect to allow you to attempt to play everything, in cases of multiple Hideaway triggers.

* Allow users to choose order of cards to be potentially played.

* Update HideawayPlay and Arcane Bombardment to not ask if you want to play the cards you chose.

Update tests, add tests for
- Select the order in which to play cards
- Attempt to play two lands with only one land drop available, only the first land enters play
- Play two lands with extra land drops available.

* Fix no-parameter constructor.
2024-10-18 23:05:06 -04:00
paasar
06f630b00a
implement [DSK] Irreverent Gremlin (#13003)
* Add Irreverent Gremlin (DSK)

* Fix formatting

* Add Menace ability comment

* Fix Irreverent Gremlin's card draw trigger

* fix optional setting

---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2024-10-18 23:04:46 -04:00
paasar
3265b9a060
Fix Marchesa, Resolute Monarch's upkeep trigger (#12994)
* Fix Marchesa, Resolute Monarch's upkeep trigger

Before fix it was triggering wrongly when player had been dealt damage
since last turn.

* Improve Marchesa test by explicitly checking +1/+1 counters
2024-10-18 23:04:00 -04:00
Evan Kranzler
1484e3b575
Rework "second main phase" abilities (#12970)
* replace all instances of "postcombat main phase" with "second main phase" minus exceptions

* second main trigger now works correctly

* add survival test

* additional text fixes
2024-10-18 23:03:43 -04:00
tiera3
3131365abd
[MOM] March of the Machine - common collation (#12938)
---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2024-10-18 23:03:21 -04:00
tiera3
aa3e990912
[INV] Invasion - common collation (#12962)
---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2024-10-18 23:02:51 -04:00
Oleg Agafonov
a16215caed tests: removed and restricted empty commands for choices and targets, improved empty name usages in tests (use EmptyNames.xxx.getTestCommand and EmptyNames.xxx.getObjectName for face down objects) 2024-10-16 15:19:46 +04:00
theelk801
06392fecef fix verify failure 2024-10-15 11:24:32 -04:00
theelk801
138cd78f98 [MKC] Implement Ransom Note 2024-10-15 11:06:46 -04:00
theelk801
bc087bfb68 [MKC] Implement Boltbender 2024-10-15 11:01:04 -04:00
theelk801
aaa082b4cc [MKC] Implement Havoc Eater 2024-10-15 10:55:54 -04:00
theelk801
d64ddc999c [MKC] Implement Hot Pursuit 2024-10-15 10:55:53 -04:00
Oleg Agafonov
17c43f3a44 tests: added more use cases for Connive ability (related to #9101, #9100) 2024-10-13 11:56:05 +04:00
Oleg Agafonov
ccb1a0aeed tests: added additional use cases for Connive ability (related to #9101, #9100) 2024-10-13 11:35:32 +04:00
Cameron Merkel
1bebc62902
[MB2] Implement Stone Drake (#12982) 2024-10-12 14:08:12 -04:00
robertfrosty
700168d148
implement [DSC] Redress Fate (#12991) 2024-10-12 14:08:04 -04:00
ssk97
be745cb096
implement [BLB] Dragonhawk, Festival of Embers, Jackdaw Savior, Infamous Cruelclaw (#12906)
* [BLB] Dragonhawk, Fate's Tempest

* [BLB] Festival of Embers

* [BLB] Jackdaw Savior + test

* [BLB] The Infamous Cruelclaw

* Dragonhawk changes

* Create generic GraveyardFromAnywhereExileReplacementEffect

* Hide Cruelclaw Menace reminder text

* fix style errors
2024-10-12 14:07:52 -04:00
xenohedron
9fd3f91388 fix EnduringGlimmerTriggeredAbility
returns under owner's control
2024-10-12 14:07:30 -04:00
Oleg Agafonov
2b9ae8e0aa GUI, table: improved save/load table config for new tourney dialog (miss num seats, decks, skill, player types and other params, related to #12981) 2024-10-12 11:31:42 +04:00
xenohedron
d9e558f9c3 fix verify 2024-10-11 19:09:05 -04:00
Oleg Agafonov
3475249c99 GUI, table: improved save/load table config to support player types, AI skill level and deck files (closes #12981) 2024-10-11 17:09:15 +04:00
Oleg Agafonov
f652665f87 merge fix 2024-10-11 16:40:27 +04:00
Oleg Agafonov
bad782244f GUI: added new error dialog for more use cases 2024-10-11 16:38:46 +04:00
xenohedron
4f9c158c40 fix Landscaper Colos 2024-10-11 01:19:26 -04:00
xenohedron
00eeac09bd cleanup related to 634570ac
fix Annie Joins Up, Clara Oswald, Echoes of Eternity in same way
2024-10-11 01:18:49 -04:00
Steven Knipe
634570ac39 Check LKI instead of only battlefield for Harmonic Prodigy 2024-10-09 22:51:48 -07:00
Oleg Agafonov
8d6ba84556 dev: added support of client code debugging without disconnection (no more connection/pings validation in server's test mode);
server: improved disconnection logs, fixed some race conditional bugs;
2024-10-09 16:03:38 +04:00
Oleg Agafonov
f0c6835d36 GUI, preferences: removed outdated settings with images download threads (it's 5 by default now) 2024-10-06 13:42:27 +04:00
Oleg Agafonov
2fa07c8ecc GUI, game: added default card hint to see day/night and next turn transform conditions (use player panel to see that hints, related to #8414) 2024-10-06 13:23:55 +04:00
Oleg Agafonov
ce055a3bb3 refactor: better naming for new duration, fixed description 2024-10-06 13:00:41 +04:00
Oleg Agafonov
a1ca4f5adc images: fixed very slow download finish in some use cases 2024-10-06 12:58:19 +04:00
xenohedron
3c0a62b089 fix Mage Hunter's Onslaught
delayed trigger wasn't checking LKI
2024-10-06 00:15:28 -04:00
xenohedron
5bce8e10ed set cost reduction rule at the top 2024-10-06 00:15:28 -04:00
theelk801
49a0f1134d [ACR] Implement Become Anonymous 2024-10-03 20:54:23 -04:00
xenohedron
c50147b09c tests: add more info to booster generation test output 2024-10-03 20:30:54 -04:00
theelk801
557b2f681f fix verify failure 2024-10-03 15:57:35 -04:00
Cameron Merkel
c3700bfc77
[DSC] Implement Seance Board (#12890) 2024-10-01 18:06:37 -04:00