Polishing the segments menu
This commit is contained in:
@@ -1251,6 +1251,13 @@ end
|
||||
Details:BrokerTick()
|
||||
Details:HealthTick()
|
||||
|
||||
local currentCombat = Details:GetCurrentCombat()
|
||||
if (Details.encounter_table.start and not Details.encounter_table["end"] and currentCombat.is_boss) then
|
||||
local encounterHealth = UnitHealth("boss1") or 0
|
||||
local encounterMaxHealth = UnitHealthMax("boss1") or 1
|
||||
currentCombat.boss_hp = encounterHealth / encounterMaxHealth
|
||||
end
|
||||
|
||||
local zoneName, zoneType = GetInstanceInfo()
|
||||
|
||||
if (Details.Coach.Server.IsEnabled()) then
|
||||
|
||||
Reference in New Issue
Block a user