Commit Graph

932 Commits

Author SHA1 Message Date
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
d01d9d486f Support Faramir, Prince of Ithilien (#3520)
* Fix Curse of Vitality

* Support Faramir, Prince of Ithilien

* Fix cards

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-07-24 10:17:25 +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
c1a265f5cc Support scripted switching to different trigger context (#3349)
* Support scripted switching to different trigger context
2023-07-20 10:34:31 +02:00
tool4EvEr
5281bace8e Fix scripts 2023-07-18 22:20:30 +02:00
Northmoc
44388fe3a2 MAT: ob_nixilis_captive_kingpin.txt + support (#3023)
* old card tweaks

* MAT: ob_nixilis_captive_kingpin.txt + support

* Single damage event always gets processed into single life loss too

* Some unless cost are simultaneous
2023-07-17 07:50:33 +00:00
tool4EvEr
40c93acbaa Fix Doubling Cube producing C out of nothing if floating colors have gap 2023-07-12 12:05:22 +02: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
54acfaff2c - Add AI support for Banding-granting cards 2023-07-04 20:07:54 +03:00
tool4ever
e6524f9e3f Support for The Balrog, Durin's Bane (#3321)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-06-23 05:55:09 +03:00
tool4ever
c9425270d3 Fix AnimateAll / AI check creating unwanted ending commands (#3296)
* Fix AnimateAll / AI check creating unwanted ending commands

* Fix crash with PW

* Clean up

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-06-19 13:39:18 +03:00
tool4ever
9ace1978f9 Script updates (#3289)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-06-18 05:49:33 +03:00
Agetian
26de52f2b3 Several AI improvements (#3284)
* - Improved Blitz AI support (will cast in Main 1 if viable).
- Hold for Ransom AI hint to actually use the ability when able.
- Basic AI support for Grisly Sigil so that at least it doesn't fizzle.
- Basic BranchAi framework, currently will mostly just return true, but may be used for special logic when needed.

* - Only choose from opponent's cards for Grisly Sigil.

* - Simplify implementation.

* - Minor style fix.
2023-06-17 18:30:08 +03:00
tool4EvEr
b363702146 Clean up 2023-06-12 14:17:08 +02:00
tool4ever
4bc8c05a5e Attack fixes (#3241) 2023-06-11 13:21:33 +00:00
tool4ever
ba1d3fbe43 Clean up (#3225) 2023-06-09 11:47:59 +00: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
65d385d531 Fix DeckHints only finding SimpleKeyword (#3191)
* Fix DeckHints only finding SimpleKeyword

* Reveal clash correctly

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-06-03 13:58:23 +03:00
tool4EvEr
c1d40f05c6 Some script updates 2023-06-01 20:05:10 +02:00
Anthony Calosa
08cdc763bf Update heirloom_mirror_inherited_fiend.txt 2023-05-30 06:51:09 +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
Northmoc
b930e2be97 MOC: Chaos Ensues!! 2023-04-21 17:09:54 -04:00
friarsol
e96fbb968b Any (E-I) 2023-04-17 21:06:57 -04:00
tool4EvEr
6103c7b657 Clean up descriptions 2023-04-13 22:30:12 +02:00
Northmoc
219b06a46a hidetsugu_devouring_chaos.txt better 2023-04-13 12:30:15 -04:00
Northmoc
0a82769405 add some battle cards 2023-04-13 10:32:57 -04:00
tool4ever
76a2023745 Clean up (#2907) 2023-04-12 20:48:12 +00:00
tool4ever
69a723d451 Clean up (#2893) 2023-04-11 14:06:07 +00:00
tool4ever
5731552010 StrictlyOther property (#2879)
* Clean up

* StrictlyOther property

* Beamsplitter fix

* Fix Fumble

* Fix Zevlor

* Fix Twinning Staff adding more than one copy for Zevlor

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2023-04-10 14:11:36 +03:00
tool4ever
e5ffb1db6e Fix Transformed Property for LKI (#2858)
* Fix Transformed Property for LKI
2023-04-09 09:54:12 +00:00
Paul Hammerton
6b683e5583 Alchemy Rebalancing for April 4, 2023 (#2820)
* WIP: Alchemy Rebalancing for April 4, 2023

* cards

* changes
2023-04-08 19:06:46 -04:00
tool4EvEr
beae50cefd Investigate fixes 2023-03-31 23:06:54 +02:00
tool4ever
4329e2b0c8 Improve a few parts from previous PR (#2770) 2023-03-28 21:11:13 +00:00
Northmoc
b4d2742f66 Seek effect + SeekAll trigger for new Arena stuff (#2590)
* trove_mage.txt refactor + support

* SeekEffect + SeekAll trigger initial

* SeekEffect better

* SeekEffect.getStackDescription basic

* more refactored

* gitrog_horror_of_zhava.txt needs ImprintFound

* 10 more refactors

* more

* SeekEffect fix bad imprint line

* SeekEffect fix better remember/imprint

* gitrog_horror_of_zhava.txt with Branch

* more cards

* last ones?

* SeekEffect tighten up based on Hanmac ver

* optimize imports

* fix param discrepancies

* SeekEffect tighten up
2023-03-21 11:58:23 +03:00
Simisays
39f3a57e96 three alchemy fixes (#2667) 2023-03-12 22:08:01 +00:00
tool4ever
c0d729cdda Fix refund timing (#2618) 2023-03-05 13:26:17 +00:00
TRT
489deb67aa Fix Revival Experiment via handlePaid cleanup 2023-03-02 13:18:36 +01:00
tool4EvEr
d6e479705f Clean up 2023-02-24 17:39:04 +01:00
tool4ever
e9dfbf3c66 Fix NPE (#2536)
* Fix NPE
2023-02-22 16:45:26 +00:00
Anthony Calosa
5852942e54 Merge pull request #2508 from tool4ever/omnath
New Omnath and support
2023-02-21 16:29:14 +08:00
tool4EvEr
022f3e0cb1 New Omnath and support 2023-02-20 11:47:30 +01:00
tool4EvEr
030ec3b33b Card cleanup 2023-02-18 12:53:37 +01:00
Paul Hammerton
f7abbdd359 Migrate upcoming scripts in preparation for ONE release (#2448) 2023-02-11 13:15:45 +03:00
TRT
4b5cbdeccb Clean costs 2023-02-09 13:46:19 +01:00
tool4EvEr
ca32fa98c7 More clean up 2023-02-08 21:01:58 +01:00