Skip to content

Commit cad86b9

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Bleed chance over 100% scaling Vicious Skewering Impale effect (#9654)
The calc was not capping the effect at 100% Bleed chance Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent ba59a23 commit cad86b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Modules/CalcOffence.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5296,7 +5296,7 @@ function calcs.offence(env, actor, activeSkill)
52965296
local impaleStacks = m_min(maxStacks, configStacks)
52975297

52985298
local baseStoredDamage = data.misc.ImpaleStoredDamageBase
5299-
local storedExpectedDamageIncOnBleed = skillModList:Sum("INC", cfg, "ImpaleEffectOnBleed")*skillModList:Sum("BASE", cfg, "BleedChance")/100
5299+
local storedExpectedDamageIncOnBleed = skillModList:Sum("INC", cfg, "ImpaleEffectOnBleed") * m_min(skillModList:Sum("BASE", cfg, "BleedChance") / 100, 1)
53005300
local storedExpectedDamageInc = (skillModList:Sum("INC", cfg, "ImpaleEffect") + storedExpectedDamageIncOnBleed)/100
53015301
local storedExpectedDamageMore = round(skillModList:More(cfg, "ImpaleEffect"), 2)
53025302
local storedExpectedDamageModifier = (1 + storedExpectedDamageInc) * storedExpectedDamageMore

0 commit comments

Comments
 (0)