- bug fixes.

This commit is contained in:
Tercio
2018-08-16 22:05:10 -03:00
parent 00d306a7b3
commit e3e63dcd67
7 changed files with 93 additions and 37 deletions
+14 -5
View File
@@ -443,6 +443,19 @@
end
end
function _detalhes:ScheduleSyncPlayerActorData()
if ((IsInGroup() or IsInRaid()) and (_detalhes.zone_type == "party" or _detalhes.zone_type == "raid")) then
--> do not sync if in battleground or arena
_detalhes:SendCharacterData()
end
end
function _detalhes:EndCombat()
if (_detalhes.in_combat) then
_detalhes:SairDoCombate()
end
end
-- ~end ~leave
function _detalhes:SairDoCombate (bossKilled, from_encounter_end)
@@ -573,11 +586,7 @@
end
--> send item level after a combat if is in raid or party group
if (IsInGroup() or IsInRaid()) then
C_Timer.After (1, function()
_detalhes:SentMyItemLevel()
end)
end
C_Timer.After (1, _detalhes.ScheduleSyncPlayerActorData)
if (not _detalhes.tabela_vigente.is_boss) then