Commit Graph

1491 Commits

Author SHA1 Message Date
tool4EvEr
9fcdd34527 Fix Curses 2023-10-14 23:04:52 +02:00
tool4EvEr
59cfae7eaa Refactor scripts 2023-10-14 11:47:07 +02:00
Northmoc
25e89b04a3 day_of_the_moon.txt and support/refactor in NameCard (#3890)
* day_of_the_moon.txt and support/refactor
2023-10-14 09:46:22 +00:00
tool4ever
2a2e4d7819 Support for Display of Power (#3876)
* Support for Display of Power

* Clean up

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-10-10 05:53:12 +03:00
tool4ever
021bd2c16b LKI: fix wrong state on stack (#3843)
* fix wrong state on stack

* fix typo
2023-10-02 11:14:48 +02:00
Hans Mackowiak
7e111c44ea ~ fix compleated_huntmaster.txt 2023-09-23 11:23:35 +02:00
tool4ever
461cc96800 Fix scripts (#3785)
* Fix scripts

* Fix adventure color when different to main part

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-09-17 22:01:25 +03:00
tool4ever
e233129975 Support for Throne of Eldraine (#3757)
* Fix scripts

* Fix Reflect

* Refactor mana restrictions from SA

* Update scripts

* AltCost fix

* Fix Muraganda Petroglyphs affecting Security Rhox

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-09-11 06:04:13 +03:00
tool4EvEr
266cea43cd Fix scripts 2023-09-08 22:28:26 +02:00
Hans Mackowiak
282d9860c7 Mana convert refactor (#3718)
* ~ cleanup applyManaColorConversion with only one Parameter

* remove ManaConvert Keyword and Vizier of the Menagerie

* remove other ManaConvert Keyword

* ~ fix scripts

* ManaConvention on GainedActivatedAbility

* ~ fix scripts

* rework Celestial Dawn and nonWhite restriction

* * update AI to apply matrix instead of hardcoded ignoreType and ignoreColor

* store Mana Matrix in PaymentDecision instead of CostPartMana

* ~ move Mana Matrix to more methods

* ManaConversionMatrix: add for Unless and Optional Cost

* Clean up AI

* Remove some calls that should be unneeded but make debugging annoying

* After paying with mana ability the old matrix should apply again

* Move matrix restore because AI needs it too

* Only human needs extra matrix on effect payments

* fix checks

* Update ComputerUtilMana.java

more !effect checks

* Story by CardPlayOption

* Fix North Star

* Remove obsolete code

* ~ ignoreType > ignoreColor

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-09-08 18:09:03 +03:00
paulsnoops
14b5da90d8 UB/SLX rebranded script merging 2023-09-02 14:19:26 +01:00
Hans Mackowiak
d430e1919a TriggerTaps: adds Cause for Tapping by ReplacementEffect (#3665)
* TriggerTaps: adds Cause for Tapping by ReplacementEffect

* TriggerTaps handle who taps it differently

* Cost: add payer to doPayment

* TapEffect: add Tapper

* Tag scripts

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-08-28 17:44:53 +03:00
Anthony Calosa
e2f6e85dd3 update scripts 2023-08-19 11:58:56 +08:00
tool4ever
78ed8480cb Update scripts (#3644)
* Improve performance

* Fix KW

---------

Co-authored-by: TRT <>
2023-08-16 18:48:36 +03:00
paulsnoops
dd4c47c9ce Migrate card scripts from upcoming 2023-08-06 09:24:14 +01:00
kevlahnota
3d76748856 Update chaos_wand.txt 2023-08-05 23:53:55 +08:00
tool4EvEr
50900dbab2 Fix Cellar Door 2023-08-01 19:08:25 +02:00
kevlahnota
dff8492bf8 Merge pull request #3570 from tool4ever/fix31
Fix NPE
2023-08-01 01:47:55 +08:00
tool4EvEr
503047116f Fix scripts 2023-07-31 19:32:38 +02:00
kevlahnota
54d502549e Merge pull request #3565 from tool4ever/fix30
Fix xPaid reset
2023-07-31 02:10:12 +08:00
tool4EvEr
b0ec1d68df Clean up 2023-07-30 18:39:27 +02:00
tool4ever
04b38035f5 Merge branch 'master' into triggervote 2023-07-30 09:05:24 +02:00
Northmoc
97ea9181b1 fixes 2023-07-29 23:11:54 -04:00
tool4EvEr
5db7702d8e DigUntil is sequential 2023-07-29 21:18:52 +02:00
Hans Mackowiak
c15542f949 Regenerate rework (#3385)
* CardFactoryUtil: remove false keyword

* CardFactoryUtil: remove wrong regenerate Keyword

* CantRegenerate as Static

* ~small fixes

* RegenerationAbility as SubAbility to the Regeneration Effect

* Card: use shieldCount instead of Collection

* remove deprecated trigger

* fix AiLogic vs AILogic

* EffectAi: start of logic for CantRegenerate

* EffectAi: try to do StackPeek for CantRegenerate

* ~ use wither damage

* AI prediction against Damage

* CantRegenerate: begin logic against Combat Damage

* AnimateAi: start logic for Bone Shaman

* fix Runesword
2023-07-29 10:58:14 +03:00
Chris H
abb2ff3cdf Ring tempts you (#3453)
* Ring tempts you WIP

* add ring triggers

* Update RingTemptsYouEffect.java

* Add files via upload

* Update TriggerRingbearerChosen.java

* Update token-images.txt

* Update TrackableProperty.java

* Update CardView.java

* Update CardRenderer.java

* Update RingTemptsYouEffect.java

fix crash

* Update Card.java

* Update CardView.java

* Update TrackableProperty.java

* Update StaticAbilityContinuous.java

* Update StaticEffect.java

* Update RingTemptsYouEffect.java

* update sprite_manaicons.png

* Update FSkinProp.java

* Update FSkinImage.java

* Update CardFaceSymbols.java

* Update CardRenderer.java

* update trigger

* update desktop symbol, add aragorn company leader

* update cleanup, add bilbo, add birthday escape

* update cleanup

* add 3 cards

* add five cards

* add two cards

* update aragorn,update bombadil, add two cards

* add ten cards

* Update horses_of_the_bruinen.txt

* add dunedain rangers + cleanup

* Update gollums_bite.txt

* update cleanup

* add six cards

* delete unnecessary file

* Update rangers_firebrand.txt

* add two cards, add RingTemptedYou playerproperty

* update frodo, add three cards

* update sauron, samwise, add two cards

* Update sauron_the_dark_lord.txt

* update validplayer

* add six cards

* update smeagol

* update sauron ransom two piles

* add four cards

* add three cards

* update card scripts

* Update war_of_the_last_alliance.txt

* update scripts, update ringbearer

* update CardDetailUtil

* remove unused param

* Update affected

* remove unnecesary variables

* update

* update scripts

* update RingTemptsYouEffect

* fix cantblockby RingTemptsYouEffect.java

* The Ring: use numTemptYou for RingLevel

* Update dunedain_rangers.txt

* Update jaces_defeat.txt

* update lord of the nazgul

* fix theRing CardView

* update ringEffect, update translation

* update translation

* update gamestate

* replace switch with if else

* fix effect

* update gamestate, translation

* update restartgameeffect, remove unneeded clearRingBearer

---------

Co-authored-by: Anthony Calosa <anthonycalosa@gmail.com>
Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
Co-authored-by: Hans Mackowiak <hanmac@gmx.de>
2023-07-26 20:07:41 +03:00
tool4ever
69d5e1e9da Manifest: Fix missing ChangesZoneAll (#3510)
* Crash fix

* Fix logic

* Fix missing ChangesZoneAll

* Fix scripts

* Clean up

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-07-22 07:02:21 +03:00
tool4EvEr
a7aff0f80d Fix scripts 2023-07-20 21:02:11 +02:00
Katharina
63eb8e3481 Implemented Composer of Spring (#3495) 2023-07-20 15:21:06 +02:00
Paul Hammerton
36b7632b95 Alchemy Rebalancing for July 18, 2023 (also CMM edition update) (#3489) 2023-07-19 12:51:34 +03:00
tool4EvEr
5281bace8e Fix scripts 2023-07-18 22:20:30 +02:00
tool4EvEr
927c3f619d Some fixes 2023-07-10 20:35:36 +02:00
Agetian
66af38b81a Basic AI for Chalice of the Void, minor DamageDealAi improvement (#3438)
* - Basic AI for Chalice of the Void.

* - Improved card filter for Chalice of the Void.

* - DamageDealAi: improve decision to deal damage when able to target an opponent

* - DamageDealAi: get rid of a redundant call, remove obsolete planeswalker redirection code

* - Fix imports

* - Update logic
2023-07-10 13:39:34 +03:00
tool4ever
491ccd1719 Fix missing reorder (#3435)
* Fix missing reorder

* Fix Ward check for all subs
2023-07-09 11:09:37 +00:00
Agetian
dbc2a5b5eb AI: Various logic fixes and improvements (#3416)
* - Fix logic for Elderscale Wurm damage prediction

* - AI logic hint for Tempting Wurm
- Several related AI hint fixes (cards in hand don't have a controller set)

* - Implement AI logic for Grothama, All-Devouring.

* - AI shouldn't fight its own Grothama for card draw (leads to silly results).

* - Attempt two at fixing Elderscale Wurm damage preditions.

* - Improve banding AI so that the AI knows how to tank damage from Trample when the other possibility is multiple chump blockers.

* - Clean up

* - Attempt to defer checking for "...as if it were unblocked" static until after the Banding blocker(s) are assigned.
- Clean up

* - Clean up
2023-07-06 18:01:59 +03:00
Agetian
f699304dc0 - Enable more Banding cards for the AI. 2023-07-04 20:17:04 +03:00
Agetian
bf0a816bf8 - Enable AI support for Banding cards. 2023-07-02 19:06:05 +03:00
Agetian
7c2e3d2a47 Basic AI for Gale's Redirection, Consecrate // Consume, Serra's Emissary (#3376)
* - Basic AI for Gale's Redirection.

* - Clean up.

* - Add resetTargets.

* - Minor style tweak.

* - Improve Consecrate // Consume implementation, enable AI support.

* - Improve Serra's Emissary AI support.
2023-07-02 06:50:26 +03:00
tool4ever
9ace1978f9 Script updates (#3289)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-06-18 05:49:33 +03:00
Hans Mackowiak
8f1100dff3 Amass type (#3222)
* AmassEffect: add Type parameter

* fix AmassAi

* update editions tokenscripts

* Update AmassEffect.java

early return if no Army could be created
2023-06-09 12:56:46 +03:00
tool4EvEr
2b0072ec09 Cleanup more ResolvingChecks 2023-06-04 12:25:03 +02:00
tool4ever
3883dde561 Update params (#3186) 2023-06-02 11:00:58 +02:00
tool4EvEr
c1d40f05c6 Some script updates 2023-06-01 20:05:10 +02:00
Anthony Calosa
fc944ce41b Merge pull request #3031 from Northmoc/mat_tranquil
MAT: tranquil_frillback.txt + support/related
2023-05-25 06:08:20 +08:00
paulsnoops
c399799910 Migrate card scripts: MOM, MOC, MAT 2023-05-12 14:26:26 -04:00
Northmoc
7f7e8f0ea0 Merge pull request #3052 from tool4ever/cardfix05
Fix outdated TargetMin
2023-05-02 13:59:01 -04:00
Northmoc
c3f0e0ce10 MAT: remaining card scripts (#3041)
* MAT: remaining card scripts

* Update quirion_beastcaller.txt

---------

Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
2023-05-02 19:45:44 +03:00
tool4EvEr
901f546dd2 Fix outdated TargetMin 2023-05-02 13:14:01 +02:00
Anthony Calosa
4329675743 update some cards
-don't reveal cards to other player unless stated..
2023-05-02 08:26:24 +08:00
Northmoc
b05ca1f440 tranquil_frillback.txt + support/related 2023-04-30 08:05:50 -04:00