- Added export/import for instances.
- Added export/import for customs displays. - More small changes on ElvUI Frame Style skin. - Fixed boss death recognition. - Fixed the time of buffs applied before the pull. - Fixed issue where sometimes the tooltip for break snap and lock buttons didn't disappear. - New API: _detalhes:GetNumInstancesAmount() return the amount of instances created.
This commit is contained in:
@@ -28,6 +28,11 @@ do
|
||||
local bossindex = _detalhes.EncounterInformation [mapid] and _detalhes.EncounterInformation [mapid].encounter_ids and _detalhes.EncounterInformation [mapid].encounter_ids [encounterid]
|
||||
if (bossindex) then
|
||||
return _detalhes.EncounterInformation [mapid] and _detalhes.EncounterInformation [mapid].encounters [bossindex], bossindex
|
||||
else
|
||||
local bossindex = _detalhes.EncounterInformation [mapid] and _detalhes.EncounterInformation [mapid].encounter_ids2 and _detalhes.EncounterInformation [mapid].encounter_ids2 [encounterid]
|
||||
if (bossindex) then
|
||||
return _detalhes.EncounterInformation [mapid] and _detalhes.EncounterInformation [mapid].encounters [bossindex], bossindex
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user