Commit Graph

8293 Commits

Author SHA1 Message Date
Klisz
bb692b2a4b Update Game.java (#4409)
Closes #3318

(Agetian noted in that issue that passing a null for the SpellAbility argument in Player.planeswalk would cause issues with Player.java:2701-2702, but Player.planeswalk has since been altered and no longer has those lines anyway)

I've tested with all three combinations of
1. planar controller leaves the game while also the owner of an active plane (next player becomes planar controller, planeswalks)
2. planar controller leaves the game but doesn't own an active plane (next player takes control of active planes)
3. planar owner leaves the game when not the planar controller (planar controller planeswalks)

* Leaving current plane trigger
2023-12-19 19:24:19 +00: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
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
Northmoc
41c8908c84 only move to DestZone2 if there is something to move (#4393) 2023-12-16 16:07:00 +00:00
tool4ever
bb1606f159 Fix new plane overwritten with old card (#4382)
* Fix new plane overwritten with old card

* AbilityKey cleanup

---------

Co-authored-by: TRT <>
2023-12-15 17:27:22 +03:00
tool4ever
90c3a13e3d Fix facedown permanent with adventure (#4355)
* Restore adventure text when card not in play

* Remove obsolete code

* Fix crash with Cybership

* Fix NPE
2023-12-15 09:58:30 +01: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
Paul Hammerton
19fc5698bb Merge pull request #4297 from Northmoc/YLCI-3xBoon
YLCI: Merfolk Tunnel-Guide and support (X-time boons)
2023-12-11 14:28:35 +00:00
Northmoc
b4b1eb1889 spacing fix 2023-12-11 08:20:19 -05:00
Hans Mackowiak
430dade5b8 Protection rework for Plural removal (#4284)
* Protection rework for Plural removal

* deprecated getSingularType

* Update AbilityUtils.java

getPlural only for Descriptive

* ~ update view

* Update CardChangedWords.java

* Update AbilityUtils.java

fix lowercase color word replacement

* Update Card.java

add changedCardKeywordsByWord to getChangedCardKeywordsList

* Update CardDetailUtil.java

~ update view

* Before resolving apply text changes

---------

Co-authored-by: TRT <>
2023-12-10 17:04:43 +03:00
tool4ever
e8c17640a9 Fix NPE (#4322)
* Fix NPE

* Fix cards like Klinspire District that use two X SVar

* Clean up

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-12-08 18:33:41 -05:00
Chris H
03725d2049 Macro system based on recording clicks rather than typing (#4006)
* Add a new macro system that tracks clicks

* Old macro system is still around, but currently inaccessible. Maybe give an option if people rebel against that.
2023-12-07 12:36:13 -05:00
Klisz
4dbe4f1599 Update PlaneswalkEffect.java (#4315)
Fixes an issue where planeswalk replacements were being applied before confirmation for optional planeswalks, thus making it so that one couldn't choose not to planeswalk with TARDIS's attack trigger if one also controls Susan Foreman
2023-12-07 07:58:16 +01:00
Paul Hammerton
404d1c5ca2 Merge pull request #4303 from Klisz/14doc
SLD: the_fourteenth_doctor.txt + support
2023-12-06 15:57:31 +00:00
Klisz
f70ca58a70 WHO susan_foreman.txt + support (#4308)
* WHO susan_foreman.txt + support

* Update susan_foreman.txt
2023-12-06 10:48:05 -05:00
Northmoc
331006e629 YLCI: heralds_reveille + support (#4288)
* YLCI: heralds_reveille + support

* add reset to Player.onCleanupPhase()
2023-12-06 09:25:59 +01:00
Klisz
11f5e6cf20 Update CloneEffect.java 2023-12-05 20:02:43 -07:00
Klisz
1ff853ac2d de-duplicate code 2023-12-05 15:32:48 -07:00
Klisz
efd69b8153 SLD: the_fourteenth_doctor.txt + support 2023-12-05 14:02:12 -07:00
Northmoc
0c94e6de80 merfolk_tunnel_guide.txt initial 2023-12-05 08:27:58 -05:00
tool4ever
1ece8e6668 Clean up (#4295) 2023-12-05 12:36:23 +00:00
GitHub Actions
8c82589436 [maven-release-plugin] prepare for next development iteration 2023-12-04 20:40:21 -05:00
GitHub Actions
7e0088328b [maven-release-plugin] prepare release forge-1.6.59 2023-12-04 20:40:21 -05:00
Paul Hammerton
3ef29b4951 Merge pull request #4277 from Northmoc/WHO-trap
WHO: the_toymakers_trap.txt + support
2023-12-04 14:33:10 +00:00
Agetian
c652f9c584 Basic Discover AI based on modified PlayAi logic (#4271)
* - Basic Discover AI.

* - Remove some unused code.

* - Remove some more unused code.

* - Fix imports

* - Return false for LandAbility to avoid a potential CTD

* - Minor comment tweak.
2023-12-04 13:49:01 +03:00
Northmoc
5ee7105899 more Craft stuff 2023-12-03 16:42:52 -05:00
Northmoc
33d0fea610 WHO: the_toymakers_trap.txt + support 2023-12-03 16:02:44 -05:00
Northmoc
a23132197a LCI: dire_flail_dire_blunderbuss.txt + related (#4167) 2023-12-03 09:39:57 +00:00
Paul Hammerton
0e22a03fd4 Merge pull request #4140 from Northmoc/LCI-craft
LCI - Craft implementation
2023-12-03 09:29:40 +00:00
Northmoc
0a0ddbc514 various tweaks (#4258)
* various tweaks

* fix languages

* tidy takenuma_abandoned_mire.txt

* DiscardEffect typo fix

* rollback prompt tweaks
2023-12-02 23:16:30 +03:00
tool4EvEr
861e51622c Try improve AI 2023-12-02 10:49:22 +01:00
tool4EvEr
05e9dbfa9a Clean up 2023-12-02 09:26:05 +01:00
tool4EvEr
76cc51121c Logic fix 2023-12-02 09:04:59 +01:00
Northmoc
a0d844a622 better WhileKeyword 2023-12-01 23:28:03 -05:00
Northmoc
2214bdea34 more fixes 2023-12-01 20:32:43 -05:00
tool4ever
a0ba5e3ac2 Fix mutated creature staying facedown when bounced (#4255) 2023-12-01 16:44:30 +00:00
Northmoc
9a7b4c4865 fixes 2023-12-01 11:28:53 -05:00
tool4ever
04867f28c9 Fix scripts (#4249)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-12-01 05:51:42 +03:00
Northmoc
fa3d1366fa tweaks for AI improvement 2023-11-30 11:10:56 -05:00
Northmoc
b94a2868d8 Trigger.whileKeywordCheck 2023-11-29 19:52:10 -05:00
Northmoc
b286fce220 refactor WhileKeyword 2023-11-29 19:52:10 -05:00
Northmoc
e14b489ffe market_gnome.txt and support 2023-11-29 19:52:10 -05:00
Northmoc
eac062a1c2 eye_of_ojer_taq_apex_observatory.txt + support 2023-11-29 19:52:10 -05:00
Northmoc
a281d9931b fix imports 2023-11-29 19:52:09 -05:00
Northmoc
9734f166ac remove unneeded 2023-11-29 19:52:09 -05:00
Northmoc
c954efd090 more 2023-11-29 19:52:09 -05:00
Northmoc
1a57062b94 LCI - Craft implementation 2023-11-29 19:52:09 -05:00
Northmoc
193ecf14e9 CostRemoveCounter.toString improve (#4094) 2023-11-29 10:24:09 +00:00
tool4ever
d3aa749f0c Clean up (#4239)
* Fix NPE

* Clean up

* Fix script
2023-11-29 07:41:53 +01:00