Commit graph

370 commits

Author SHA1 Message Date
xenohedron
10230f0d99 getPermanent directly, not via getBattlefield 2024-06-02 21:28:14 -04:00
Susucre
20b7a115da
prevent direct access of Player->counters ; some cleanup on counter removal effects ; implement [MH3] Izzet Generatorium (#12314) 2024-05-29 22:34:54 +02:00
xenohedron
bdebf7020c
fix Molten Disaster (#12307)
* add test case

* unify KickedCondition for battlefield and stack usage

* cleanup Molten Disaster to common classes
2024-05-27 17:25:02 -04:00
Susucre
f30ec10846 implement [MH3] Drowner of Truth // Drowned Jungle 2024-05-23 18:19:29 +02:00
Susucre
79165f269c implement [MH3] Sorin of House Markov // Sorin, Ravenous Neonate 2024-05-22 22:18:52 +02:00
Cameron Merkel
0f858fe3c3
[PIP] Implement Sentinel Sarah Lyons; The Prydwen, Steel Flagship; add common watcher + condition (#12250)
* [PIP] Implement Sentinel Sarah Lyons

* Create common watcher and condition for artifacts entering

* [PIP] Implement The Prydwen, Steel Flagship

* Use common classes in Akal Pakal, First Among Equals; string correction

* Add warning about watcher to ArtifactEnteredUnderYourControlCondition

* Add tests

* Move test file

* Test with opponent casting artifact during your turn

* Use checkPT(), don't call execute() multiple times

* Check final assertion at upkeep instead of untap step
2024-05-21 00:33:11 -04:00
xenohedron
a97dec3e97 fix SourceTargetsPermanentCondition 2024-05-06 00:15:42 -04:00
xenohedron
dc13384c52
new LifeCompareCondition, with tests (#12221) 2024-05-04 23:25:07 -04: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
Susucre
9a21f24f2c [PIP] Implement Glowing One & Ingesting Radroach 2024-04-18 19:28:15 +02:00
xenohedron
31295eb645 followup fix to #12058 2024-04-12 23:24:56 -04:00
xenohedron
5c9d1cd205 fix #12058 (check phased in for "control a commander") 2024-04-12 20:59:36 -04:00
Susucre
9a03bc675b [OTJ] Fix a few rule text 2024-03-31 01:11:26 +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
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
93457c24ca [OTJ] Implement Wrangler of the Damned 2024-03-29 21:35:13 +01: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
xenohedron
8969e1a5de fix #11921 (Norn's Decree) and similar
fix Iron Mastiff

fix Tahngarth, First Mate
2024-03-09 21:43:01 -05:00
PurpleCrowbar
c4668476b1 Fix SacrificedArtifactThisTurnCondition 2024-02-29 01:33:30 +00:00
Matthew Wilson
f8d15cd6ba
[MKM] Implement Cases (#11713)
* Implementing "case" mechanic

* [MKM] Implement Case of the Burning Masks

* [MKM] Implement Case of the Filched Falcon

* [MKM] Implement Case of the Crimson Pulse

* [MKM] Implement Case of the Locked Hothouse

* Address PR comments

* some minor adjustments

* adjustments to hints

---------

Co-authored-by: Matthew Wilson <matthew_w@vaadin.com>
Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2024-01-28 23:41:23 -05:00
Evan Kranzler
99c2ffa231
Implementing "collect evidence" mechanic (#11671)
* [MKM] Implement Axebane Ferox

* add exile to cost, fix text

* add targeting message copied from crew ability

* [MKM] Implement Forensic Researcher

* [MKM] Implement Izoni, Center of the Web

* implement requested changes

* merge fix

* [MKM] Implement Sample Collector

* [MKM] Implement Evidence Examiner

* [MKM] Implement Surveillance Monitor

* [MKM] Implement Vitu-Ghazi Inspector

* [MKM] Implement Crimestopper Sprite

* [MKM] Implement Urgent Necropsy

* [MKM] Implement Analyze the Pollen

* implement requested changes

* add can pay cost check to counter unless pays effect

* fix test failure

* add tests

* fix prompt message
2024-01-27 20:26:14 -05:00
theelk801
8f4a920888 [MKM] Implement Detective's Satchel 2024-01-26 21:57:36 -05:00
theelk801
bd0e9ef110 [MKM] Implement Furtive Courier 2024-01-26 21:57:36 -05:00
Oleg Agafonov
8e395f964d miss changes from foretold fix in #11646 2024-01-20 16:52:44 +04:00
Oleg Agafonov
595b0e0070 fixed few errors like NPE 2023-12-15 16:51:12 +04:00
arcox
4e1a2218b2
[LCC] Implement March of the Canonized (#11540) 2023-12-12 00:00:53 -05:00
xenohedron
6c5d5b8a90 fix The Everflowing Well, related cleanup 2023-12-06 22:28:00 -05:00
xenohedron
6155f2d403 remove DamageDoneWatcher from default watchers 2023-11-30 00:59:21 -05:00
xenohedron
1f764515f6 merge MorbidWatcher with CreaturesDiedWatcher 2023-11-30 00:11:10 -05:00
Jeff Wadsworth
70069f2937 Fixed #11451 2023-11-28 17:13:15 -06:00
xenohedron
4977fea307
Merge pull request #11417 from ssk97/TagTracking3_KeywordAbilities
Costs Tag Tracking part 3: Most keyword abilities
2023-11-20 21:28:40 -05:00
Oleg Agafonov
4f081c0918 Merge fix 2023-11-18 15:36:55 +04:00
ssk97
ca80849249
game: fixed "if mana was spent to cast" abilities after leaves (#11419)
* ManaWasSpentCondition should use MageObjectReferences
2023-11-17 12:02:47 +04:00
Steven Knipe
77dd1711b5 Convert Kicker to costs tag system 2023-11-16 15:07:58 -08:00
Steven Knipe
1e76b59f4e Convert Bargain/Entwine/Squad to costs tag system 2023-11-16 14:39:55 -08:00
Steven Knipe
ad873863fa Convert SpellAbility keywords to costs tag system 2023-11-16 14:39:13 -08:00
Steven Knipe
f3d5faf199 Convert AlternativeSourceCostsImpl keywords to using the costs tag system 2023-11-16 14:37:38 -08:00
Jeff Wadsworth
b1e7e589ee Refactored Ent's Fury 2023-11-07 10:20:26 -06:00
Susucre
ee60325c07 [LCI] Implement Preacher of the Schism 2023-11-05 15:38:02 +01:00
xenohedron
26605220f7 cleanup custom source untapped conditions 2023-11-04 18:41:56 -04:00
xenohedron
595a1d6f14 add UNTAPPED option to AttachedToTappedCondition 2023-11-04 18:41:56 -04:00
ssk97
52bb2c5d71
[WHO] added Ace's Baseball Bat, consolidate related code (#11387)
* TalruumPiper use MustBeBlockedByAllSourceEffect

* Both of Bident Of Thassa's abilities can be made generic

* Goblin Diplomats use generic class (with custom text)

* create MustBeBlockedByAtLeastOneAttachedEffect common effect

* Add Ace's Baseball Bat
2023-11-04 14:19:21 +04:00
theelk801
fb0917c4e6 [LCI] Implement Enterprising Scallywag 2023-10-28 10:04:33 -04:00
theelk801
395a138610 a few small fixes 2023-10-24 22:59:43 -04:00
theelk801
40f3573cca [LCI] Implement Didact Echo 2023-10-24 20:29:06 -04:00
Susucre
06dc5be2d8
[WHO] Implement Davros, Dalek Creator (#11313) 2023-10-16 20:36:36 +02:00
Susucre
b624da7aa8
[ICE] Implement Kjeldoran Guard (#11184)
closes #8593
2023-09-23 20:23:47 -04:00
Oleg Agafonov
b80f440e15 game: fixed some NPE errors 2023-09-23 07:41:18 +04:00
arcox
2f0c1d84c5
Lint: fix 'declarations should use interfaces instead of classes' bugs (#11082) 2023-08-31 21:42:45 +04:00