Skip to content

Commit 1a7c3e8

Browse files
LocalIdentityLocalIdentity
and
LocalIdentity
authored
Fix Herald of Ask damage showing negative values (#8550)
Herald of Ash was previously scaling with area and spell damage mods which it shouldn't it was also possible for the increased damage values to be negative which is not correct. Co-authored-by: LocalIdentity <[email protected]>
1 parent 5a2024f commit 1a7c3e8

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

src/Data/Skills/act_str.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5363,8 +5363,6 @@ skills["HeraldOfAsh"] = {
53635363
},
53645364
},
53655365
baseFlags = {
5366-
spell = true,
5367-
area = true,
53685366
},
53695367
baseMods = {
53705368
skill("radius", 10),

src/Export/Skills/act_str.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,6 @@ local skills, mod, flag, skill = ...
940940
#mods
941941

942942
#skill HeraldOfAsh
943-
#flags spell area
944943
preDamageFunc = function(activeSkill, output)
945944
activeSkill.skillData.FireDot = (activeSkill.skillData.hoaOverkill or 0) * (1 + activeSkill.skillData.hoaMoreBurn / 100) * activeSkill.skillData.hoaOverkillPercent
946945
end,

src/Modules/CalcOffence.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5244,7 +5244,7 @@ function calcs.offence(env, actor, activeSkill)
52445244
--Variables below calculate DOT damage
52455245
local inc = skillModList:Sum("INC", dotTypeCfg, "Damage", damageType.."Damage", isElemental[damageType] and "ElementalDamage" or nil)
52465246
if skillModList:Flag(nil, "dotIsHeraldOfAsh") then
5247-
inc = inc - skillModList:Sum("INC", skillCfg, "Damage", damageType.."Damage", isElemental[damageType] and "ElementalDamage" or nil)
5247+
inc = m_max(inc - skillModList:Sum("INC", skillCfg, "Damage", damageType.."Damage", isElemental[damageType] and "ElementalDamage" or nil), 0)
52485248
end
52495249
local more = skillModList:More(dotTypeCfg, "Damage", damageType.."Damage", isElemental[damageType] and "ElementalDamage" or nil)
52505250
local mult = skillModList:Override(dotTypeCfg, "DotMultiplier") or skillModList:Sum("BASE", dotTypeCfg, "DotMultiplier") + skillModList:Sum("BASE", dotTypeCfg, damageType.."DotMultiplier")

0 commit comments

Comments
 (0)