Commit graph

44250 commits

Author SHA1 Message Date
xenohedron
017e3eb62a fix filter in Deification 2024-05-04 17:32:33 -04:00
xenohedron
7c08c2458f dev: adjust gitignore 2024-05-04 15:35:24 -04:00
Oleg Agafonov
15c8f14702 dev: clean git's ignore file - removed duplicates and outdated, added docs 2024-05-04 22:27:11 +04:00
Susucre
b9511afa50 implement [MH3] Phelia, Exuberant Shepherd 2024-05-04 19:27:24 +02:00
Susucre
d8959f1588
fix [OTJ] Fortune, Loyal Steed — DelayedAbility's zcc was wrong when started from another trigger (#12154) 2024-05-04 19:26:11 +02:00
xenohedron
fa728eafb1
refactor: Cleanup CopyTargetStackObjectEffect (#12220)
* simplify constructors

* rename class

* adjust to accommodate any stack object

* adjust all usages to main common class
2024-05-04 00:47:16 -04:00
Cameron Merkel
b1b83dc5b8
[MKM] Implement Coveted Falcon (#12057)
* [MKM] Implement Coveted Falcon

* Rework to use OneShotEffect with new approach

* Use static ZCC to be safe

* Add tests

* Remove check in GainControlTargetEffect
2024-05-04 00:46:58 -04:00
Susucre
2522f712e9
refactor: cleanup TargetCardInExile (#12218) 2024-05-03 22:15:13 -04:00
jimga150
82069ef2e8
[MAT] Implement Deification, fix access to counter removal damage checkers (#12215)
* Make ChoosePlaneswalkerTypeEffect

* Make REMOVE_COUNTER and REMOVE_COUNTERS events so they can be replaced/modified

* Deification initial attempt, need to filter for damage

* add optional damage flag to removeCounters

* wrap logs in sim check

* check that planeswalker is chosen subtype

* cast to RemoveCountersEvent and reduce indents

* use counterRemovedDueToDamage

* add tests

* make other counterRemovedDueToDamage headers public

* remove logs

* remove isSimulation check from informPlayers

* remove logger

* make chosen planeswalker type predicate

* move event modification to replaceEvent
2024-05-03 22:15:00 -04:00
Susucre
85cad4ff1e
cleanup AbilityType for easier check that an ability is an activated ability (#12153)
* cleanup AbilityType

* further cleanup

* cleanup instanceof

* tweak formatting

* rework Rex

* fix mistake in PlayerImpl

* cleanup 'instanceof' for 'ActivatedManaAbilityImpl'
2024-05-03 22:13:34 -04:00
Susucre
62cc49ffa3 amend TODO comment, end of it was not saved 2024-05-03 17:26:24 +02:00
Susucre
8b302b7f10 skip Mutate card in PIP. 2024-05-03 16:45:34 +02:00
Susucre
534d1be175 add PayVariableEnergyCost, fixing [PIP] HELIOS One & [MH3] Chtonian Nightmare
fix #12217
2024-05-03 16:44:19 +02:00
Susucre
fc6c7b36e5 disable broken "Pay X Energy" cards 2024-05-03 11:01:07 +02:00
xenohedron
a2881362c1 temporarily ignore test that needs fixing 2024-05-03 01:33:51 -04:00
xenohedron
ab99cfe1fd address other comments 2024-05-03 01:18:35 -04:00
ssk97
32bf3eb9bf
Genericize Target Adjusters (#12107)
* Create generic X MV adjuster

* Update XTargetsAdjuster

* Create DynamicValueTargetsAdjuster to replace VerseCounterAdjuster

* Convert XTargetsAdjuster to use DynamicValueTargetsAdjuster

* Genericize MV target adjuster

* Converting custom classes for A and B cards, fix Back in Town to only target creature cards

* Add Power and Toughness target adjusters, C cards

* Set up and use Monstrosity X DynamicValue

* Move Scry amount dynamic value to common, add D and E cards

* Convert F to I cards

* Cards K-M

* N, O cards

* Cards O-R

* S cards (check Scrap Welder)

* Cards T - Z

* Rename target adjusters

* Add filter messages, don't add 0 count targets

* Clear blueprint targets (just in case), fix target names, Temporal Firestorm is not target

* Requested renames

* Aether Burst is "up to"

* Review fixes

* Add new cards, add source to dynamic value calculation
2024-05-03 01:12:52 -04:00
xenohedron
5e8aee48b3 fix #12204 (Blood Baron of Vizkopa) 2024-05-03 01:09:54 -04:00
xenohedron
b7e3964f2e text fixes 2024-05-03 01:07:23 -04:00
xenohedron
9b1eada953 fix Duchess, Wayward Tavernkeep (related to 172a2e53) 2024-05-03 01:00:27 -04:00
Susucre
44b591e15f implement [PIP] Moira Brown, Guide Author 2024-05-02 17:41:34 +02:00
Susucre
172a2e53b3 implement [PIP] Duchess, Wayward Tavernkeep 2024-05-02 17:41:30 +02:00
Susucre
36da47a64f implement [MH3] Chthonian Nightmare 2024-05-02 16:32:41 +02:00
Susucre
6f5eb8788d implement [PIP] HELIOS One 2024-05-02 16:32:41 +02:00
Susucre
21443a5bfe implement [PIP] Rex, Cyber-Hound 2024-05-02 16:32:40 +02:00
Susucre
82390d435d add missing DependencyType to [PIP] The Master, Trasncendent 2024-05-02 16:32:40 +02:00
jimga150
52ddcac59d
refactor: added counter removal events (#11989) 2024-05-02 17:32:55 +04:00
Susucre
860a767cca implement [PIP] Vault 112: Sadistic Simulation 2024-05-02 13:00:41 +02:00
Susucre
34129d6180 implement [PIP] Plasma Caster 2024-05-02 11:59:36 +02:00
Susucre
d9b27e978e implement [PIP] Synth Eradicator 2024-05-02 11:59:18 +02:00
Susucre
9099f48593 implement [PIP] Mutational Advantage 2024-05-02 11:09:49 +02:00
Susucre
bada7d054a implement [PIP] Recon Craft Theta 2024-05-02 11:05:40 +02:00
Susucre
ab69e05115 clean DamagedBatchCouldHaveFiredEvent isCombat
no longer flag to be more in line with other damage events
2024-05-02 10:39:42 +02:00
Susucre
f24b3d988d clean MILLED_EVENT to not store Card directly. 2024-05-02 10:18:36 +02:00
xenohedron
98c3c0381b fix Infesting Radroach 2024-05-02 01:31:53 -04:00
xenohedron
30d498b80f consolidate batch event constructor (related to 7c3bbed8) 2024-05-02 01:28:06 -04:00
xenohedron
f482eef06a text fixes 2024-05-02 01:24:22 -04:00
theelk801
11e54fa367 [MH3] Implement Ugin's Labyrinth 2024-05-01 17:44:56 -04:00
theelk801
8f2a091724 [MH3] Implement Wight of the Reliquary 2024-05-01 17:44:56 -04:00
theelk801
5e389c7335 [MH3] Implement Kudo, King Among Bears 2024-05-01 17:44:55 -04:00
Susucre
81cfdcda01 implement [PIP] Vault 12, The Necropolis 2024-05-01 22:10:16 +02:00
Susucre
ed7b7f1a62 implement [PIP] Mariposa Military Base 2024-05-01 21:54:35 +02:00
Susucre
74adbf222c refactor together experience counter DynamicValue 2024-05-01 21:54:19 +02:00
Susucre
8843bd387f implement [PIP] Feral Ghoul 2024-05-01 21:06:40 +02:00
Susucre
53898eeb8b implement [PIP] Screeching Scorchbeast 2024-05-01 20:56:07 +02:00
Susucre
7c3bbed8f3 make batchs for milling cards (per player, all)
Rework and test the couple of existing cards triggering on mill.
2024-05-01 20:55:50 +02:00
Susucre
4edb9ce270 implement [PIP] The Master, Transcendent 2024-05-01 19:14:08 +02:00
Susucre
ebe232cadb implement [PIP] Tato Farmer 2024-05-01 18:51:40 +02:00
Susucre
a60f01a99f implement [PIP] Thrill-Kill Disciple 2024-05-01 18:34:30 +02:00
Susucre
2c6bb21a9c implement [PIP] C.A.M.P. 2024-05-01 17:58:06 +02:00