From 9ee361dcf283f5be9c556ca086db9d43d9180d1f Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Tue, 28 Jul 2026 21:40:40 +1000 Subject: [PATCH] Fix Devastator not showing corpse explode damage For some reason this mod was never mapped properly --- src/Data/ModCache.lua | 2 +- src/Modules/ModParser.lua | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index dfdc865eb2..2f687a3f42 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -8568,7 +8568,7 @@ c["Enemies Killed near corpses affected by your Curses explode, dealing"]={nil," c["Enemies Killed near corpses affected by your Curses explode, dealing 3% of their Life as Physical Damage"]={{[1]={[1]={threshold=1,type="MultiplierThreshold",var="NearbyCorpse"},[2]={actor="enemy",type="ActorCondition",var="Cursed"},flags=0,keywordFlags=0,name="ExplodeMod",type="LIST",value={amount=3,chance=1,keyOfScaledMod="chance",type="Physical"}},[2]={flags=0,keywordFlags=0,name="CanExplode",type="FLAG",value=true}},nil} c["Enemies Killed near your Banner have 20% chance to Explode, dealing a tenth of their Life as Physical Damage"]={nil,"Enemies Killed near your Banner have 20% chance to Explode, dealing a tenth of their Life as Physical Damage "} c["Enemies Killed near your Banner have 20% chance to Explode, dealing a tenth of their Life as Physical Damage Banner Skills have 20% increased Area of Effect"]={nil,"Enemies Killed near your Banner have 20% chance to Explode, dealing a tenth of their Life as Physical Damage Banner Skills have 20% increased Area of Effect "} -c["Enemies Killed with Attack Hits have a 15% chance to Explode, dealing a tenth of their Life as Physical Damage"]={{[1]={flags=0,keywordFlags=0,name="ExplodeMod",source="physical",type="LIST",value={amount=15,chance=0.15,keyOfScaledMod="chance",type="Tenth"}},[2]={flags=0,keywordFlags=0,name="CanExplode",type="FLAG",value=true}},nil} +c["Enemies Killed with Attack Hits have a 15% chance to Explode, dealing a tenth of their Life as Physical Damage"]={{[1]={flags=0,keywordFlags=0,name="ExplodeMod",type="LIST",value={amount=10,chance=0.15,keyOfScaledMod="chance",type="Physical"}},[2]={flags=0,keywordFlags=0,name="CanExplode",type="FLAG",value=true}},nil} c["Enemies Killed with Wand Hits have a 10% chance to Explode, dealing a quarter of their Life as Chaos Damage"]={{[1]={[1]={type="Condition",var="UsingWand"},flags=0,keywordFlags=0,name="ExplodeMod",type="LIST",value={amount=25,chance=0.1,keyOfScaledMod="chance",type="Chaos"}},[2]={flags=0,keywordFlags=0,name="CanExplode",type="FLAG",value=true}},nil} c["Enemies Poisoned by you cannot Regenerate Life"]={nil,"you cannot Regenerate Life "} c["Enemies Poisoned by you cannot Regenerate Life +6% to Damage over Time Multiplier for Poison while wielding a Claw or Dagger"]={nil,"you cannot Regenerate Life +6% to Damage over Time Multiplier for Poison while wielding a Claw or Dagger "} diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index 3a69a817b3..633ec90d09 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -2118,7 +2118,9 @@ local specialModList = { ["enemies you kill while affected by glorious madness have a (%d+)%% chance to explode, dealing a (.+) of their life as (.+) damage"] = function(chance, _, amount, type) -- Beacon of Madness return explodeFunc(chance, amount, type, { type = "Condition", var = "AffectedByGloriousMadness" }) end, - ["enemies killed with attack hits have a (%d+)%% chance to explode, dealing a (.+) of their life as (.+) damage"] = explodeFunc, -- Devastator (attack clusters) + ["enemies killed with attack hits have a (%d+)%% chance to explode, dealing a (.+) of their life as (.+) damage"] = function(chance, _, amount, type) -- Devastator (attack clusters) + return explodeFunc(chance, amount, type) + end, ["enemies killed with wand hits have a (%d+)%% chance to explode, dealing a (.+) of their life as (.+) damage"] = function(chance, _, amount, type) -- Explosive Force (wand clusters) return explodeFunc(chance, amount, type, { type = "Condition", var = "UsingWand" }) end,