- Details! is ready for Uldir mythic raiding!.

- Details! Scroll Damage for training in dummies is now ready for more tests, access it /details scrolldamage.
- Damage and Healing tooltips now show a statusbar indicating the percent done by the ability.
- Added a scale slider  to the options panel.
- Added monk's Quaking Palm to crowd control spells.
- Fixed an issue with Plater integration.
- Fixed tooltips not hiding when the cursor leaves the spell icon in the Damage Taken by Spell.
- Framework: fixed an issue with tooltips and menus where the division line wasn't hiding properly.
- Framework: fixed some buttons not showing its text in the options panel.
This commit is contained in:
Tercio
2018-09-10 21:17:53 -03:00
parent 822f15fe74
commit 3f18a99d42
18 changed files with 499 additions and 86 deletions
+44 -22
View File
@@ -386,28 +386,6 @@ function SlashCmdList.DETAILS (msg, editbox)
DEFAULT_CHAT_FRAME:AddMessage(msg, 1,0.7,0.5)
end
elseif (msg == "ej") then
function PrintAllEncounterSections(encounterID, difficultyID)
EJ_SetDifficulty(difficultyID)
local stack, encounter, _, _, curSectionID = {}, EJ_GetEncounterInfo(encounterID)
print(stack, encounter, _, _, curSectionID)
repeat
local title, desc, depth, icon, model, siblingID, nextSectionID, filteredByDifficulty, link, _, f1, f2, f3, f4 = EJ_GetSectionInfo(curSectionID)
if not filteredByDifficulty then
--print((" "):rep(depth) .. link .. ": " .. desc)
--npcs nao tem icone e possuel modelo diferente de zero.
--spells tem icone e possuel modelo = zero
print (title, icon, model, siblingID)
end
table.insert(stack, siblingID)
table.insert(stack, nextSectionID)
curSectionID = table.remove(stack)
until not curSectionID
end
-- Print everything in 25-man Normal Madness of Deathwing:
PrintAllEncounterSections (869, 4)
elseif (msg == "time") then
print ("GetTime()", GetTime())
print ("time()", time())
@@ -1323,6 +1301,9 @@ Damage Update Status: @INSTANCEDAMAGESTATUS
instance:InstanceAlert ("Boss Defeated! Show Ranking", icon, 10, func, true)
elseif (msg == "scroll" or msg == "scrolldamage" or msg == "scrolling") then
Details:ScrollDamage()
elseif (msg == "spec") then
local spec = GetSpecialization()
@@ -1437,6 +1418,47 @@ Damage Update Status: @INSTANCEDAMAGESTATUS
_detalhes:InstanciaCallFunction (_detalhes.ResetaGump)
_detalhes:AtualizaGumpPrincipal (-1, true)
elseif (msg == "ej") then
local result = {}
local spellIDs = {}
--uldir
EJ_SelectInstance (1031)
-- pega o root section id do boss
local name, description, encounterID, rootSectionID, link = EJ_GetEncounterInfo (2168) --taloc (primeiro boss de Uldir)
--overview
local sectionInfo = C_EncounterJournal.GetSectionInfo (rootSectionID)
local nextID = {sectionInfo.siblingSectionID}
while (nextID [1]) do
--> get the deepest section in the hierarchy
local ID = tremove (nextID)
local sectionInfo = C_EncounterJournal.GetSectionInfo (ID)
if (sectionInfo) then
tinsert (result, sectionInfo)
if (sectionInfo.spellID and type (sectionInfo.spellID) == "number" and sectionInfo.spellID ~= 0) then
tinsert (spellIDs, sectionInfo.spellID)
end
local nextChild, nextSibling = sectionInfo.firstChildSectionID, sectionInfo.siblingSectionID
if (nextSibling) then
tinsert (nextID, nextSibling)
end
if (nextChild) then
tinsert (nextID, nextChild)
end
else
break
end
end
Details:DumpTable (result)
elseif (msg == "record") then