Skip to content

Commit

Permalink
Update Tags.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
eltreum0 committed Feb 4, 2022
1 parent 28f2020 commit a50104b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElvUI_EltreumUI/Core/Tags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,10 @@ E:AddTagInfo('eltruism:targetcast:indicator', ElvUI_EltreumUI.Name, L["Shows Tar
E:AddTag("eltruism:effectivehp", "UNIT_HEALTH UNIT_TARGET", function(unit)
local dr
if UnitExists("target") then
dr = (UnitArmor("player")/((UnitLevel('target')*467.5)+UnitArmor("player")-22167.5))
dr = (UnitArmor("player")/((UnitLevel("target")*467.5)+UnitArmor("player")-22167.5))
--dr = (UnitArmor("player")/((UnitLevel('target')*467.5)+UnitHealthMax("player")-22167.5))
else
dr = (UnitArmor("player")/((UnitLevel('player')*467.5)+UnitArmor("player")-22167.5))
dr = (UnitArmor("player")/((UnitLevel("player")*467.5)+UnitArmor("player")-22167.5))
--dr = (UnitArmor("player")/((UnitLevel('player')*467.5)+UnitHealthMax("player")-22167.5))
end
local ehp = UnitHealthMax("player")/(1-dr)
Expand Down

0 comments on commit a50104b

Please sign in to comment.