- 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:
+43
-3
@@ -623,7 +623,7 @@ DF.CrowdControlSpells = {
|
||||
[408] = "ROGUE", --Kidney Shot
|
||||
[6770] = "ROGUE", --Sap
|
||||
[1776] = "ROGUE", --Gouge
|
||||
|
||||
|
||||
[853] = "PALADIN", --Hammer of Justice
|
||||
[20066] = "PALADIN", --Repentance (talent)
|
||||
[105421] = "PALADIN", --Blinding Light (talent)
|
||||
@@ -643,7 +643,7 @@ DF.CrowdControlSpells = {
|
||||
[203123] = "DRUID", --Maim
|
||||
[50259] = "DRUID", --Dazed (from Wild Charge)
|
||||
[209753] = "DRUID", --Cyclone (from pvp talent)
|
||||
|
||||
|
||||
[3355] = "HUNTER", --Freezing Trap
|
||||
[19577] = "HUNTER", --Intimidation
|
||||
[190927] = "HUNTER", --Harpoon
|
||||
@@ -654,6 +654,7 @@ DF.CrowdControlSpells = {
|
||||
[115078] = "MONK", --Paralysis
|
||||
[198909] = "MONK", --Song of Chi-Ji (talent)
|
||||
[116706] = "MONK", --Disable
|
||||
[107079] = "MONK", --Quaking Palm (racial)
|
||||
|
||||
[118905] = "SHAMAN", --Static Charge (Capacitor Totem)
|
||||
[51514] = "SHAMAN", --Hex
|
||||
@@ -817,7 +818,46 @@ DF.RuneIDs = {
|
||||
-- /dump UnitAura ("player", 1)
|
||||
-- /dump UnitAura ("player", 2)
|
||||
|
||||
|
||||
function DF:GetSpellsForEncounterFromJournal (instanceEJID, encounterEJID)
|
||||
|
||||
EJ_SelectInstance (instanceEJID)
|
||||
local name, description, encounterID, rootSectionID, link = EJ_GetEncounterInfo (encounterEJID) --taloc (primeiro boss de Uldir)
|
||||
|
||||
if (not name) then
|
||||
print ("DetailsFramework: Encounter Info Not Found!", instanceEJID, encounterEJID)
|
||||
return {}
|
||||
end
|
||||
|
||||
local spellIDs = {}
|
||||
|
||||
--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
|
||||
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
|
||||
|
||||
return spellIDs
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user