Added more tools to debug pets on '/details debug' and '/details mypets'

This commit is contained in:
Tercio Jose
2024-07-13 23:56:21 -03:00
committed by andrew6180
parent a90ab80de3
commit 7538b36b2a
10 changed files with 366 additions and 24 deletions
+8 -6
View File
@@ -1,15 +1,11 @@
--[=[
Details startup file
The function Details:StartMeUp() is called when the addon is fully loaded with saved variables and profiles
--]=]
local Loc = _G.LibStub("AceLocale-3.0"):GetLocale("Details")
local _
local tocName, Details222 = ...
local detailsFramework = DetailsFramework
--start funtion
function Details:StartMeUp()
function Details222.StartUp.StartMeUp()
if (Details.AndIWillNeverStop) then
return
end
@@ -351,6 +347,12 @@ function Details:StartMeUp()
Details:AddDefaultCustomDisplays()
end
Details:FillUserCustomSpells()
if (C_CVar) then
if (not InCombatLockdown() and DetailsFramework.IsDragonflightAndBeyond()) then
C_CVar.SetCVar("cameraDistanceMaxZoomFactor", 2.6)
end
end
end
--check is this is the first run of this version