- bug fixes.
This commit is contained in:
+14
-5
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user