- New Feature: import and export profiles.
- Major improvements on bar text scripts. - Improved import and export custom skins. - Fixed shaman's sundering spell not showing in crowd control. - Fixed sharing guild statistics. - More spells added to spell consolidation: Whirlwind, Fracture, Mutilate. - Monk Mistweaver Blackout Kick now has a indicator when it comes from passive 'Teachings of the Monastery'. - Added slash command '/details debugwindow' for cases when the window isn't shown or are anchored in the wrong place. - Exposed spell ignore table, you can now add spells to be ignored using Details.SpellsToIgnore [spellID] = true.
This commit is contained in:
@@ -162,6 +162,35 @@ function SlashCmdList.DETAILS (msg, editbox)
|
||||
elseif (command == Loc ["STRING_SLASH_CHANGES"] or command == Loc ["STRING_SLASH_CHANGES_ALIAS1"] or command == Loc ["STRING_SLASH_CHANGES_ALIAS2"] or command == "news" or command == "updates") then
|
||||
_detalhes:OpenNewsWindow()
|
||||
|
||||
elseif (command == "debugwindow") then
|
||||
|
||||
local window1 = Details:GetWindow(1)
|
||||
if (window1) then
|
||||
local state = {
|
||||
ParentName = window1.baseframe:GetParent():GetName(),
|
||||
Alpha = window1.baseframe:GetAlpha(),
|
||||
IsShown = window1.baseframe:IsShown(),
|
||||
IsOpen = window1:IsEnabled() and true or false,
|
||||
NumPoints = window1.baseframe:GetNumPoints(),
|
||||
}
|
||||
|
||||
for i = 1, window1.baseframe:GetNumPoints() do
|
||||
state ["Point" .. i] = {window1.baseframe:GetPoint (i)}
|
||||
end
|
||||
|
||||
local parent = window1.baseframe:GetParent()
|
||||
|
||||
state ["ParentInfo"] = {
|
||||
Alpha = parent:GetAlpha(),
|
||||
IsShown = parent:IsShown(),
|
||||
NumPoints = parent:GetNumPoints(),
|
||||
}
|
||||
|
||||
Details:Dump (state)
|
||||
else
|
||||
Details:Msg ("Window 1 not found.")
|
||||
end
|
||||
|
||||
elseif (command == "spells") then
|
||||
Details.OpenForge()
|
||||
DetailsForgePanel.SelectModule (_, _, 2)
|
||||
|
||||
Reference in New Issue
Block a user