Commit graph

12099 commits

Author SHA1 Message Date
Susucre
559be38b00 [OTJ] Implement Vengeful Townsfolk 2024-03-30 20:43:33 +01:00
Susucre
36857782fe [OTJ] Implement Stoic Sphinx 2024-03-30 19:21:19 +01:00
Susucre
1ee0586bb7 [OTJ] Implement Inventive Wingsmith 2024-03-30 17:28:46 +01:00
Susucre
ef6ee4d0ea [OTJ] Implement Baron Bertram Graywater 2024-03-30 17:28:46 +01:00
Susucre
c42e67ea0f [OTJ] Implement Roxanne, Starfall Savant 2024-03-30 14:53:08 +01:00
theelk801
c501abaae8 [OTJ] Implement Bridled Bighorn 2024-03-29 23:10:21 -04:00
theelk801
98881c4dc7 [OTJ] Implement Bandit's Haul 2024-03-29 23:05:51 -04:00
Evan Kranzler
8fbc7c9507
[OTJ] Implementing "saddle" mechanic (#12012)
* [OTJ] Implement Trained Arynx

* implement saddle cost

* update saddled effect

* add test

* add sorcery speed to saddle ability

* apply requested changes

* [OTJ] Implement Quilled Charger

* rework test
2024-03-29 23:00:22 -04:00
Susucre
94a714b1b7 [OTJ] Implement Magda, the Hoardmaster 2024-03-29 23:03:33 +01:00
theelk801
8a38e25550 [OTJ] Implement Ghired, Mirror of the Wilds 2024-03-29 16:54:32 -04:00
Susucre
93457c24ca [OTJ] Implement Wrangler of the Damned 2024-03-29 21:35:13 +01:00
Susucre
97347a864f [OTJ] Implement Rictus Robber 2024-03-29 21:06:10 +01:00
Susucre
8ffaaedaf3 [OTJ] Implement Rise of the Varmints 2024-03-29 21:05:54 +01:00
Susucre
147b502a95 Cleanup unecessary argument for PlotAbility.
Will make merging the plot branch a little easier.
2024-03-29 16:56:16 +01:00
theelk801
e77443f5b9 [OTJ] Implement Forsaken Miner 2024-03-29 10:16:48 -04:00
xenohedron
a768a4dd8a cleanup access to fields in AbilityImpl
where trivially possible, make private and use getters
2024-03-29 01:53:03 -04:00
xenohedron
0637657616 fix constructor error from #11886 2024-03-29 01:18:53 -04:00
xenohedron
b1f83d1f9e fix #12006 (NthTargetPointer error on TargetAdjuster) 2024-03-29 00:51:30 -04:00
xenohedron
ea843c1bb9 remove unnecessary stringbuilder usage 2024-03-29 00:48:43 -04:00
xenohedron
a3d4293e0d fix #12022 (Shipwreck Sentry) 2024-03-29 00:27:18 -04:00
xenohedron
cb28fb5a56
Refactor batch events (#11995)
* create new abstract class for batch event framework

* adjust CardUtil.getEventTargets to support new framework

* update TappedBatchEvent to new framework

* update UntappedBatchEvent to new framework

* slight cleanup

* update LifeLostBatchEvent to new framework

* update ZoneChangeBatchEvent to new framework

* complete refactor by moving damage events to new framework

* remove old code no longer used

* clean up some nonsense code in star wars card

* fix watcher checking id before event type

* fix wrong id usage

* fix missed wrong id usage
2024-03-28 23:19:20 -04:00
xenohedron
8869d282b2 fix #12015 (match result string for draws)
some linting from IDE
2024-03-28 23:12:06 -04:00
jimga150
8ece278435
refactor: rename combat damage checker on single life loss event (#12019) 2024-03-29 04:45:53 +04:00
ssk97
d886b3e450
[WHO] Implement 4 cards, create generic EachOpponentPermanentTargetsAdjuster (#11886)
* Implement Bigger on the Inside
* implement Reverse the Polarity
* Implement Sontaran General
* Implement Everything Comes to Dust
2024-03-29 01:32:38 +04:00
theelk801
e8d695d880 [OTJ] Implement Rattleback Apothecary 2024-03-28 16:39:41 -04:00
Evan Kranzler
fa0f9f3d00
[OTJ] Implementing "commit crime" mechanic (#11859)
* [OTJ] Implement Oko the Ringleader

* [OTJ] Implement Duelist of the Mind

* update implementation of crime mechanic to match new info

* [OTJ] Implement Marauding Sphinx

* [OTJ] Implement Hardbristle Bandit

* [OTJ] Implement Intimidation Campaign

* [OTJ] Implement Freestrider Lookout

* add initial test

* add more tests

* apply requested changes

* applied requested changes

* fix verify failure
2024-03-28 11:19:27 -04:00
theelk801
4df99b528f [OTJ] Implement Cunning Coyote 2024-03-28 11:00:15 -04:00
skiwkr
8f6b3e0faf
[WHO] Implement Amy Pond and Rory Williams (#11929)
* [WHO] Implement Amy Pond 

* [WHO] Implement Rory Williams

* Modified ExileSpellWithTimeCountersEffect to include the ability to give the card suspend, simplified Epochrasite

* adjustments

---------

Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2024-03-27 23:30:10 -04:00
Susucre
e465eab1bc [OTJ] Implement Bovine Intervention 2024-03-27 22:27:11 +01:00
theelk801
c4c768b841 [OTC] Implement Stella Lee, Wild Card 2024-03-27 13:00:04 -04:00
theelk801
516009d865 rearrange subtypes alphabetically 2024-03-27 09:09:48 -04:00
theelk801
8d6a9896bb [OTJ] Implement Armored Armadillo 2024-03-27 08:48:08 -04:00
theelk801
896d30d223 [OTJ] Implement Form a Posse 2024-03-27 08:42:43 -04:00
theelk801
fd856d49eb [OTJ] Implement Vial-Smasher, Gleeful Grenadier 2024-03-27 08:35:22 -04:00
theelk801
391a00bafc [OTJ] Implement Frontier Seeker 2024-03-27 08:19:31 -04:00
theelk801
6142d46cfc [OTJ] Implement Plan the Heist 2024-03-26 16:50:28 -04:00
jimga150
c8383649df
Fix DIE_ROLLED event to set targetID to player who rolled the die (#11993)
* Fix DIE_ROLLED event to set targetID to player who rolled the die

* Fix DieRolledEvent instantiation
2024-03-25 21:34:42 -04:00
xenohedron
ad63362c33
fix #9877 (Disorder in the Court) (#11987) 2024-03-23 17:17:50 -04:00
xenohedron
0d5ae6b704 fix #10403 (Maestros Ascendancy) 2024-03-23 17:17:09 -04:00
xenohedron
6820aa5ee1 fix #11783 (default card drawn hint only when applicable) 2024-03-23 17:17:09 -04:00
xenohedron
40b55f7a59 fix text gen typo 2024-03-23 01:08:58 -04:00
xenohedron
09a05c6069 adjust text gen 2024-03-23 00:51:49 -04:00
jimga150
50c75f05bd
[MAT] implemented Ob Nixilis, Captive Kingpin, refactored life lose and batches events (#11974) 2024-03-21 19:53:45 +04:00
Cameron Merkel
9474f67f5c
[PIP] Implement Nick Valentine, Private Eye (#11965) 2024-03-18 23:10:22 -04:00
xenohedron
5df392af64
fix face-down creature spells cost reduction to include disguise (#11962) 2024-03-18 23:09:52 -04:00
xenohedron
d5295b0de3
Improve handling of abilities that let you cast spells from not hand zone once per turn (#11946)
* fix name of existing test

* adjust class name

* generate text

* use common class for Danitha

* add test

* update Gisa and Geralf

* rework Cemetery Illuminator, add test

* simplify effects allowing play from top of library

* simplify common classes which were bloated to support a single card

* simplify another

* remove unused import from test

* rework to check spell ability

* add more test cases

* add test cases

* add failing test case

* common watcher and hint for "once each turn, you may cast..."

* fix Assemble the Players to check spell ability, add test

* apply same improvements to Johann, Apprentice Sorcerer
2024-03-18 23:09:31 -04:00
xenohedron
ca45c06f71
Merge branch 'master' into case-of-the-pilfered-proof 2024-03-18 01:24:26 -04:00
xenohedron
ae4cff1803 text fixes 2024-03-17 20:00:00 -04:00
ssk97
b9bfe2ba48
Megamorph abilities - fixed that face down creatures show megamorph instead morph status (#11957)
* Megamorph should appear as if it were Morph

* review comment
2024-03-18 03:58:02 +04:00
jimga150
67286aa1a0
Implement Damage Batch for Permanent event (#11841)
* implement [WHO] Donna Noble

* Changed trigger to DAMAGED_BATCH_FOR_PERMANENTS, check for need of separate targets

* fix short circuit operator

* simplify control path in paired damage trigger

* Initial commit, missing tests

* use CardUtil.getEventTargets

* Implement Donna Noble using DamagedBatchForOnePermanentEvent

* fix double-effect bug

* remove unnecessary custom effect

* Fix addSimultaneousDamage to avoid adding damage events to existing DamagedBatchForOnePlayerEvent instances when they shouldnt

* Add clarifying comment

* Incorporate batching of DAMAGED_BATCH_FOR_ONE_PERMANENT into if-else if tree to match new logic

* Add tests

* make ability inline

* Move DamageBatchTests

* Change batch events to take first event in constructor
2024-03-17 16:15:50 -04:00