Overkill fixes
This commit is contained in:
@@ -235,7 +235,8 @@ function _detalhes:ToolTipDead (instancia, morte, esta_barra, keydown)
|
||||
|
||||
local overkill = event [10] or 0
|
||||
if (overkill > 0) then
|
||||
amount = amount - overkill
|
||||
--overkill was being reduced twice, here and inside parser
|
||||
--amount = amount - overkill
|
||||
overkill = " (" .. _detalhes:ToK (overkill) .. " |cFFFF8800overkill|r)"
|
||||
GameCooltip:AddLine ("" .. _cstr ("%.1f", time - hora_da_morte) .. "s |cFFFFFF00" .. spellname .. "|r (|cFFC6B0D9" .. source .. "|r)", "-" .. _detalhes:ToK (amount) .. overkill .. " (" .. hp .. "%)", 1, "white", "white")
|
||||
else
|
||||
|
||||
+3
-1
@@ -669,7 +669,9 @@
|
||||
end
|
||||
if (_is_in_instance) then
|
||||
if (overkill and overkill > 0) then
|
||||
amount = amount - overkill
|
||||
--if enabled it'll cut the amount of overkill from the last hit (which killed the actor)
|
||||
--when disabled it'll show the total damage done for the latest hit
|
||||
--amount = amount - overkill
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user