Commit Graph

1377 Commits

Author SHA1 Message Date
tool4ever
5e2a69f2cb Refactor scripts! (#4874) 2024-03-23 16:48:44 +00:00
tool4ever
0400dc14ab Fix NPE (#4869) 2024-03-23 09:19:43 +00:00
Northmoc
34f2fa846d MKC: prisoners_dilemma + support (#4860) 2024-03-23 08:42:04 +00:00
Chris H
6757ffdc56 Update case_of_the_locked_hothouse.txt (#4832) 2024-03-23 08:36:17 +00:00
tool4ever
b01bcd0045 AbilityUtils LKI support (#4851)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2024-03-22 17:30:13 +03:00
Northmoc
4976da4c20 MKC: 2 "easy" cards (#4848)
* 2 cards

* ai

* Update otherworldly_escort.txt

---------

Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
2024-03-22 06:45:19 +03:00
tool4ever
5415c6190d Script fixes (#4838) 2024-03-19 21:18:16 +00:00
tool4ever
f372ef87fe Improve simultaneous handling with ChangeZoneAll (#4820)
Co-authored-by: TRT <>
2024-03-15 11:31:04 +03:00
Hans Mackowiak
024b958539 RadiationRework: use Trigger for InternalRadiation (#4799)
* RadiationRework: use Trigger for InternalRadiation

* InternalRadiationEffect: use GameAction::mill

* Radiation: use Num Param instead of Add/Remove like Poison

* Update bloatfly_swarm.txt

* Player: fix removeRadiationEffect on setCounter

---------

Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
2024-03-10 17:18:40 +03:00
tool4ever
6b54962078 Update cataclysmic_gearhulk.txt 2024-03-08 21:07:33 +00:00
Simisays
e1e59a6251 PIP 5 cards (#4788)
* Support Nightkin Ambusher
2024-03-07 09:07:27 +00:00
Northmoc
8c7283d02c WHO: caught_in_a_parallel_universe.txt + support (#4093)
* WHO: caught_in_a_parallel_universe.txt + support

* coward_killer.txt tidy

* human_time_lord_meta_crisis + support

* more tweaks for grenzos_rebuttal and similar
2024-03-06 08:02:22 +01:00
Chris H
54b7c803ac Migrate upcoming for MKM release 2024-03-04 15:09:44 -05:00
tool4ever
dcbe9c4ba1 Fix Crawling Sensation + related tweaks (#4744)
* Fix Foretell rollback

* Fix Crawling Sensation

* Stonebinder's Familiar should trigger when Time Stop exiles spell card

* Support Leave GY LKI

* Tweak logic so it only reuses the table when simultaneous

* Fix NPE

* AI fix

* Fix countered spell not exiled by Dauthi Voidwalker

* Fix Parallax Wave not returning when exiling itself

* Fix LKI update timing

---------

Co-authored-by: TRT <>
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2024-02-27 15:33:13 +01:00
Renato Filipe Vidal Santos
dbcf474030 Sundry script cleaning (#4734) 2024-02-26 09:03:29 +01:00
tool4ever
b57ad21472 Update chun_li_countless_kicks.txt 2024-02-24 08:21:26 +00:00
tool4ever
f66c0b932f Fix Profane Command (#4730) 2024-02-23 22:20:06 +00:00
Renato Filipe Vidal Santos
6961de8e6b Various card scripts (CLU, PIP), minor fixes (#4713) 2024-02-22 21:06:50 +00:00
tool4ever
88d4e60a54 Script updates (#4710) 2024-02-19 07:30:16 +01:00
Renato Filipe Vidal Santos
8dffcdca52 Adding Resonance Technician, minor fixes (#4709) 2024-02-18 10:02:16 +00:00
Renato Filipe Vidal Santos
5b2ad01e84 Various card scripts and minor fixes (#4686) 2024-02-17 13:41:28 +00:00
tool4ever
f494ba91ee Fix scripts (#4699) 2024-02-16 15:59:23 +01:00
tool4ever
693e054145 Few fixes (#4662)
* Fix Public Thoroughfare

* Tweak undo logic for Cabal Coffers

* Better handling with Madness
2024-02-11 20:43:45 +00:00
tool4ever
3d6bbad132 Cybership fix (#4638)
* Cybership fix

* Fix check to avoid LKI for Mishra Meld
2024-02-06 10:40:14 +00:00
tool4ever
3ef13bb24c Always recheck ActivationLimit (#4634) 2024-02-04 20:14:28 +00:00
tool4ever
7689f7e653 Fix scripts (#4631) 2024-02-04 14:58:43 +00:00
tool4ever
5b4f089061 Draw: use Cause if able (#4614)
* Draw: use Cause if able

* Avoid Thousand Moons Smithy warning
2024-02-01 20:27:59 +00:00
Hans Mackowiak
6639da3f20 Manifest: fix only do from Library in Sequence 2024-01-29 22:42:31 -05:00
tool4ever
d93d9b9e4a Merseine fixes (#4579)
* Merseine fixes

* Clean up

* Fix NPE with Dire Blunderbuss
2024-01-23 17:06:15 +01:00
Hans Mackowiak
b274ead986 ~ format line endings in cardsfolder 2024-01-21 20:25:23 +01:00
tool4ever
96b3d07051 Support duplicate objects per effect (#4518)
* Fix Serrated Biskelion

* Fix Angel of Destiny

* Fix Diviner Spirit
2024-01-17 11:02:04 +01:00
Northmoc
acb5151a82 Wave 3 of perpetual rework + Pump double P or T rework (#4423) 2024-01-09 09:31:02 +01:00
tool4ever
fc23a8d9e3 Improve TriggerHandler accuracy (#4484)
* Fix NPE

* Improve TriggerHandler accuracy
2024-01-08 20:13:35 +01:00
tool4ever
1e135e8d3b Support for Midnight Crusader Shuttle (#4478) 2024-01-04 16:47:58 +01:00
tool4ever
aa589134d8 Support for Genesis of the Daleks (#4462)
* Support for Genesis of the Daleks

* Fix Rift Elemental

* Fix script

* Fix logic

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2024-01-02 17:20:35 +03:00
Hans Mackowiak
c5ecda3774 Overload keyword (#4415)
* Keyword: Overload

* update more cards

* finish Overload

* ~ fix desc

* remove CounterEffect AllValid

* Fix Overload Copy

* StackDescription!

---------

Co-authored-by: Northmoc <tnorthmoc@gmail.com>
2023-12-29 20:43:06 +03:00
Hans Mackowiak
e8a6121d24 Saga and Read ahead refactor for WHO (#4436)
* Saga and Read ahead refactor for WHO

* ~ fix copy sagaRep

* fix etb counter with Barbara Wright

* ~ fix
2023-12-29 20:42:30 +03:00
Hans Mackowiak
b4cba93e19 fix missing files 2023-12-29 09:22:53 -05:00
Hans Mackowiak
38ef2b997d Revert "Revert "CardDb: add normalized Names (#4376)""
This reverts commit b396f41188.
2023-12-29 09:22:53 -05:00
tool4ever
a24af8d50e Fix Stonebinder's Familiar not triggering from Nivmagus Elemental (#4424)
* Fix Stonebinder's Familiar not triggering from Nivmagus Elemental

* Fix so it only triggers for cards

* Surveil triggers on empty library

* Fix missing trigger

* Fix trigger

* fix script

* Fix corner case freeze by trigger for loser (Kharn the Betrayer)

* Fix loser making trigger decision e.g. Shakedown Heavy

* Obeka fix when resolving after AP lost

* fix script

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-12-26 06:55:53 +03:00
Hans Mackowiak
e6a9ea20c7 Updates "Can't be countered" into Replacement Effects (#4429)
* isCounterableBy cleanup

* ~ move to Card

* update the rest

* ~ fix unused import

* ~ fix Counter better check for ValidSA instead of ValidCard

* ~remove last piece of text
2023-12-26 06:55:35 +03:00
Northmoc
7f5e75bdb0 PIP: Radiation mechanic implementation (#4204)
* PIP: Radiation mechanic implementation

* remove OVERRIDE

* remove unused property
2023-12-26 06:55:14 +03:00
Northmoc
3bf1e39f05 Remaining perpetual rework (#4394) 2023-12-20 18:32:09 +01:00
tool4ever
046f55cb78 ChangesZoneAll: add LKI support (#4385)
* Fix Skeleton Crew triggering from own ETB

* Fix bad logic

* Add LKI support

* Prowl fix when card gets cast from another zone again

* Clean up

* Clean triggers

* Support LKI for leaves graveyard

* Update effects

* Fix logic

* Fix Living Breakthrough for X spells

* Extract lastState fallback logic
2023-12-20 16:20:40 +01:00
Chris H
b396f41188 Revert "CardDb: add normalized Names (#4376)"
This reverts commit ce9ca390f8.
2023-12-19 14:20:50 -05:00
Hans Mackowiak
ce9ca390f8 CardDb: add normalized Names (#4376) 2023-12-19 18:39:18 +01:00
Klisz
14fb0f2e42 Update chaotic_aether.txt
Fixes issue where Chaotic Aether's effect was removed at end of turn even if no-one had planeswalked away from a plane by then
2023-12-19 06:22:12 -07:00
Northmoc
de851fc749 YWOE high_fae_prankster.txt and support (#3921)
* high_fae_prankster.txt and support

* Perpetual rework

* fix imports

* fix imports

* 12/9 cards and tweaks

* fix absorb_energy

* tidy

* 12/10 updates

* 12/12 tweaks and fixes

* 12/13 tweaks

* last tweaks for this PR

* revert unneeded

* revert unneeded for real

* tidy executePerpetual

* cleanup imports

* tweaks 12/15

* fix imports

* LosePerpetualEffect

* cleanup import
2023-12-16 22:25:41 +03:00
Klisz
023e41c8a0 WHO the_doctors_childhood_barn.txt (#4377)
* Create the_doctors_childhood_barn.txt

* Update the_doctors_childhood_barn.txt

* Update the_doctors_childhood_barn.txt

* Update the_doctors_childhood_barn.txt

* PlaneswalkedTo and ForgetOnPhasedIn

---------

Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
2023-12-14 13:59:44 -05:00
Klisz
8d921f88c7 Improved AI for Sixth Sense effects (#4371)
* Improved AI for Sixth Sense effects

Improves targeting AI for Combat Research, Catlike Curiosity
2023-12-14 17:13:37 +01:00