Commit Graph

66448 Commits

Author SHA1 Message Date
Agetian
234c7496e3 - Better place for the logic. (#4132) 2023-11-06 07:58:21 +03:00
kevlahnota
ebc3450998 Merge pull request #4106 from Simisays/LCI6
LCI 13 cards 4/11
2023-11-06 05:49:09 +08:00
kevlahnota
6e6c49962e Merge pull request #4080 from Simisays/REX2
REX last 11 cards
2023-11-06 05:12:54 +08:00
kevlahnota
b8359c07bc Merge pull request #4127 from Agetian/ai-move-hack
Move the Bring the Ending logic into SpecialCardAi until it's rewritten
2023-11-06 05:12:06 +08:00
kevlahnota
713b85c8da Merge pull request #4076 from tool4ever/panTweak
Panharmonicon: improve filtering of cause for complex trigger
2023-11-06 05:11:01 +08:00
kevlahnota
a6e1f65e66 Merge pull request #4092 from Simisays/LCI4
LCI 15 cards
2023-11-06 05:10:07 +08:00
kevlahnota
08fd7fa09d Merge pull request #4090 from Glorax/City-of-the-Daleks
WHO City of the Daleks
2023-11-06 05:09:45 +08:00
kevlahnota
890ddc1230 Merge pull request #4125 from tool4ever/clean5
Clean up card to play display
2023-11-06 05:08:21 +08:00
Hans Mackowiak
2bd2f2b235 TriggerExcessDamageAll: add new trigger for Magmatic Galleon (#4126)
* TriggerExcessDamageAll: add new trigger for Magmatic Galleon

* fix damagedList

* simplify triggerExcessDamage

* fix for Rith
2023-11-05 23:07:25 +03:00
Agetian
20970f1380 - Fix imports. 2023-11-05 22:26:47 +03:00
Agetian
bf3d603acd - Move the Bring the Ending logic into SpecialCardAi until it's rewritten to keep BranchAi cleaner. 2023-11-05 22:25:38 +03:00
Agetian
8e0bc63a8b AI framework to improve sacrificing endangered cards + several AI hints (Stoneforge Mystic, Atog, others) and improvements. (#4014)
* - Implement a fallback mechanism in case getting a card by name and edition fails for whatever reason.

* - Patch up pulling a card without filters in All Card Variants mode.

* - Sacrifice creatures when they're endangered (currently works for
AF LifeGain, LifeLose, and any AFs that do not have phase-based AI restrictions or other factors that will prevent instant speed activation)

* - Tweaks to the requirements for the AI.
- Some AI enablement.

* - Account for non-creature endangered objects

* - Flag Wall of Limbs as RemAIDeck for now.

* - Support for AF PutCounter.

* - Clean up.

* - Logic fix for AF PutCounter.

* - Clean up.

* - Logic tweak/fix for AF Pump.

* - Another slight tweak.

* - Some AI hint fixes/additions.

* - Some AI hint fixes/additions.

* - Improve timing for AF LifeGain/LifeLose.

* - AI profile option for default SacCost AI preference.

* - Default Sacrifice AI preference master toggle.

* - Stoneforge Mystic AI hint.

* - For now, keep the default pref SacCost toggle to the Experimental AI and at minimum values (too extreme for general use).

* - AI hint: Cryptbreaker

* - Don't auto-sac creatures that evaluate above a given threshold, sac smaller CMC first

* - Lower the priority of cards that have a self-sacrifice activated ability

* - Revert the evaluation modification until a better solution is found.

* - AI hint for Hallowed Moonlight.

* - AI hint for Winds of Abandon (AI casts the non-overloaded version in Main 1, so cast the other one in Main 1 as well to be able to prioritize/choose)

* - AI logic for The One Ring.

* - Some logic tweaks/fixes.

* - Winds of Abandon: use the AI logic hint like other similar non-permanent spells.

* - Fix logic for default sacrifice priorities.
- Mark P9 Mox, Black Lotus, and Lotus Petal cards as bad for AI sacrifice.

* - More logic fixes.

* - One more logic fix.

* - Revert the AIDontSacrifice hint for now.

* - Revert Tinker as well

* - Limit LifeLoseAi sac logic to threatened cards.

* - Logic tweak.

* - Logic tweak.

* - Simplify check (part already checked above).

* - Some more minor cleanup.

* - AI shouldn't sacrifice things mid-combat in presence of Trample or Banding because of altered combat rules (likely to backfire/result in a misplay)
- Minor cleanup.

* - A [hacky] way to make the AI understand Anticognition and Bring the Ending.

* - Fix imports.

* - Avoid a crash by ensuring that the AI parameter indeed points to an AI player (and not e.g. predicting/simulating human decisions at the moment)

* - Do not try to sacrifice a card in an attempt to regenerate it

* - Clean up for AiController mustRespond

* - Suppress recursive checkSacrificeCost when called from the predictive code.
- Trample only matters for the attacking side when checking for threatened card SacCost requirements

* - Naming convention.

* - NPE guard.

* - Recommended tweaks and fixes.

* - Don't override X payment for a triggered ability (e.g. Spiteful Banditry)

* - A better attempt at handling X inside trigger code.

* - Process AI logic for EffectAi from triggered abilities.

* - Improve Black Lotus AI by handling it as if it were a Mana Ritual card when processing ManaEffectAi.

* - AI property guarded check + meaningful default for potential non-AI calls
2023-11-05 22:21:11 +03:00
tool4EvEr
deac11a16e Clean up card to play display 2023-11-05 19:28:38 +01:00
kevlahnota
baaf8ab4c5 Merge pull request #4097 from Northmoc/LCI-ReplaceExplore
LCI – ReplaceExplore cards and support
2023-11-05 23:46:57 +08:00
kevlahnota
54f223fef8 Merge pull request #4119 from kevlahnota/newmaster2
update DefaultItemRenderer title/ability name
2023-11-05 21:25:27 +08:00
tool4EvEr
5854778996 Fix NPE for Esix 2023-11-05 13:58:34 +01:00
Anthony Calosa
881ccf81b1 update DefaultItemRenderer title/ability name
- support spaces on ability/title with cost
2023-11-05 20:51:29 +08:00
tool4EvEr
64ceedb406 Add support 2023-11-05 12:48:54 +01:00
tool4EvEr
bfdbb7a489 Clean up 2023-11-05 11:56:12 +01:00
tool4EvEr
6410d24e04 Apply patch 2023-11-05 11:51:45 +01:00
kevlahnota
6c60a4bdfd Merge pull request #4117 from kevlahnota/newmaster2
fix DefaultItemRenderer
2023-11-05 18:39:26 +08:00
Anthony Calosa
4abce673ef .. 2023-11-05 18:33:25 +08:00
Simisays
f76078743a Merge branch 'LCI4' of https://github.com/Simisays/forge into LCI4 2023-11-05 08:58:42 +01:00
Simisays
1bfcbb5694 cleanup 2023-11-05 08:58:39 +01:00
Simisays
f5438ced9f Update vanguard_of_the_rose.txt 2023-11-05 08:50:51 +01:00
kevlahnota
282b687963 Merge pull request #4091 from Northmoc/WHO-idris
WHO: idris_soul_of_the_tardis.txt + support
2023-11-05 09:25:30 +08:00
kevlahnota
a51348390b Update token-images.txt 2023-11-05 09:24:05 +08:00
Northmoc
5c68ded1fe fixes 2023-11-04 21:23:53 -04:00
tool4EvEr
a48f9b5fd7 Sync with registerActiveLTBtrigger 2023-11-04 22:57:31 +01:00
tool4EvEr
af5b36ec2e Panharmonicon should work for triggered mana abilities 2023-11-04 22:15:15 +01:00
Simisays
c32d7e9e36 Update gargantuan_leech.txt 2023-11-04 21:49:37 +01:00
Simisays
0931bbf066 Update TypeLists.txt 2023-11-04 21:45:52 +01:00
Simisays
18feb42eee cleanup + 3 new cards 2023-11-04 21:37:41 +01:00
Northmoc
e06d4bcb87 jadelight_spelunker.txt and ExploreEffect improvements 2023-11-04 15:04:15 -04:00
Northmoc
4d91c98cad LCI – ReplaceExplore cards and support 2023-11-04 14:59:53 -04:00
Northmoc
3a879c35d2 LCI: nicanzil_current_conductor.txt + support (#4086) 2023-11-04 18:41:04 +00:00
Simisays
1bd2680e77 Update grim_giganotosaurus.txt 2023-11-04 18:37:13 +01:00
Simisays
417888e13a Update ojer_kaslem_deepest_growth_temple_of_cultivation.txt 2023-11-04 18:15:48 +01:00
kevlahnota
21d68c4c50 Merge pull request #4107 from kevlahnota/newmaster2
update AdventureEventData pickWeightedCardBlock
2023-11-04 22:53:02 +08:00
Anthony Calosa
88087bd929 remove duplicate 2023-11-04 22:49:59 +08:00
Anthony Calosa
cedb4b2bef update AdventureEventData pickWeightedCardBlock 2023-11-04 22:46:53 +08:00
Simisays
4e18ca282f LCI 2023-11-04 15:20:00 +01:00
Simisays
3239a10ea9 Delete forge-gui/res/cardsfolder/upcoming/fabrication_foundry.txt 2023-11-04 15:13:04 +01:00
tool4EvEr
3672908fcc Clean up 2023-11-04 13:14:05 +01:00
tool4ever
6da4aa418c Update city_of_the_daleks.txt 2023-11-04 12:00:13 +00:00
Glorax
f6bbb5f16b WHO Trial of a Time Lord (#4099)
* Add files via upload

* Update trial_of_a_time_lord.txt
2023-11-04 09:15:41 +03:00
Glorax
0fb74359ae Update city_of_the_daleks.txt 2023-11-03 17:48:56 -07:00
Glorax
d62bec6ca2 Delete forge-gui/res/tokenscripts/b_3_3_a_dalek_menace_designated.txt 2023-11-03 17:48:11 -07:00
Glorax
d34d179936 Update city_of_the_daleks.txt 2023-11-03 17:48:01 -07:00
Glorax
aabdb97dbd Update city_of_the_daleks.txt 2023-11-03 16:56:40 -07:00