From 716797c5866e8cdbed6765921b1c8412b08fc957 Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Tue, 28 Jul 2026 16:37:15 +1000 Subject: [PATCH] Fix Fanaticism from Inquisitor no longer working The mod line was being parsed to just accept 4 instead of using a capture group of any int --- src/Data/ModCache.lua | 5 +---- src/Modules/ModParser.lua | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index dfdc865eb2..f7a9fe9150 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -9107,10 +9107,7 @@ c["Gain Defiance for 10 seconds on losing Life to an Enemy Hit, no more than onc c["Gain Defiance for 10 seconds on losing Life to an Enemy Hit, no more than once every 0.3 seconds Lose all Defiance when you reach 10 Defiance Gain 3% of Missing Unreserved Life before being Hit by an Enemy Per Defiance"]={nil,"Defiance on losing Life to an Enemy Hit, no more than once every 0.3 seconds Lose all Defiance when you reach 10 Defiance Gain 3% of Missing Unreserved Life before being Hit by an Enemy "} c["Gain Elusive on Critical Strike"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanBeElusive",type="FLAG",value=true}},nil} c["Gain Elusive on reaching Low Life"]={{[1]={[1]={type="Condition",var="LowLife"},flags=0,keywordFlags=0,name="Condition:CanBeElusive",type="FLAG",value=true}},nil} -c["Gain Fanaticism for 5 seconds on reaching Maximum Fanatic Charges"]={nil,"Fanaticism on reaching Maximum Fanatic Charges "} -c["Gain Fanaticism for 5 seconds on reaching Maximum Fanatic Charges Gain 1 Fanatic Charge every second if you've Attacked in the past second"]={nil,"Fanaticism on reaching Maximum Fanatic Charges Gain 1 Fanatic Charge every second if you've Attacked in the past second "} -c["Gain Fanaticism for 5 seconds on reaching Maximum Fanatic Charges Gain 1 Fanatic Charge every second if you've Attacked in the past second Lose all Fanatic Charges on reaching Maximum Fanatic Charges"]={nil,"Fanaticism on reaching Maximum Fanatic Charges Gain 1 Fanatic Charge every second if you've Attacked in the past second Lose all Fanatic Charges on reaching Maximum Fanatic Charges "} -c["Gain Fanaticism for 5 seconds on reaching Maximum Fanatic Charges Gain 1 Fanatic Charge every second if you've Attacked in the past second Lose all Fanatic Charges on reaching Maximum Fanatic Charges +3 to Maximum Fanatic Charges"]={nil,"Fanaticism on reaching Maximum Fanatic Charges Gain 1 Fanatic Charge every second if you've Attacked in the past second Lose all Fanatic Charges on reaching Maximum Fanatic Charges +3 to Maximum Fanatic Charges "} +c["Gain Fanaticism for 5 seconds on reaching Maximum Fanatic Charges"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanGainFanaticism",type="FLAG",value=true}},nil} c["Gain Her Blessing for 3 seconds when you Ignite an Enemy"]={nil,"Her Blessing when you Ignite an Enemy "} c["Gain Her Blessing for 3 seconds when you Ignite an Enemy 33% chance to Blind nearby Enemies when gaining Her Blessing"]={nil,"Her Blessing when you Ignite an Enemy 33% chance to Blind nearby Enemies when gaining Her Blessing "} c["Gain Her Embrace for 3 seconds when you Ignite an Enemy"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanGainHerEmbrace",type="FLAG",value=true}},nil} diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index 3a69a817b3..fe66913597 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -2854,7 +2854,7 @@ local specialModList = { ["consecrated ground you create applies (%d+)%% increased damage taken to enemies"] = function(num) return { mod("EnemyModifier", "LIST", { mod = mod("DamageTakenConsecratedGround", "INC", num, { type = "Condition", var = "OnConsecratedGround" }) }) } end, ["you have consecrated ground around you while stationary"] = { flag("Condition:OnConsecratedGround", { type = "Condition", var = "Stationary" }) }, ["consecrated ground you create grants immun[ei]t?y? to elemental ailments to you and allies"] = { mod("ExtraAura", "LIST", { mod = flag("ElementalAilmentImmune", { type = "Condition", var = "OnConsecratedGround" }) }), }, - ["gain fanaticism for 4 seconds on reaching maximum fanatic charges"] = { + ["gain fanaticism for (%d+) seconds on reaching maximum fanatic charges"] = { flag("Condition:CanGainFanaticism"), }, ["(%d+)%% increased critical strike chance per point of strength or intelligence, whichever is lower"] = function(num) return {