Skip to content

Commit

Permalink
'Wait for max unleash seals' mana cost fix (#6333)
Browse files Browse the repository at this point in the history
Do not invert use speed of max unleash when factoring in cost
  • Loading branch information
busterw authored Aug 15, 2023
1 parent 01a591d commit a899668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/CalcOffence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4919,7 +4919,7 @@ function calcs.offence(env, actor, activeSkill)
useSpeed = (output.Cooldown and output.Cooldown > 0 and (output.TotemPlacementSpeed > 0 and output.TotemPlacementSpeed or 1 / output.Cooldown) or output.TotemPlacementSpeed) / repeats
timeType = "totem placement"
elseif skillModList:Flag(nil, "HasSeals") and skillModList:Flag(nil, "UseMaxUnleash") then
useSpeed = 1 / env.player.mainSkill.skillData.hitTimeOverride / repeats
useSpeed = env.player.mainSkill.skillData.hitTimeOverride / repeats
timeType = "full unleash"
else
useSpeed = (output.Cooldown and output.Cooldown > 0 and (output.Speed > 0 and output.Speed or 1 / output.Cooldown) or output.Speed) / repeats
Expand Down

0 comments on commit a899668

Please sign in to comment.