Commit graph

45730 commits

Author SHA1 Message Date
Grath
3c419a857f
[BLB] Implement Camellia, the Seedmiser. (#12751)
* [BLB] Implement Camellia, the Seedmiser.

Also implemented SacrificedPermanentBatchEvent, SacrificeOneOrMorePermanentsTriggeredAbility, and refactored existing Whenever you sacrifice one or more [filter] abilities to use the new SacrificeOneOrMorePermanentsTriggeredAbility (even though as they all only trigger once per turn and technically function correctly with the old SacrificePermanentTriggeredAbility.

* Fix accidental newline.
2024-08-29 10:35:13 -04:00
Steven Knipe
c937856adf Fix Sontaran General (#12666) 2024-08-29 00:47:42 -07:00
Wajih Ben Slama
3a70e0c405
update banned/restricted lists per August 26th 2024 update (#12739) 2024-08-27 01:02:55 -04:00
Sidorovich77
c9dc527d36
[LTC] Implement Courageous Resolve (#12710) 2024-08-27 01:02:20 -04:00
TandEm
8b57b7ee75
GUI: fix some text colors not using the theme color (#12737)
Co-authored-by: TandEm <tandem@users.noreply.github.com>
2024-08-26 12:17:34 -04:00
Grath
71ac5cf11f
Fix Dewdrop Cure - return to battlefield, not hand. 2024-08-26 10:24:54 -04:00
Grath
119ef2b5d4
[BLC] Implement Bello, Bard of the Brambles (#12736) 2024-08-25 23:42:42 -04:00
TandEm
5cab53c848
New GUI theme: Carbon Fiber (#12733)
Co-authored-by: TandEm <tandem@users.noreply.github.com>
2024-08-25 23:14:02 -04:00
Momo2907
d5cf8c27b2
Implement [BLB] Rottenmouth Viper (#12718) 2024-08-25 23:13:28 -04:00
Grath
543f9f074e
Refactor CreateTokenEffect to allow multiple tokens at once. (#12704)
* Refactor CreateTokenEffect to allow multiple tokens at once.

Partial solution to #10811 - Token copy effects still need to be redone so that mass token copy effects (Ocelot Pride, Mirror Match, other similar effects) can be created in a single batch.
2024-08-25 10:34:42 -04:00
Grath
da48821754
[BLB] Implement Pawpatch Recruit (#12732) 2024-08-25 00:08:25 -04:00
xenohedron
2cd1a27120
tests: fix some missing choices (#12728)
* explicit strict mode false where applicable
2024-08-24 20:39:53 -04:00
xenohedron
85d612d10f
refactor: remove unused custom event type code (#12729)
* also make ApprovingObject Serializable
2024-08-24 20:39:36 -04:00
jimga150
4259b7fa39
[40K] Implement Seeker of Slaanesh; added new must attack option (#12712)
* Add player-based "must attack" requirement check

* Implement Seeker of Slaanesh and add (ignored) test

* Fix check for ability of any controlled creatures to attack

* rename misleading variable
2024-08-24 18:37:17 -04:00
jimga150
060551ab48
[40K] Implement The Ruinous Powers; fix Fires of Mount Doom (#12722)
* Add starting point: have exile top w/ any color cast, right duration

* Use random opponent

* Add delayed triggered ability

* rename MageIdentifier to AlternateCast

* Fix FiresOfMountDoomDelayedTriggeredAbility

* Add test for Fires of Mount Doom

* Add test for The Ruinous Powers

* Null checks
2024-08-24 18:37:00 -04:00
xenohedron
9fe5d6bd1b
fix River Song (#12727) 2024-08-24 18:36:42 -04:00
Grath
317f536dc9
[BLC] Implement Mr. Foxglove (#12719)
* [BLC] Implement Mr. Foxglove

* Fix quotation marks.
2024-08-24 12:30:28 -04:00
Grath
b93b3a7a32
[BLB] Implement Valley Questcaller (#12713)
* [BLB] Implement Valley Questcaller

* Remove effect hint from Scry 1.
2024-08-24 01:36:41 -04:00
PurpleCrowbar
8d249aa691
Improve attachment to permanent logic; implement [PIP] Codsworth, Handy Helper (#12098)
* [PIP] Implement Codsworth, Handy Helper

* Fix Codsworth and Halvar

* Write tests for attachments

* Fix auras going to graveyard when attaching to illegal targets

* Fix Captured by the Consulate interaction

* Fix failing tests, add additional test

* Add source name to log message

* Implement requested changes

* Revert removed null check

* Remove filter check, clean up code

* Add additional test

* Fix failing roles test

* Account for all current attachment edge cases

* Implement rule 303.4g

* Apply requested changes
2024-08-24 01:03:33 -04:00
xenohedron
9fcbfdeac6
Rework drawing cards and associated replacement effects; implement [WHO] River Song (#12700)
* remove unused scoring system code

* add test for Alms Collector replacement effect

* flatten draw cards into single method in PlayerImpl

* remove outdated MageAction framework

* clarify game event for drawing two or more cards

* clarify methods for getting cards from library

* implement [WHO] River Song

* fix error

* adjust library methods

* add lots of test cases for draw replacement effects

* fix #12616

* track cards drawn this way through multi draw replacement as well

* add test for River Song

* remove redundant comment
2024-08-24 01:02:55 -04:00
xenohedron
34ae226130
refactor: simpler method for mana that lasts until end of turn (#12667) 2024-08-24 01:02:25 -04:00
Svyatoslav28597
44fb94782c
Add set [YNEO] with six cards; add two [J21] cards plus reprints (#12692) 2024-08-24 01:02:16 -04:00
Grath
614fae90b7
Further discussion with rules experts, Tempt With should actually batch together for the final step. (#12711) 2024-08-23 12:56:18 -04:00
Grath
553ca300e8
Fix token counts for the tempted versions of Tempt with Vengeance and Bunnies (#12708) 2024-08-23 10:24:19 -04:00
alma555
9134a77943
fix Sergeant at Arms (#12705)
trigger should be intervening if

---------

Co-authored-by: Alma <almathompson@protonmail.com>
2024-08-22 23:35:59 -04:00
jimga150
9c6c532bdf
Implement [BLB] Season of Loss (#12685) 2024-08-22 23:35:17 -04:00
Grath
2c9716c79f
[BLC] Implement Tempt with Bunnies (#12702)
Also revise Tempt with Vengeance to use a separate CreateTokenEffect for each opponent, per the ruling.
2024-08-22 21:33:01 -04:00
Steven Knipe
2fbe5bd68c Fix missing null check in AbilitySourceAttachedPredicate 2024-08-22 14:29:01 -07:00
Steven Knipe
50940d6b4b Fix Bandit's Talent 2024-08-22 14:25:35 -07:00
ssk97
00770646f8
Create generic "Gains your choice of ability" effect, add [ACR] Assassin Initiate (#12619)
Create generic GainsChoiceOfAbilitiesEffect, covers both Target and Source cases.

Adds Assassin Initiate
2024-08-22 13:34:40 -07:00
ssk97
b70638acc9
Unbound Flourishing's X doubling should be a triggered ability (and related refactors) (#12597)
Complete rework of Unbound Flourishing, removing the multiplier code for casting X spells.
Adds ActivateAbilityTriggeredAbility, NotManaAbilityPredicate, AbilitySourceAttachedPredicate
CopyStackObjectEffect now uses a MOR.
OrTriggeredAbility now works with target pointer setting abilities.
2024-08-22 13:33:39 -07:00
Sidorovich77
9d83381326
[UNF] Implement Atomwheel Acrobats & Six-Sided Die (#12651)
* Implemented cards: Atomwheel Acrobats, Six-Sided Die.

* Implemented cards: Atomwheel Acrobats, Six-Sided Die.

* Implemented cards: Atomwheel Acrobats, Six-Sided Die.

* Changes from review.

* Changes from review.

* Changes from review.
2024-08-22 14:25:37 -04:00
Grath
98989040ef
Take working implementation of Ms. Bumbleflower from pull request, clean up unnecessary static rules text, and merge. (#12699)
Co-authored-by: DreamWaker
2024-08-21 22:16:49 -04:00
jimga150
4cef508c86
Verdant Succession - improved combo support with multiple triggers (#12695) 2024-08-21 09:09:26 +04:00
Grath
ea446e52f8
Allow Coram to correctly cast any spell put in a graveyard this turn.
Fixes #12691
2024-08-20 11:46:50 -04:00
PurpleCrowbar
d638c4d5d6 Fix Alchemist's Talent 2024-08-19 22:18:01 +01:00
PurpleCrowbar
ed62be95ff [BLC] Implement Alchemist's Talent 2024-08-19 17:57:28 +01:00
xenohedron
a241ca7f46 implement [BLB] Season of the Burrow 2024-08-18 23:39:32 -04:00
xenohedron
ec46db6d51 fix Warren Warleader 2024-08-18 23:29:04 -04:00
xenohedron
77b8030642 fix #11766 (Corrosive Ooze), add test 2024-08-18 23:22:31 -04:00
PurpleCrowbar
b6ee7fe410 Fix Mystery Booster 2 image downloads 2024-08-18 20:27:54 +01:00
PurpleCrowbar
19e7436d4e Fix Stargaze 2024-08-18 19:45:20 +01:00
PurpleCrowbar
f9ba03aba5 Fix Thornvault Forager 2024-08-18 18:34:20 +01:00
Oleg Agafonov
3c8d11e2c2 code clean 2024-08-18 14:31:46 +04:00
Oleg Agafonov
141a4e5437 Keen-Eyed Curator - fixed game error on usage in deck (also fixed Gustha's Scepter, Eater of Virtue, Death-Mask Duplicant); 2024-08-18 14:30:17 +04:00
xenohedron
a827a93cf2 improve UX for Wicked Slumber 2024-08-16 23:17:45 -04:00
xenohedron
4c069754a6 fix #12657 with common class, add test 2024-08-16 23:12:15 -04:00
xenohedron
b9b89d7dff fix #12665 (NPE in Wicked Slumber) 2024-08-16 22:17:33 -04:00
jimga150
7392f9ef84
Implement [BLB] Valley Floodcaller (#12663) 2024-08-16 21:25:26 -04:00
PurpleCrowbar
ba0f23962f
[BLB] Implement Three Tree City (#12659) 2024-08-16 21:25:10 -04:00