Skip to content

Commit 1d36787

Browse files
authored
ailment pass is much later in the code, nil check until vortex ground dot has the override (#9321)
1 parent d5de399 commit 1d36787

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Modules/CalcOffence.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5549,7 +5549,8 @@ function calcs.offence(env, actor, activeSkill)
55495549
elseif skillFlags.totem then
55505550
useSpeed = (output.Cooldown and output.Cooldown > 0 and (output.TotemPlacementSpeed > 0 and output.TotemPlacementSpeed or 1 / output.Cooldown) or output.TotemPlacementSpeed) / repeats
55515551
timeType = "totem placement"
5552-
elseif skillModList:Flag(nil, "HasSeals") and skillModList:Flag(nil, "UseMaxUnleash") then
5552+
-- nil check until ailment pass for skills like Vortex
5553+
elseif skillModList:Flag(nil, "HasSeals") and skillModList:Flag(nil, "UseMaxUnleash") and env.player.mainSkill.skillData.hitTimeOverride then
55535554
useSpeed = env.player.mainSkill.skillData.hitTimeOverride / repeats
55545555
timeType = "full unleash"
55555556
else

0 commit comments

Comments
 (0)