Commit Graph

8293 Commits

Author SHA1 Message Date
tool4EvEr
c22bcba171 Fix logic 2024-01-23 09:29:09 -05:00
friarsol
5fe761f167 Add Crimestopper Sprite (although the optional cost doesn't work yet) 2024-01-23 09:29:09 -05:00
friarsol
06b32949fb Initial checkin for Collect Evidence 2024-01-23 09:29:09 -05:00
Hans Mackowiak
b77030282c Card: add Suspected Flag (#4575) 2024-01-22 19:40:34 +03:00
Northmoc
25930b5576 MKM: innocent_bystander.txt + support (#4577) 2024-01-22 18:31:24 +03:00
Simisays
4888e016e9 MKM 10 cards (#4573)
* 10 cards

* update

* Update lost_in_the_maze.txt

* cleanup

* Update treacherous_greed.txt

* small tweaks

---------

Co-authored-by: Northmoc <timothy.s.mocny@gmail.com>
2024-01-22 06:30:35 +03:00
Northmoc
804977e1b5 MKM: a_killer_among_us.txt + support (#4574) 2024-01-22 06:30:24 +03:00
Northmoc
aa847acf04 MKM - Case stuff (#4566) 2024-01-21 09:42:28 +00:00
tool4ever
742252191a Kylox, Visionary Inventor + Alchemy cleanup (#4562)
* Remove fake trigger

* Remove redundancy

* Adapt script from OtDxRaichunite
2024-01-21 09:41:51 +00:00
Northmoc
260218a40d MKC: kaust_eyes_of_the_glade.txt + support (#4567) 2024-01-21 09:41:34 +00:00
tool4ever
e733b8fe0c Reimplement UI_CLONE_MODE_SOURCE (#3984)
* Reimplement UI_CLONE_MODE_SOURCE
2024-01-19 21:59:39 +00:00
tool4EvEr
b79cdc3848 Solved fix 2024-01-19 13:18:49 -05:00
hungriestPigeon
9cbecf20c1 "this combat" bug (#4547)
* fixed bug in cards using 'this combat'

* handle tracking when creature removed from combat early
2024-01-19 13:49:47 +00:00
tool4ever
cf2c2ccef7 Use fresh LastState for costs (#4548) 2024-01-19 13:49:30 +00:00
tool4ever
5d8029f116 Make Flash interact with Dryad Arbor (#4555) 2024-01-19 13:48:24 +00:00
friarsol
d7142d2133 Initial checkin for Solved/Cases 2024-01-19 08:43:13 -05:00
Northmoc
d2174f6c17 CostSacrifice toString improve (#4539) 2024-01-17 15:49:13 +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
tool4ever
5796a2aca6 Fix params (#4528) 2024-01-16 22:05:40 +00:00
tool4ever
1b7a818324 Fix ProtectEffect (#4527) 2024-01-16 21:37:12 +00:00
Northmoc
efefa46ef7 fix relic_of_progenitus stackdesc (#4519) 2024-01-16 21:36:55 +00:00
Northmoc
b8cf172255 WHO: Two Streams Facility (#4495)
* WHO: Two Streams Facility

* add TempRemember to ChooseGenericEffect

* remove RepeatEach from more GenericChoice cards

* tidy Archangel of Strife
2024-01-16 17:01:18 +01:00
tool4ever
f19cc05ee8 Fix UntilHostLeavesPlay being dropped when replaced (#4502) 2024-01-14 09:14:36 +00:00
tool4ever
144ceee32e Skip ChangesZoneAll inside Moved replacement (#4493)
* Support passing CardZoneTable
2024-01-10 10:41:28 +01:00
tool4ever
1c518aec1a Fix Genesis of the Daleks (#4498) 2024-01-10 10:13:22 +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
1a3a5cbf8c Fix Fatal Lore (#4488)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2024-01-08 09:12:49 +03:00
tool4ever
9ca64b2ad7 Update Card.java
Fix NPE
2024-01-04 22:48:26 +00: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
tool4ever
76e9b35f72 Fix ProtectEffect (#4456) 2023-12-31 16:43:04 +00:00
Hans Mackowiak
f7d70f1a69 Riot: refactor into UnlessCost like Fabricate (#4448) 2023-12-31 10:12:28 +00:00
Klisz
c02f7c698d Planechase inherent effects (#4408)
* Planechase effects draft

Draft to close #4262, by moving the planeswalking ability and the static chaos trigger to an effect carried with the player in a planechase game. Currently this effect is visible in the command zone much like the monarch or initiative (but with no image), which is something that needs fixing; I'd have it be a DetachedCardEffect but there's no linked card for it like there are for commander and companion effects (the active plane [or the face-up plane with the earliest timestamp, I suppose] would be a logical choice for the getCardForUi, but that would require updating it as the plane changes, and in any case because there's a separate effect for each player, the fact that the owner of a DetachedCardEffect is set as the owner of the linked card also adds some wrinkles. In any case, I've set the effects to be created in startGame after initPlane is run, rather than in initVariantZones as is the case for the commander and companion DetachedCardEffects, in anticipation of hopefully in the future making the effect be linked to an active plane).

* Update Player.java

* Move planar dice special action to effect

* Update ComputerUtilAbility.java

* Move die roll chaos to PlanarDice.java
2023-12-31 09:11:30 +03:00
Hans Mackowiak
c29b6b7fcb GameAction: stop always trigger before etb counter (#4449)
* GameAction: stop always trigger before etb counter

* ~ always clear trigger and check for static abilities again
2023-12-30 15:35:46 +00: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
8295312ad2 WHO: add can't tap check (#4441)
* WHO: add can't tap check

* ~ update PlayEffect IllusionaryMask

* Patch more places

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-12-29 20:42:13 +03:00
Hans Mackowiak
38ef2b997d Revert "Revert "CardDb: add normalized Names (#4376)""
This reverts commit b396f41188.
2023-12-29 09:22:53 -05:00
Chris H
40219a67cf Villanous choice initial implementation (#4395)
* Villanous choice initial implementation

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-12-29 09:19:15 -05:00
tool4ever
730ba24864 Rasputin Dreamweaver fix (#4442)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-12-29 14:24:18 +03: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
tool4ever
155ddfa2d7 Desertion fix (#4417)
* Fix prototype state being applied twice

* Desertion fix
2023-12-21 17:27:08 +01:00
Hans Mackowiak
6ea6575f83 remove unused ProtectionKey 2023-12-21 08:17:02 +01:00
Northmoc
3bf1e39f05 Remaining perpetual rework (#4394) 2023-12-20 18:32:09 +01:00
Klisz
39b3e729b1 WHO the_matrix_of_time.txt + support (#4378) 2023-12-20 16:24:42 +01:00
tool4ever
151527a646 Fix card LKI existing in both lastStates at once (#4400)
* Fix card LKI existing in both lastStates at once
2023-12-20 16:21:43 +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