From c85c1204f60a4d0c01eab90e6c36e80a89d014b6 Mon Sep 17 00:00:00 2001 From: Regisle Date: Sat, 31 Aug 2024 14:01:30 +0930 Subject: [PATCH] fix Dual Wielding Mastery Elusive on block not enabling config --- src/Data/ModCache.lua | 2 +- src/Modules/ModParser.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index 0f9b2fdcfc..0a16062ba1 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -3415,7 +3415,7 @@ c["20% chance to Trigger Level 25 Summon Spectral Wolf on Critical Strike with t c["20% chance to deal Double Damage while Focused"]={{[1]={[1]={type="Condition",var="Focused"},flags=0,keywordFlags=0,name="DoubleDamageChance",type="BASE",value=20}},nil} c["20% chance to deal Double Damage while affected by Glorious Madness"]={{[1]={[1]={type="Condition",var="AffectedByGloriousMadness"},flags=0,keywordFlags=0,name="DoubleDamageChance",type="BASE",value=20}},nil} c["20% chance to double Stun Duration"]={{[1]={flags=0,keywordFlags=0,name="DoubleEnemyStunDurationChance",type="BASE",value=20}},nil} -c["20% chance to gain Elusive when you Block while Dual Wielding"]={{[1]={[1]={type="Condition",var="DualWielding"},flags=0,keywordFlags=0,name="Condition:CanBeElusive",type="FLAG",value=true}}," when you Block "} +c["20% chance to gain Elusive when you Block while Dual Wielding"]={{[1]={[1]={type="Condition",var="DualWielding"},flags=0,keywordFlags=0,name="Condition:CanBeElusive",type="FLAG",value=true}},nil} c["20% chance to gain Onslaught for 4 seconds on Kill"]={{[1]={[1]={type="Condition",var="KilledRecently"},flags=0,keywordFlags=0,name="Condition:Onslaught",type="FLAG",value=true}},nil} c["20% chance to gain a Endurance Charge on Kill"]={nil,"a Endurance Charge "} c["20% chance to gain a Endurance Charge on Kill Regenerate 4% of Life per second"]={nil,"a Endurance Charge Regenerate 4% of Life per second "} diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index 043c193d91..771331ee9d 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -4920,6 +4920,7 @@ local specialModList = { ["gain elusive on critical strike"] = { flag("Condition:CanBeElusive"), }, + ["(%d+)%% chance to gain elusive when you block while dual wielding"] = { flag("Condition:CanBeElusive", { type = "Condition", var = "DualWielding" }) }, ["elusive is removed from you at (%d+)%% effect"] = function(num) return { mod("ElusiveEffectMinThreshold", "OVERRIDE", num) } end, ["nearby enemies have (%a+) resistance equal to yours"] = function(_, res) return { flag("Enemy"..(res:gsub("^%l", string.upper)).."ResistEqualToYours") } end, ["for each nearby corpse, regenerate ([%d%.]+)%% life per second, up to ([%d%.]+)%%"] = function(num, _, limit) return { mod("LifeRegenPercent", "BASE", num, { type = "Multiplier", var = "NearbyCorpse", limit = tonumber(limit), limitTotal = true }) } end,