Skip to content

Commit

Permalink
Merge pull request #2463 from Nostrademous/ULT_LowThreshold
Browse files Browse the repository at this point in the history
Update Low Life/Mana threshold
  • Loading branch information
Wires77 authored Apr 14, 2021
2 parents 76cd853 + b2fb2cd commit bd6257e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Modules/CalcPerform.lua
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ local function doActorLifeManaReservation(actor)
output[pool.."ReservedPercent"] = m_min(reserved / max * 100, 100)
output[pool.."Unreserved"] = max - reserved
output[pool.."UnreservedPercent"] = (max - reserved) / max * 100
if (max - reserved) / max <= 0.35 then
if (max - reserved) / max <= data.misc.LowPoolThreshold then
condList["Low"..pool] = true
end
else
Expand Down
1 change: 1 addition & 0 deletions src/Modules/Data.lua
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ data.misc = { -- magic numbers
MineAuraRadiusBase = 35,
PurposefulHarbingerMaxBuffPercent = 40,
MaxEnemyLevel = 84,
LowPoolThreshold = 0.5,
}

-- Misc data tables
Expand Down

0 comments on commit bd6257e

Please sign in to comment.