From 2cf07771eef6b582be8464da9e2ed7ab50554af6 Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Thu, 5 Mar 2026 20:21:46 +1100 Subject: [PATCH] Fix Curtain Call mods not working The mods worked in the past but the parsing broke at some point --- src/Data/ModCache.lua | 5 ++--- src/Modules/ModParser.lua | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index db0c8df48f..77f1cbda95 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -11234,9 +11234,8 @@ c["Skills which Exert an Attack have 40% chance to not count that Attack"]={nil, c["Skills which Throw Traps have +1 Cooldown Use"]={{[1]={flags=0,keywordFlags=4096,name="AdditionalCooldownUses",type="BASE",value=1}},nil} c["Skills which Throw Traps throw up to 2 additional Traps"]={{[1]={flags=0,keywordFlags=0,name="TrapThrowCount",type="BASE",value=2}},nil} c["Skills which create Brands have 35% chance to create an additional Brand"]={nil,"Skills which create Brands have 35% chance to create an additional Brand "} -c["Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Dexterity"]={nil,"Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Dexterity "} -c["Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Dexterity Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Intelligence"]={nil,"Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Dexterity Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Intelligence "} -c["Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Intelligence"]={nil,"Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Intelligence "} +c["Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Dexterity"]={{[1]={[1]={stat="Dex",threshold=800,type="StatThreshold"},flags=0,keywordFlags=8192,name="MineThrowCount",type="BASE",value=1}},nil} +c["Skills which throw Mines throw up to 1 additional Mine if you have at least 800 Intelligence"]={{[1]={[1]={stat="Int",threshold=800,type="StatThreshold"},flags=0,keywordFlags=8192,name="MineThrowCount",type="BASE",value=1}},nil} c["Skills which throw Traps Cost Life instead of Mana"]={{[1]={[1]={skillType=36,type="SkillType"},flags=0,keywordFlags=0,name="CostLifeInsteadOfMana",type="FLAG",value=true}},nil} c["Socketed Curse Gems are Supported by Level 22 Blasphemy"]={{[1]={[1]={slotName="{SlotName}",type="SocketedIn"},flags=0,keywordFlags=0,name="ExtraSupport",type="LIST",value={level=22,skillId="SupportBlasphemy"}}},nil} c["Socketed Curse Gems have 30% increased Reservation Efficiency"]={{[1]={[1]={keyword="curse",slotName="{SlotName}",type="SocketedIn"},flags=0,keywordFlags=0,name="ExtraSkillMod",type="LIST",value={mod={flags=0,keywordFlags=0,name="ReservationEfficiency",type="INC",value=30}}}},nil} diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index fd91130b3e..d239c9ffbc 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -1115,7 +1115,7 @@ local preFlagList = { ["^skills used by traps [hgd][ae][via][enl] "] = { keywordFlags = KeywordFlag.Trap }, ["^skills which throw traps [hgd][ae][via][enl] "] = { keywordFlags = KeywordFlag.Trap }, ["^skills used by mines [hgd][ae][via][enl] "] = { keywordFlags = KeywordFlag.Mine }, - ["^skills which throw mines ([hgd][ae][via][enl])? "] = { keywordFlags = KeywordFlag.Mine }, + ["^skills which throw mines ([hgd]?[ae]?[via]?[enl]?[ ]?)"] = { keywordFlags = KeywordFlag.Mine }, ["^skills used by your traps and mines ([hgd]?[ae]?[via]?[enl]?[ ]?)"] = { keywordFlags = bor(KeywordFlag.Trap, KeywordFlag.Mine) }, -- Local damage ["^attacks with this weapon "] = { tagList = { { type = "Condition", var = "{Hand}Attack" }, { type = "SkillType", skillType = SkillType.Attack } } },