Update plater.lua

This commit is contained in:
itsnotapt
2023-01-12 20:37:52 -08:00
committed by GitHub
parent db938e141a
commit 94447d5fc0
+2 -2
View File
@@ -99,7 +99,7 @@ end
plater_integration_frame:SetScript("OnEvent", function(self)
local time, token, hidding, sourceGUID, sourceName, sourceFlag, sourceFlag2, targetGUID, targetName, targetFlag, targetFlag2, spellID, spellName, spellType, amount, overKill, school, resisted, blocked, absorbed, isCritical = CombatLogGetCurrentEventInfo()
--tamage taken by the GUID unit
--damage taken by the GUID unit
if (token == "SPELL_DAMAGE" or token == "SPELL_PERIODIC_DAMAGE" or token == "RANGE_DAMAGE" or token == "DAMAGE_SHIELD") then
plater_integration_frame.AddDamageToGUID (sourceGUID, targetGUID, time, amount)
@@ -156,4 +156,4 @@ function Details:RefreshPlaterIntegration()
end
end