BigBrother: Fix CLEU timestamp not comparable with GetTime()'s.
This commit is contained in:
parent
480eac99da
commit
91c4428da9
|
@ -64,13 +64,13 @@ function events:ENCOUNTER_START(encounterID, encounterName, difficultyID, groupS
|
|||
end
|
||||
|
||||
function events:COMBAT_LOG_EVENT_UNFILTERED(self, ...)
|
||||
local timestamp, event, _, _, name, _, _, _, _, _, _, _, spellName = CombatLogGetCurrentEventInfo()
|
||||
local _, event, _, _, name, _, _, _, _, _, _, _, spellName = CombatLogGetCurrentEventInfo()
|
||||
if event ~= "SPELL_CAST_SUCCESS" then
|
||||
return
|
||||
end
|
||||
if weaponEnchantments[spellName] ~= nil then
|
||||
local weaponEnchantmentSpellId, weaponEnchantmentDuration = unpack(weaponEnchantments[spellName])
|
||||
unitWeaponBuffs[name] = {weaponEnchantmentSpellId, timestamp + weaponEnchantmentDuration}
|
||||
unitWeaponBuffs[name] = {weaponEnchantmentSpellId, GetTime() + weaponEnchantmentDuration}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue