Skip to content

Commit 11b5f9b

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Raise Spectre damage being affected by hidden elemental conversion (#9952)
In #9150 I added support for the phys conversion damage bonus mechanic that GGG added for enemy monsters. In 3.28 they removed this bonus from applying to spectres but I hadn't removed it from PoB yet Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 8226226 commit 11b5f9b

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/Modules/CalcOffence.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@ local function calcDamage(activeSkill, output, cfg, breakdown, damageType, typeF
8080
end
8181
local convMult = conversionTable[otherType][damageType]
8282
if convMult > 0 then
83-
local convPortion = conversionTable[otherType].conversion[damageType]
84-
if convPortion > 0 and cfg.summonSkillName and cfg.summonSkillName == "Raise Spectre" and otherType == "Physical" and damageType ~= "Chaos" then
85-
local physBonus = 1 + data.monsterPhysConversionMultiTable[activeSkill.actor.level] / 100
86-
convMult = (convMult - convPortion) + convPortion * physBonus
87-
end
8883
-- Damage is being converted/gained from the other damage type
8984
local min, max = calcDamage(activeSkill, output, cfg, breakdown, otherType, typeFlags, damageType)
9085
addMin = addMin + min * convMult

0 commit comments

Comments
 (0)