- Fixed a rare issue with raid target counters where sometimes got invalid at the logon.

This commit is contained in:
Tercio
2016-03-14 11:13:57 -03:00
parent 231f61eca1
commit 996fb9313c
3 changed files with 12 additions and 5 deletions
+7 -5
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -4776,6 +4776,7 @@ end
--> copiar o container de raid targets
for flag, amount in _pairs (actor.raid_targets) do
shadow.raid_targets = shadow.raid_targets or {} --deu invalido noutro dia
shadow.raid_targets [flag] = (shadow.raid_targets [flag] or 0) + amount
end
+4
View File
@@ -3713,6 +3713,10 @@
function _detalhes:OnParserEvent (evento, time, token, hidding, who_serial, who_name, who_flags, who_flags2, alvo_serial, alvo_name, alvo_flags, alvo_flags2, ...)
local funcao = token_list [token]
-- if (who_name == "Ditador") then
-- print (token, alvo_name, ...)
-- end
if (funcao) then
--if (token ~= "SPELL_AURA_REFRESH" and token ~= "SPELL_AURA_REMOVED" and token ~= "SPELL_AURA_APPLIED") then
-- print ("running func:", token)