From ec4704dfa82e26ca9fd9538f8ed6600600ad9d13 Mon Sep 17 00:00:00 2001 From: Gennoken Date: Wed, 26 Oct 2022 22:15:21 +0100 Subject: [PATCH] 2.75 --- ElvUI_GennUI/ElvUI_GennUI.toc | 4 +- ElvUI_GennUI/ElvUI_GennUI_Classic.toc | 2 +- ElvUI_GennUI/ElvUI_GennUI_Wrath.toc | 2 +- ElvUI_GennUI/addons/Details.lua | 2258 +++++++++++++------------ ElvUI_GennUI/addons/Plater.lua | 866 ++++++++-- ElvUI_GennUI/changelog.md | 4 + ElvUI_GennUI/core/actionbars.lua | 1 + ElvUI_GennUI/core/extra/WT.lua | 14 +- ElvUI_GennUI/core/movers.lua | 2 + ElvUI_GennUI/core/nameplates.lua | 2 + ElvUI_GennUI/init.lua | 2 +- ElvUI_GennUI/modules/customtags.lua | 2 +- 12 files changed, 1871 insertions(+), 1288 deletions(-) diff --git a/ElvUI_GennUI/ElvUI_GennUI.toc b/ElvUI_GennUI/ElvUI_GennUI.toc index 39336d6..3a80f00 100644 --- a/ElvUI_GennUI/ElvUI_GennUI.toc +++ b/ElvUI_GennUI/ElvUI_GennUI.toc @@ -1,7 +1,7 @@ -## Interface: 90207 +## Interface: 100000 ## Title: |cff1784d1ElvUI |cffc31f3bGennUI ## Author: Gennoken -## Version: 2.74 +## Version: 2.75 ## Notes: A Clean Minimalistic ElvUI Edit by |cffc31f3bGennoken. ## RequiredDeps: ElvUI ## DefaultState: Enabled diff --git a/ElvUI_GennUI/ElvUI_GennUI_Classic.toc b/ElvUI_GennUI/ElvUI_GennUI_Classic.toc index 08f3894..20b5831 100644 --- a/ElvUI_GennUI/ElvUI_GennUI_Classic.toc +++ b/ElvUI_GennUI/ElvUI_GennUI_Classic.toc @@ -1,7 +1,7 @@ ## Interface: 11403 ## Title: |cff1784d1ElvUI |cffc31f3bGennUI |cff1784d1Classic ## Author: Gennoken -## Version: 2.74 +## Version: 2.75 ## Notes: A Clean Minimalistic ElvUI Edit by |cffc31f3bGennoken. ## RequiredDeps: ElvUI ## DefaultState: Enabled diff --git a/ElvUI_GennUI/ElvUI_GennUI_Wrath.toc b/ElvUI_GennUI/ElvUI_GennUI_Wrath.toc index c3fff2f..5883b69 100644 --- a/ElvUI_GennUI/ElvUI_GennUI_Wrath.toc +++ b/ElvUI_GennUI/ElvUI_GennUI_Wrath.toc @@ -1,7 +1,7 @@ ## Interface: 30400 ## Title: |cff1784d1ElvUI |cffc31f3bGennUI |cff1784d1Wrath ## Author: Gennoken -## Version: 2.74 +## Version: 2.75 ## Notes: A Clean Minimalistic ElvUI Edit by |cffc31f3bGennoken. ## RequiredDeps: ElvUI ## DefaultState: Enabled diff --git a/ElvUI_GennUI/addons/Details.lua b/ElvUI_GennUI/addons/Details.lua index a9a8c32..6fc95be 100644 --- a/ElvUI_GennUI/addons/Details.lua +++ b/ElvUI_GennUI/addons/Details.lua @@ -4,44 +4,253 @@ local GNUI = E:GetModule("GennUI"); function GNUI:LoadDetailsProfile() _detalhes_global = { ["npcid_pool"] = { + [0] = "[*] Dead of Winter", }, ["death_recap"] = { - ["enabled"] = true, ["show_segments"] = false, - ["show_life_percent"] = true, - ["relevance_time"] = 10, - }, - ["spell_pool"] = { + ["enabled"] = true, + ["show_life_percent"] = false, + ["relevance_time"] = 7, }, - ["encounter_spell_pool"] = { + ["plater"] = { + ["realtime_dps_enabled"] = false, + ["realtime_dps_size"] = 12, + ["realtime_dps_player_shadow"] = true, + ["damage_taken_enabled"] = false, + ["realtime_dps_player_size"] = 12, + ["damage_taken_size"] = 12, + ["realtime_dps_color"] = { + 1, -- [1] + 1, -- [2] + 0, -- [3] + 1, -- [4] + }, + ["realtime_dps_anchor"] = { + ["y"] = 0, + ["x"] = 0, + ["side"] = 7, + }, + ["damage_taken_shadow"] = true, + ["damage_taken_anchor"] = { + ["y"] = 0, + ["x"] = 0, + ["side"] = 7, + }, + ["damage_taken_color"] = { + 1, -- [1] + 1, -- [2] + 0, -- [3] + 1, -- [4] + }, + ["realtime_dps_player_color"] = { + 1, -- [1] + 1, -- [2] + 0, -- [3] + 1, -- [4] + }, + ["realtime_dps_player_anchor"] = { + ["y"] = 0, + ["x"] = 0, + ["side"] = 7, + }, + ["realtime_dps_player_enabled"] = false, + ["realtime_dps_shadow"] = true, }, - ["immersion_pets_on_solo_play"] = false, - ["npcid_ignored"] = { + ["spell_category_savedtable"] = { }, - ["dungeon_data"] = { + ["aura_tracker_frame"] = { + ["scaletable"] = { + ["scale"] = 1, + }, + ["position"] = { + }, }, - ["auto_open_news_window"] = false, - ["got_first_run"] = true, ["exit_log"] = { "1 - Closing Janela Info.", -- [1] "2 - Clearing user place from instances.", -- [2] - "4 - Reversing switches.", -- [3] - "6 - Saving Config.", -- [4] - "7 - Saving Profiles.", -- [5] - "8 - Saving nicktag cache.", -- [6] - }, - ["always_use_profile"] = true, - ["report_pos"] = { - 1, -- [1] - 1, -- [2] + " - 1 has baseFrame: yes.", -- [3] + " - 2 has baseFrame: yes.", -- [4] + "4 - Reversing switches.", -- [5] + "6 - Saving Config.", -- [6] + "7 - Saving Profiles.", -- [7] + "8 - Saving nicktag cache.", -- [8] }, ["all_switch_config"] = { ["scale"] = 1, ["font_size"] = 10, }, - ["exp90temp"] = { - ["delete_damage_TCOB"] = true, + ["custom"] = { + { + ["source"] = false, + ["author"] = "Details!", + ["desc"] = "Show who in your raid used a potion during the encounter.", + ["tooltip"] = " --init:\n local player, combat, instance = ...\n\n --get the debuff container for potion of focus\n local debuff_uptime_container = player.debuff_uptime and player.debuff_uptime_spells and player.debuff_uptime_spells._ActorTable\n if (debuff_uptime_container) then\n local focus_potion = debuff_uptime_container [DETAILS_FOCUS_POTION_ID]\n if (focus_potion) then\n local name, _, icon = GetSpellInfo(DETAILS_FOCUS_POTION_ID)\n GameCooltip:AddLine(name, 1) --can use only 1 focus potion (can't be pre-potion)\n _detalhes:AddTooltipBackgroundStatusbar()\n GameCooltip:AddIcon (icon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n end\n\n --get the misc actor container\n local buff_uptime_container = player.buff_uptime and player.buff_uptime_spells and player.buff_uptime_spells._ActorTable\n if (buff_uptime_container) then\n for spellId, _ in pairs(DetailsFramework.PotionIDs) do\n local potionUsed = buff_uptime_container [spellId]\n\n if (potionUsed) then\n local name, _, icon = GetSpellInfo(spellId)\n GameCooltip:AddLine(name, potionUsed.activedamt)\n _detalhes:AddTooltipBackgroundStatusbar()\n GameCooltip:AddIcon (icon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n end\n end\n ", + ["icon"] = "Interface\\ICONS\\INV_Potion_03", + ["name"] = "Potion Used", + ["spellid"] = false, + ["target"] = false, + ["script"] = " --init:\n local combat, instance_container, instance = ...\n local total, top, amount = 0, 0, 0\n\n --get the misc actor container\n local misc_container = combat:GetActorList ( DETAILS_ATTRIBUTE_MISC )\n\n --do the loop:\n for _, player in ipairs( misc_container ) do\n\n --only player in group\n if (player:IsGroupPlayer()) then\n\n local found_potion = false\n\n --get the spell debuff uptime container\n local debuff_uptime_container = player.debuff_uptime and player.debuff_uptime_spells and player.debuff_uptime_spells._ActorTable\n if (debuff_uptime_container) then\n --potion of focus (can't use as pre-potion, so, its amount is always 1\n local focus_potion = debuff_uptime_container [DETAILS_FOCUS_POTION_ID]\n\n if (focus_potion) then\n total = total + 1\n found_potion = true\n if (top < 1) then\n top = 1\n end\n --add amount to the player\n instance_container:AddValue (player, 1)\n end\n end\n\n --get the spell buff uptime container\n local buff_uptime_container = player.buff_uptime and player.buff_uptime_spells and player.buff_uptime_spells._ActorTable\n if (buff_uptime_container) then\n for spellId, _ in pairs(DetailsFramework.PotionIDs) do\n local potionUsed = buff_uptime_container [spellId]\n\n if (potionUsed) then\n local used = potionUsed.activedamt\n if (used and used > 0) then\n total = total + used\n found_potion = true\n if (used > top) then\n top = used\n end\n\n --add amount to the player\n instance_container:AddValue (player, used)\n end\n end\n end\n end\n\n if (found_potion) then\n amount = amount + 1\n end\n end\n end\n\n --return:\n return total, top, amount\n ", + ["attribute"] = false, + ["script_version"] = 6, + }, -- [1] + { + ["source"] = false, + ["total_script"] = false, + ["author"] = "Details! Team", + ["percent_script"] = false, + ["desc"] = "Show who in your raid group used the healthstone or a heal potion.", + ["icon"] = "Interface\\ICONS\\INV_Stone_04", + ["spellid"] = false, + ["name"] = "Health Potion & Stone", + ["script"] = " --get the parameters passed\n local combat, instance_container, instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n\n --do the loop\n local AllHealCharacters = combat:GetActorList (DETAILS_ATTRIBUTE_HEAL)\n for index, character in ipairs(AllHealCharacters) do\n local AllSpells = character:GetSpellList()\n local found = false\n for spellid, spell in pairs(AllSpells) do\n if (DETAILS_HEALTH_POTION_LIST [spellid]) then\n instance_container:AddValue (character, spell.total)\n total = total + spell.total\n if (top < spell.total) then\n top = spell.total\n end\n found = true\n end\n end\n\n if (found) then\n amount = amount + 1\n end\n end\n --loop end\n --return the values\n return total, top, amount\n ", + ["target"] = false, + ["tooltip"] = " --get the parameters passed\n local actor, combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GameCooltip = GameCooltip\n local R, G, B, A = 0, 0, 0, 0.75\n\n local hs = actor:GetSpell (6262)\n if (hs) then\n GameCooltip:AddLine(select(1, GetSpellInfo(6262)), _detalhes:ToK(hs.total))\n GameCooltip:AddIcon (select(3, GetSpellInfo(6262)), 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n GameCooltip:AddStatusBar (100, 1, R, G, B, A)\n end\n\n local pot = actor:GetSpell (DETAILS_HEALTH_POTION_ID)\n if (pot) then\n GameCooltip:AddLine(select(1, GetSpellInfo(DETAILS_HEALTH_POTION_ID)), _detalhes:ToK(pot.total))\n GameCooltip:AddIcon (select(3, GetSpellInfo(DETAILS_HEALTH_POTION_ID)), 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n GameCooltip:AddStatusBar (100, 1, R, G, B, A)\n end\n\n local pot = actor:GetSpell (DETAILS_HEALTH_POTION2_ID)\n if (pot) then\n GameCooltip:AddLine(select(1, GetSpellInfo(DETAILS_HEALTH_POTION2_ID)), _detalhes:ToK(pot.total))\n GameCooltip:AddIcon (select(3, GetSpellInfo(DETAILS_HEALTH_POTION2_ID)), 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n GameCooltip:AddStatusBar (100, 1, R, G, B, A)\n end\n\n local pot = actor:GetSpell (DETAILS_REJU_POTION_ID)\n if (pot) then\n GameCooltip:AddLine(select(1, GetSpellInfo(DETAILS_REJU_POTION_ID)), _detalhes:ToK(pot.total))\n GameCooltip:AddIcon (select(3, GetSpellInfo(DETAILS_REJU_POTION_ID)), 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n GameCooltip:AddStatusBar (100, 1, R, G, B, A)\n end\n\n --Cooltip code\n ", + ["attribute"] = false, + ["script_version"] = 16, + }, -- [2] + { + ["source"] = false, + ["author"] = "Details!", + ["tooltip"] = "\n ", + ["percent_script"] = " local value, top, total, combat, instance = ...\n return string.format(\"%.1f\", value/top*100)\n ", + ["desc"] = "Tells how much time each character spent doing damage.", + ["icon"] = "Interface\\Buttons\\UI-MicroStream-Red", + ["spellid"] = false, + ["name"] = "Damage Activity Time", + ["script"] = " --init:\n local combat, instance_container, instance = ...\n local total, amount = 0, 0\n\n --get the misc actor container\n local damage_container = combat:GetActorList ( DETAILS_ATTRIBUTE_DAMAGE )\n\n --do the loop:\n for _, player in ipairs( damage_container ) do\n if (player.grupo) then\n local activity = player:Tempo()\n total = total + activity\n amount = amount + 1\n --add amount to the player\n instance_container:AddValue (player, activity)\n end\n end\n\n --return:\n return total, combat:GetCombatTime(), amount\n ", + ["target"] = false, + ["total_script"] = " local value, top, total, combat, instance = ...\n local minutos, segundos = math.floor(value/60), math.floor(value%60)\n return minutos .. \"m \" .. segundos .. \"s\"\n ", + ["attribute"] = false, + ["script_version"] = 3, + }, -- [3] + { + ["source"] = false, + ["author"] = "Details!", + ["tooltip"] = "\n ", + ["percent_script"] = " local value, top, total, combat, instance = ...\n return string.format(\"%.1f\", value/top*100)\n ", + ["desc"] = "Tells how much time each character spent doing healing.", + ["icon"] = "Interface\\Buttons\\UI-MicroStream-Green", + ["spellid"] = false, + ["name"] = "Healing Activity Time", + ["script"] = " --init:\n local combat, instance_container, instance = ...\n local total, top, amount = 0, 0, 0\n\n --get the misc actor container\n local damage_container = combat:GetActorList ( DETAILS_ATTRIBUTE_HEAL )\n\n --do the loop:\n for _, player in ipairs( damage_container ) do\n if (player.grupo) then\n local activity = player:Tempo()\n total = total + activity\n amount = amount + 1\n --add amount to the player\n instance_container:AddValue (player, activity)\n end\n end\n\n --return:\n return total, combat:GetCombatTime(), amount\n ", + ["target"] = false, + ["total_script"] = " local value, top, total, combat, instance = ...\n local minutos, segundos = math.floor(value/60), math.floor(value%60)\n return minutos .. \"m \" .. segundos .. \"s\"\n ", + ["attribute"] = false, + ["script_version"] = 2, + }, -- [4] + { + ["source"] = false, + ["author"] = "Details!", + ["desc"] = "Show the crowd control amount for each player.", + ["total_script"] = " local value, top, total, combat, instance = ...\n return floor(value)\n ", + ["icon"] = "Interface\\ICONS\\Spell_Frost_FreezingBreath", + ["spellid"] = false, + ["name"] = "Crowd Control Done", + ["tooltip"] = " local actor, combat, instance = ...\n local spells = {}\n for spellid, spell in pairs(actor.cc_done_spells._ActorTable) do\n tinsert(spells, {spellid, spell.counter})\n end\n\n table.sort (spells, _detalhes.Sort2)\n\n for index, spell in ipairs(spells) do\n local name, _, icon = GetSpellInfo(spell [1])\n GameCooltip:AddLine(name, spell [2])\n _detalhes:AddTooltipBackgroundStatusbar()\n GameCooltip:AddIcon (icon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n\n local targets = {}\n for playername, amount in pairs(actor.cc_done_targets) do\n tinsert(targets, {playername, amount})\n end\n\n table.sort (targets, _detalhes.Sort2)\n\n _detalhes:AddTooltipSpellHeaderText (\"Targets\", \"yellow\", #targets)\n local class, _, _, _, _, r, g, b = _detalhes:GetClass(actor.nome)\n _detalhes:AddTooltipHeaderStatusbar (1, 1, 1, 0.6)\n\n for index, target in ipairs(targets) do\n GameCooltip:AddLine(target[1], target [2])\n _detalhes:AddTooltipBackgroundStatusbar()\n\n local class, _, _, _, _, r, g, b = _detalhes:GetClass(target [1])\n if (class and class ~= \"UNKNOW\") then\n local texture, l, r, t, b = _detalhes:GetClassIcon (class)\n GameCooltip:AddIcon (\"Interface\\\\AddOns\\\\Details\\\\images\\\\classes_small_alpha\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height, l, r, t, b)\n else\n GameCooltip:AddIcon (\"Interface\\\\GossipFrame\\\\IncompleteQuestIcon\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n --\n end\n ", + ["target"] = false, + ["script"] = " local combat, instance_container, instance = ...\n local total, top, amount = 0, 0, 0\n\n local misc_actors = combat:GetActorList (DETAILS_ATTRIBUTE_MISC)\n\n for index, character in ipairs(misc_actors) do\n if (character.cc_done and character:IsPlayer()) then\n local cc_done = floor(character.cc_done)\n instance_container:AddValue (character, cc_done)\n total = total + cc_done\n if (cc_done > top) then\n top = cc_done\n end\n amount = amount + 1\n end\n end\n\n return total, top, amount\n ", + ["attribute"] = false, + ["script_version"] = 11, + }, -- [5] + { + ["source"] = false, + ["author"] = "Details!", + ["desc"] = "Show the amount of crowd control received for each player.", + ["total_script"] = " local value, top, total, combat, instance = ...\n return floor(value)\n ", + ["icon"] = "Interface\\ICONS\\Spell_Frost_ChainsOfIce", + ["spellid"] = false, + ["name"] = "Crowd Control Received", + ["tooltip"] = " local actor, combat, instance = ...\n local name = actor:name()\n local spells, from = {}, {}\n local misc_actors = combat:GetActorList (DETAILS_ATTRIBUTE_MISC)\n\n for index, character in ipairs(misc_actors) do\n if (character.cc_done and character:IsPlayer()) then\n local on_actor = character.cc_done_targets [name]\n if (on_actor) then\n tinsert(from, {character:name(), on_actor})\n\n for spellid, spell in pairs(character.cc_done_spells._ActorTable) do\n\n local spell_on_actor = spell.targets [name]\n if (spell_on_actor) then\n local has_spell\n for index, spell_table in ipairs(spells) do\n if (spell_table [1] == spellid) then\n spell_table [2] = spell_table [2] + spell_on_actor\n has_spell = true\n end\n end\n if (not has_spell) then\n tinsert(spells, {spellid, spell_on_actor})\n end\n end\n\n end\n end\n end\n end\n\n table.sort (from, _detalhes.Sort2)\n table.sort (spells, _detalhes.Sort2)\n\n for index, spell in ipairs(spells) do\n local name, _, icon = GetSpellInfo(spell [1])\n GameCooltip:AddLine(name, spell [2])\n _detalhes:AddTooltipBackgroundStatusbar()\n GameCooltip:AddIcon (icon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n\n _detalhes:AddTooltipSpellHeaderText (\"From\", \"yellow\", #from)\n _detalhes:AddTooltipHeaderStatusbar (1, 1, 1, 0.6)\n\n for index, t in ipairs(from) do\n GameCooltip:AddLine(t[1], t[2])\n _detalhes:AddTooltipBackgroundStatusbar()\n\n local class, _, _, _, _, r, g, b = _detalhes:GetClass(t [1])\n if (class and class ~= \"UNKNOW\") then\n local texture, l, r, t, b = _detalhes:GetClassIcon (class)\n GameCooltip:AddIcon (\"Interface\\\\AddOns\\\\Details\\\\images\\\\classes_small_alpha\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height, l, r, t, b)\n else\n GameCooltip:AddIcon (\"Interface\\\\GossipFrame\\\\IncompleteQuestIcon\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n\n end\n ", + ["target"] = false, + ["script"] = " local combat, instance_container, instance = ...\n local total, top, amt = 0, 0, 0\n\n local misc_actors = combat:GetActorList (DETAILS_ATTRIBUTE_MISC)\n DETAILS_CUSTOM_CC_RECEIVED_CACHE = DETAILS_CUSTOM_CC_RECEIVED_CACHE or {}\n wipe (DETAILS_CUSTOM_CC_RECEIVED_CACHE)\n\n for index, character in ipairs(misc_actors) do\n if (character.cc_done and character:IsPlayer()) then\n\n for player_name, amount in pairs(character.cc_done_targets) do\n local target = combat (1, player_name) or combat (2, player_name)\n if (target and target:IsPlayer()) then\n instance_container:AddValue (target, amount)\n total = total + amount\n if (amount > top) then\n top = amount\n end\n if (not DETAILS_CUSTOM_CC_RECEIVED_CACHE [player_name]) then\n DETAILS_CUSTOM_CC_RECEIVED_CACHE [player_name] = true\n amt = amt + 1\n end\n end\n end\n\n end\n end\n\n return total, top, amt\n ", + ["attribute"] = false, + ["script_version"] = 3, + }, -- [6] + { + ["source"] = false, + ["author"] = "Details!", + ["percent_script"] = " local value, top, total, combat, instance = ...\n local dps = _detalhes:ToK (floor(value) / combat:GetCombatTime())\n local percent = string.format(\"%.1f\", value/total*100)\n return dps .. \", \" .. percent\n ", + ["desc"] = "Show your spells in the window.", + ["tooltip"] = " --config:\n --Background RBG and Alpha:\n local R, G, B, A = 0, 0, 0, 0.75\n local R, G, B, A = 0.1960, 0.1960, 0.1960, 0.8697\n\n --get the parameters passed\n local spell, combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GC = GameCooltip\n GC:SetOption(\"YSpacingMod\", 0)\n\n local role = DetailsFramework.UnitGroupRolesAssigned(\"player\")\n\n if (spell.n_dmg) then\n\n local spellschool, schooltext = spell.spellschool, \"\"\n if (spellschool) then\n local t = _detalhes.spells_school [spellschool]\n if (t and t.name) then\n schooltext = t.formated\n end\n end\n\n local total_hits = spell.counter\n local combat_time = instance.showing:GetCombatTime()\n\n local debuff_uptime_total, cast_string = \"\", \"\"\n local misc_actor = instance.showing (4, _detalhes.playername)\n if (misc_actor) then\n local debuff_uptime = misc_actor.debuff_uptime_spells and misc_actor.debuff_uptime_spells._ActorTable [spell.id] and misc_actor.debuff_uptime_spells._ActorTable [spell.id].uptime\n if (debuff_uptime) then\n debuff_uptime_total = floor(debuff_uptime / instance.showing:GetCombatTime() * 100)\n end\n\n local spell_cast = misc_actor.spell_cast and misc_actor.spell_cast [spell.id]\n\n if (not spell_cast and misc_actor.spell_cast) then\n local spellname = GetSpellInfo(spell.id)\n for casted_spellid, amount in pairs(misc_actor.spell_cast) do\n local casted_spellname = GetSpellInfo(casted_spellid)\n if (casted_spellname == spellname) then\n spell_cast = amount .. \" (|cFFFFFF00?|r)\"\n end\n end\n end\n if (not spell_cast) then\n spell_cast = \"(|cFFFFFF00?|r)\"\n end\n cast_string = cast_string .. spell_cast\n end\n\n --Cooltip code\n GC:AddLine(\"Casts:\", cast_string or \"?\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n if (debuff_uptime_total ~= \"\") then\n GC:AddLine(\"Uptime:\", (debuff_uptime_total or \"?\") .. \"%\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n end\n\n GC:AddLine(\"Hits:\", spell.counter)\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n local average = spell.total / total_hits\n GC:AddLine(\"Average:\", _detalhes:ToK (average))\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n GC:AddLine(\"E-Dps:\", _detalhes:ToK (spell.total / combat_time))\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n GC:AddLine(\"School:\", schooltext)\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n --GC:AddLine(\" \")\n\n GC:AddLine(\"Normal Hits: \", spell.n_amt .. \" (\" ..floor( spell.n_amt/total_hits*100) .. \"%)\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n local n_average = spell.n_dmg / spell.n_amt\n local T = (combat_time*spell.n_dmg)/spell.total\n local P = average/n_average*100\n T = P*T/100\n\n GC:AddLine(\"Average / E-Dps: \", _detalhes:ToK (n_average) .. \" / \" .. format(\"%.1f\",spell.n_dmg / T ))\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n --GC:AddLine(\" \")\n\n GC:AddLine(\"Critical Hits: \", spell.c_amt .. \" (\" ..floor( spell.c_amt/total_hits*100) .. \"%)\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n if (spell.c_amt > 0) then\n local c_average = spell.c_dmg/spell.c_amt\n local T = (combat_time*spell.c_dmg)/spell.total\n local P = average/c_average*100\n T = P*T/100\n local crit_dps = spell.c_dmg / T\n\n GC:AddLine(\"Average / E-Dps: \", _detalhes:ToK (c_average) .. \" / \" .. _detalhes:comma_value (crit_dps))\n else\n GC:AddLine(\"Average / E-Dps: \", \"0 / 0\")\n end\n\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n\n elseif (spell.n_curado) then\n\n local spellschool, schooltext = spell.spellschool, \"\"\n if (spellschool) then\n local t = _detalhes.spells_school [spellschool]\n if (t and t.name) then\n schooltext = t.formated\n end\n end\n\n local total_hits = spell.counter\n local combat_time = instance.showing:GetCombatTime()\n\n --Cooltip code\n GC:AddLine(\"Hits:\", spell.counter)\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n local average = spell.total / total_hits\n GC:AddLine(\"Average:\", _detalhes:ToK (average))\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n GC:AddLine(\"E-Hps:\", _detalhes:ToK (spell.total / combat_time))\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n GC:AddLine(\"School:\", schooltext)\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n --GC:AddLine(\" \")\n\n GC:AddLine(\"Normal Hits: \", spell.n_amt .. \" (\" ..floor( spell.n_amt/total_hits*100) .. \"%)\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n local n_average = spell.n_curado / spell.n_amt\n local T = (combat_time*spell.n_curado)/spell.total\n local P = average/n_average*100\n T = P*T/100\n\n GC:AddLine(\"Average / E-Dps: \", _detalhes:ToK (n_average) .. \" / \" .. format(\"%.1f\",spell.n_curado / T ))\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n --GC:AddLine(\" \")\n\n GC:AddLine(\"Critical Hits: \", spell.c_amt .. \" (\" ..floor( spell.c_amt/total_hits*100) .. \"%)\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n\n if (spell.c_amt > 0) then\n local c_average = spell.c_curado/spell.c_amt\n local T = (combat_time*spell.c_curado)/spell.total\n local P = average/c_average*100\n T = P*T/100\n local crit_dps = spell.c_curado / T\n\n GC:AddLine(\"Average / E-Hps: \", _detalhes:ToK (c_average) .. \" / \" .. _detalhes:comma_value (crit_dps))\n else\n GC:AddLine(\"Average / E-Hps: \", \"0 / 0\")\n end\n\n GC:AddStatusBar (100, 1, R, G, B, A)\n end\n ", + ["icon"] = "Interface\\CHATFRAME\\UI-ChatIcon-Battlenet", + ["name"] = "My Spells", + ["spellid"] = false, + ["target"] = false, + ["script"] = " --get the parameters passed\n local combat, instance_container, instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n\n local player\n local pet_attribute\n\n local role = DetailsFramework.UnitGroupRolesAssigned(\"player\")\n local spec = DetailsFramework.GetSpecialization()\n role = spec and DetailsFramework.GetSpecializationRole (spec) or role\n\n if (role == \"DAMAGER\") then\n player = combat (DETAILS_ATTRIBUTE_DAMAGE, _detalhes.playername)\n pet_attribute = DETAILS_ATTRIBUTE_DAMAGE\n elseif (role == \"HEALER\") then\n player = combat (DETAILS_ATTRIBUTE_HEAL, _detalhes.playername)\n pet_attribute = DETAILS_ATTRIBUTE_HEAL\n else\n player = combat (DETAILS_ATTRIBUTE_DAMAGE, _detalhes.playername)\n pet_attribute = DETAILS_ATTRIBUTE_DAMAGE\n end\n\n --do the loop\n\n if (player) then\n local spells = player:GetSpellList()\n for spellid, spell in pairs(spells) do\n instance_container:AddValue (spell, spell.total)\n total = total + spell.total\n if (top < spell.total) then\n top = spell.total\n end\n amount = amount + 1\n end\n\n for _, PetName in ipairs(player.pets) do\n local pet = combat (pet_attribute, PetName)\n if (pet) then\n for spellid, spell in pairs(pet:GetSpellList()) do\n instance_container:AddValue (spell, spell.total, nil, \" (\" .. PetName:gsub((\" <.*\"), \"\") .. \")\")\n total = total + spell.total\n if (top < spell.total) then\n top = spell.total\n end\n amount = amount + 1\n end\n end\n end\n end\n\n --return the values\n return total, top, amount\n ", + ["attribute"] = false, + ["script_version"] = 8, + }, -- [7] + { + ["source"] = false, + ["author"] = "Details!", + ["desc"] = "Show the amount of damage applied on targets marked with skull.", + ["tooltip"] = " --get the parameters passed\n local actor, combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GameCooltip = GameCooltip\n\n --Cooltip code\n local format_func = Details:GetCurrentToKFunction()\n\n --Cooltip code\n local RaidTargets = actor.raid_targets\n\n local DamageOnStar = RaidTargets [128]\n if (DamageOnStar) then\n --RAID_TARGET_8 is the built-in localized word for 'Skull'.\n GameCooltip:AddLine(RAID_TARGET_8 .. \":\", format_func (_, DamageOnStar))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_8\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n ", + ["icon"] = "Interface\\TARGETINGFRAME\\UI-RaidTargetingIcon_8", + ["name"] = "Damage On Skull Marked Targets", + ["spellid"] = false, + ["target"] = false, + ["script"] = " --get the parameters passed\n local Combat, CustomContainer, Instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n\n --raid target flags:\n -- 128: skull\n -- 64: cross\n -- 32: square\n -- 16: moon\n -- 8: triangle\n -- 4: diamond\n -- 2: circle\n -- 1: star\n\n --do the loop\n for _, actor in ipairs(Combat:GetActorList (DETAILS_ATTRIBUTE_DAMAGE)) do\n if (actor:IsPlayer()) then\n if (actor.raid_targets [128]) then\n CustomContainer:AddValue (actor, actor.raid_targets [128])\n end\n end\n end\n\n --if not managed inside the loop, get the values of total, top and amount\n total, top = CustomContainer:GetTotalAndHighestValue()\n amount = CustomContainer:GetNumActors()\n\n --return the values\n return total, top, amount\n ", + ["attribute"] = false, + ["script_version"] = 3, + }, -- [8] + { + ["source"] = false, + ["author"] = "Details!", + ["desc"] = "Show the amount of damage applied on targets marked with any other mark.", + ["tooltip"] = " --get the parameters passed\n local actor, combat, instance = ...\n\n --get the cooltip object\n local GameCooltip = GameCooltip\n\n local format_func = Details:GetCurrentToKFunction()\n\n --Cooltip code\n local RaidTargets = actor.raid_targets\n\n local DamageOnStar = RaidTargets [1]\n if (DamageOnStar) then\n GameCooltip:AddLine(RAID_TARGET_1 .. \":\", format_func (_, DamageOnStar))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_1\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnCircle = RaidTargets [2]\n if (DamageOnCircle) then\n GameCooltip:AddLine(RAID_TARGET_2 .. \":\", format_func (_, DamageOnCircle))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_2\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnDiamond = RaidTargets [4]\n if (DamageOnDiamond) then\n GameCooltip:AddLine(RAID_TARGET_3 .. \":\", format_func (_, DamageOnDiamond))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_3\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnTriangle = RaidTargets [8]\n if (DamageOnTriangle) then\n GameCooltip:AddLine(RAID_TARGET_4 .. \":\", format_func (_, DamageOnTriangle))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_4\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnMoon = RaidTargets [16]\n if (DamageOnMoon) then\n GameCooltip:AddLine(RAID_TARGET_5 .. \":\", format_func (_, DamageOnMoon))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_5\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnSquare = RaidTargets [32]\n if (DamageOnSquare) then\n GameCooltip:AddLine(RAID_TARGET_6 .. \":\", format_func (_, DamageOnSquare))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_6\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnCross = RaidTargets [64]\n if (DamageOnCross) then\n GameCooltip:AddLine(RAID_TARGET_7 .. \":\", format_func (_, DamageOnCross))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_7\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n ", + ["icon"] = "Interface\\TARGETINGFRAME\\UI-RaidTargetingIcon_5", + ["name"] = "Damage On Other Marked Targets", + ["spellid"] = false, + ["target"] = false, + ["script"] = " --get the parameters passed\n local Combat, CustomContainer, Instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n\n --do the loop\n for _, actor in ipairs(Combat:GetActorList (DETAILS_ATTRIBUTE_DAMAGE)) do\n if (actor:IsPlayer()) then\n local total = (actor.raid_targets [1] or 0) --star\n total = total + (actor.raid_targets [2] or 0) --circle\n total = total + (actor.raid_targets [4] or 0) --diamond\n total = total + (actor.raid_targets [8] or 0) --tiangle\n total = total + (actor.raid_targets [16] or 0) --moon\n total = total + (actor.raid_targets [32] or 0) --square\n total = total + (actor.raid_targets [64] or 0) --cross\n\n if (total > 0) then\n CustomContainer:AddValue (actor, total)\n end\n end\n end\n\n --if not managed inside the loop, get the values of total, top and amount\n total, top = CustomContainer:GetTotalAndHighestValue()\n amount = CustomContainer:GetNumActors()\n\n --return the values\n return total, top, amount\n ", + ["attribute"] = false, + ["script_version"] = 3, + }, -- [9] + { + ["source"] = false, + ["desc"] = "Show overall damage done on the fly.", + ["author"] = "Details!", + ["percent_script"] = " local value, top, total, combat, instance = ...\n\n --get the time of overall combat\n local OverallCombatTime = Details:GetCombat(-1):GetCombatTime()\n\n --get the time of current combat if the player is in combat\n if (Details.in_combat) then\n local CurrentCombatTime = Details:GetCombat(0):GetCombatTime()\n OverallCombatTime = OverallCombatTime + CurrentCombatTime\n end\n\n --calculate the DPS and return it as percent\n local totalValue = value\n\n --build the string\n local ToK = Details:GetCurrentToKFunction()\n local s = ToK (_, value / OverallCombatTime)\n\n return s\n ", + ["total_script"] = " local value, top, total, combat, instance = ...\n return value\n ", + ["icon"] = "Interface\\Buttons\\Spell-Reset", + ["spellid"] = false, + ["name"] = "Dynamic Overall Damage", + ["tooltip"] = " --get the parameters passed\n local actor, combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GameCooltip = GameCooltip2\n\n --Cooltip code\n --get the overall combat\n local OverallCombat = Details:GetCombat(-1)\n --get the current combat\n local CurrentCombat = Details:GetCombat(0)\n\n local AllSpells = {}\n\n local playerTotal = 0\n\n --overall\n local player = OverallCombat [1]:GetActor(actor.nome)\n if (player) then\n playerTotal = playerTotal + player.total\n local playerSpells = player:GetSpellList()\n for spellID, spellTable in pairs(playerSpells) do\n AllSpells [spellID] = spellTable.total\n end\n end\n --current\n if (Details.in_combat) then\n local player = CurrentCombat [1]:GetActor(actor.nome)\n if (player) then\n playerTotal = playerTotal + player.total\n local playerSpells = player:GetSpellList()\n for spellID, spellTable in pairs(playerSpells) do\n AllSpells [spellID] = (AllSpells [spellID] or 0) + (spellTable.total or 0)\n end\n end\n end\n\n local sortedList = {}\n for spellID, total in pairs(AllSpells) do\n tinsert(sortedList, {spellID, total})\n end\n table.sort (sortedList, Details.Sort2)\n\n local format_func = Details:GetCurrentToKFunction()\n\n --build the tooltip\n\n local topSpellTotal = sortedList and sortedList[1] and sortedList[1][2] or 0\n\n for i, t in ipairs(sortedList) do\n local spellID, total = unpack(t)\n if (total > 1) then\n local spellName, _, spellIcon = Details.GetSpellInfo(spellID)\n\n local spellPercent = total / playerTotal * 100\n local formatedSpellPercent = format(\"%.1f\", spellPercent)\n\n if (string.len(formatedSpellPercent) < 4) then\n formatedSpellPercent = formatedSpellPercent .. \"0\"\n end\n\n GameCooltip:AddLine(spellName, format_func (_, total) .. \" \" .. formatedSpellPercent .. \"%\")\n\n Details:AddTooltipBackgroundStatusbar(false, total / topSpellTotal * 100)\n GameCooltip:AddIcon (spellIcon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height, 0.078125, 0.921875, 0.078125, 0.921875)\n\n end\n end\n ", + ["target"] = false, + ["script"] = " --init:\n local combat, instance_container, instance = ...\n local total, top, amount = 0, 0, 0\n\n --get the overall combat\n local OverallCombat = Details:GetCombat(-1)\n --get the current combat\n local CurrentCombat = Details:GetCombat(0)\n\n if (not OverallCombat.GetActorList or not CurrentCombat.GetActorList) then\n return 0, 0, 0\n end\n\n --get the damage actor container for overall\n local damage_container_overall = OverallCombat:GetActorList ( DETAILS_ATTRIBUTE_DAMAGE )\n --get the damage actor container for current\n local damage_container_current = CurrentCombat:GetActorList ( DETAILS_ATTRIBUTE_DAMAGE )\n\n --do the loop:\n for _, player in ipairs( damage_container_overall ) do\n --only player in group\n if (player:IsGroupPlayer()) then\n instance_container:AddValue (player, player.total)\n end\n end\n\n if (Details.in_combat) then\n for _, player in ipairs( damage_container_current ) do\n --only player in group\n if (player:IsGroupPlayer()) then\n instance_container:AddValue (player, player.total)\n end\n end\n end\n\n total, top = instance_container:GetTotalAndHighestValue()\n amount = instance_container:GetNumActors()\n\n --return:\n return total, top, amount\n ", + ["attribute"] = false, + ["script_version"] = 8, + }, -- [10] + { + ["source"] = false, + ["author"] = "Details!", + ["desc"] = "Damage done to shields", + ["tooltip"] = " --get the parameters passed\n local actor, Combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GameCooltip = GameCooltip\n\n --Cooltip code\n --get the actor total damage absorbed\n local totalAbsorb = actor.totalabsorbed\n local format_func = Details:GetCurrentToKFunction()\n\n --get the damage absorbed by all the actor pets\n for petIndex, petName in ipairs(actor.pets) do\n local pet = Combat :GetActor(1, petName)\n if (pet) then\n totalAbsorb = totalAbsorb + pet.totalabsorbed\n end\n end\n\n GameCooltip:AddLine(actor:Name(), format_func (_, actor.totalabsorbed))\n Details:AddTooltipBackgroundStatusbar()\n\n for petIndex, petName in ipairs(actor.pets) do\n local pet = Combat :GetActor(1, petName)\n if (pet) then\n totalAbsorb = totalAbsorb + pet.totalabsorbed\n\n GameCooltip:AddLine(petName, format_func (_, pet.totalabsorbed))\n Details:AddTooltipBackgroundStatusbar()\n\n end\n end\n ", + ["icon"] = "Interface\\ICONS\\Spell_Holy_PowerWordShield", + ["name"] = "Damage on Shields", + ["spellid"] = false, + ["target"] = false, + ["script"] = " --get the parameters passed\n local Combat, CustomContainer, Instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n\n --do the loop\n for index, actor in ipairs(Combat:GetActorList(1)) do\n if (actor:IsPlayer()) then\n\n --get the actor total damage absorbed\n local totalAbsorb = actor.totalabsorbed\n\n --get the damage absorbed by all the actor pets\n for petIndex, petName in ipairs(actor.pets) do\n local pet = Combat :GetActor(1, petName)\n if (pet) then\n totalAbsorb = totalAbsorb + pet.totalabsorbed\n end\n end\n\n --add the value to the actor on the custom container\n CustomContainer:AddValue (actor, totalAbsorb)\n\n end\n end\n --loop end\n\n --if not managed inside the loop, get the values of total, top and amount\n total, top = CustomContainer:GetTotalAndHighestValue()\n amount = CustomContainer:GetNumActors()\n\n --return the values\n return total, top, amount\n ", + ["attribute"] = false, + ["script_version"] = 1, + }, -- [11] }, + ["spell_pool"] = { + [269083] = 6, + [297871] = 6, + [186401] = 6, + [88741] = 6, + [2479] = 6, + [228583] = 6, + }, + ["encounter_spell_pool"] = { + }, + ["immersion_pets_on_solo_play"] = false, + ["npcid_ignored"] = { + }, + ["report_where"] = "SAY", + ["latest_news_saw"] = "10.0.0 10144", + ["auto_open_news_window"] = true, ["__profiles"] = { ["GennUI"] = { ["show_arena_role_icon"] = false, @@ -113,6 +322,12 @@ _detalhes_global = { 0.125, -- [3] 0.25, -- [4] }, + [1467] = { + 0.5, -- [1] + 0.625, -- [2] + 0.5, -- [3] + 0.625, -- [4] + }, [63] = { 0.375, -- [1] 0.5, -- [2] @@ -137,6 +352,12 @@ _detalhes_global = { 0, -- [3] 0.125, -- [4] }, + [1468] = { + 0.625, -- [1] + 0.75, -- [2] + 0.5, -- [3] + 0.625, -- [4] + }, [253] = { 0.875, -- [1] 1, -- [2] @@ -180,10 +401,10 @@ _detalhes_global = { 0.375, -- [4] }, [260] = { - 0.875, -- [1] - 1, -- [2] - 0.25, -- [3] - 0.375, -- [4] + 0, -- [1] + 0.125, -- [2] + 0.75, -- [3] + 0.875, -- [4] }, [577] = { 0.25, -- [1] @@ -388,10 +609,10 @@ _detalhes_global = { 0, -- [1] 0, -- [2] }, + ["maximize_method"] = 1, ["fontshadow"] = false, - ["menus_bg_texture"] = "Interface\\SPELLBOOK\\Spellbook-Page-1", ["border_size"] = 14, - ["maximize_method"] = 1, + ["menus_bg_texture"] = "Interface\\SPELLBOOK\\Spellbook-Page-1", ["anchor_screen_pos"] = { 507.7, -- [1] -350.5, -- [2] @@ -423,6 +644,7 @@ _detalhes_global = { ["animation_speed_mintravel"] = 0.45, ["track_item_level"] = true, ["fade_speed"] = 0.15, + ["death_tooltip_spark"] = false, ["windows_fade_in"] = { "in", -- [1] 0.2, -- [2] @@ -465,11 +687,27 @@ _detalhes_global = { ["trash_concatenate"] = false, ["color_by_arena_team"] = true, ["animation_speed"] = 33, + ["instances_segments_locked"] = true, ["disable_stretch_from_toolbar"] = false, ["disable_lock_ungroup_buttons"] = false, ["memory_ram"] = 64, + ["deadlog_limit"] = 16, + ["instances_no_libwindow"] = false, ["disable_window_groups"] = false, + ["time_type"] = 2, + ["data_broker_text"] = "", ["instances_suppress_trash"] = 0, + ["death_tooltip_width"] = 350, + ["options_window"] = { + ["scale"] = 1, + }, + ["animation_speed_maxtravel"] = 3, + ["use_battleground_server_parser"] = false, + ["use_scroll"] = false, + ["font_faces"] = { + ["menus"] = "GennUI", + }, + ["report_schema"] = 1, ["instances"] = { { ["__pos"] = { @@ -486,14 +724,16 @@ _detalhes_global = { ["h"] = 200, }, }, - ["show_statusbar"] = false, - ["menu_icons_size"] = 0.850000023841858, + ["hide_in_combat_type"] = 1, + ["clickthrough_window"] = false, + ["titlebar_shown"] = false, ["menu_anchor"] = { 16, -- [1] 0, -- [2] ["side"] = 2, }, ["bg_r"] = 0.09411764705882353, + ["fullborder_size"] = 0.5, ["hide_out_of_combat"] = false, ["color_buttons"] = { 1, -- [1] @@ -502,36 +742,59 @@ _detalhes_global = { 1, -- [4] }, ["toolbar_icon_file"] = "Interface\\AddOns\\Details\\images\\toolbar_icons_2", - ["skin_custom"] = "", - ["fontstrings_width"] = 35, + ["bars_sort_direction"] = 1, + ["use_auto_align_multi_fontstrings"] = true, ["tooltip"] = { ["n_abilities"] = 3, ["n_enemies"] = 3, }, ["switch_all_roles_in_combat"] = false, ["clickthrough_toolbaricons"] = false, - ["clickthrough_rows"] = false, - ["switch_tank"] = false, - ["plugins_grow_direction"] = 1, - ["icon_desaturated"] = false, - ["switch_damager"] = false, - ["auto_hide_menu"] = { - ["left"] = true, - ["right"] = false, - }, - ["window_scale"] = 1, - ["hide_icon"] = true, - ["toolbar_side"] = 1, - ["bg_g"] = 0.09411764705882353, - ["menu_icons_alpha"] = 0.5, - ["bg_b"] = 0.09411764705882353, - ["backdrop_texture"] = "Details Ground", - ["color"] = { - 0.07058823529411765, -- [1] - 0.07058823529411765, -- [2] - 0.07058823529411765, -- [3] - 0, -- [4] - }, + ["attribute_text"] = { + ["enabled"] = true, + ["shadow"] = false, + ["side"] = 1, + ["text_color"] = { + 1, -- [1] + 1, -- [2] + 1, -- [3] + 1, -- [4] + }, + ["custom_text"] = "{name}", + ["show_timer_arena"] = true, + ["text_face"] = "GennUI", + ["show_timer_always"] = false, + ["text_size"] = 12, + ["anchor"] = { + -18, -- [1] + 3, -- [2] + }, + ["show_timer"] = true, + ["enable_custom_text"] = false, + ["show_timer_bg"] = true, + }, + ["titlebar_texture"] = "Details Serenity", + ["ignore_mass_showhide"] = false, + ["switch_all_roles_after_wipe"] = false, + ["icon_desaturated"] = false, + ["desaturated_menu"] = false, + ["auto_hide_menu"] = { + ["left"] = true, + ["right"] = false, + }, + ["window_scale"] = 1, + ["hide_icon"] = true, + ["toolbar_side"] = 1, + ["bg_g"] = 0.09411764705882353, + ["menu_icons_alpha"] = 0.92, + ["bg_b"] = 0.09411764705882353, + ["switch_healer_in_combat"] = false, + ["color"] = { + 0.07058823529411765, -- [1] + 0.07058823529411765, -- [2] + 0.07058823529411765, -- [3] + 0, -- [4] + }, ["hide_on_context"] = { { ["enabled"] = false, @@ -609,7 +872,10 @@ _detalhes_global = { ["value"] = 100, }, -- [15] }, + ["__snapV"] = true, + ["backdrop_texture"] = "Details Ground", ["skin"] = "Minimalistic", + ["switch_tank_in_combat"] = false, ["following"] = { ["enabled"] = false, ["bar_color"] = { @@ -623,28 +889,137 @@ _detalhes_global = { 1, -- [3] }, }, + ["__was_opened"] = true, ["switch_healer"] = false, ["fontstrings_text2_anchor"] = 70, - ["__snapV"] = true, + ["bars_inverted"] = false, + ["row_info"] = { + ["textR_outline"] = true, + ["spec_file"] = "Interface\\AddOns\\Details\\images\\spec_icons_normal", + ["textL_outline"] = true, + ["texture_highlight"] = "Interface\\FriendsFrame\\UI-FriendsList-Highlight", + ["textL_outline_small"] = false, + ["percent_type"] = 1, + ["fixed_text_color"] = { + 1, -- [1] + 1, -- [2] + 1, -- [3] + }, + ["space"] = { + ["right"] = 0, + ["left"] = 0, + ["between"] = 1, + }, + ["texture_background_class_color"] = false, + ["textL_outline_small_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 1, -- [4] + }, + ["font_face_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\fonts\\GennUI.ttf", + ["faction_icon_size_offset"] = -10, + ["textL_custom_text"] = "{data1}. {data3}{data2}", + ["font_size"] = 12, + ["height"] = 20, + ["backdrop"] = { + ["color"] = { + 1, -- [1] + 1, -- [2] + 1, -- [3] + 1, -- [4] + }, + ["texture"] = "Details BarBorder 2", + ["enabled"] = false, + ["size"] = 0, + }, + ["textL_translit_text"] = false, + ["texture_custom_file"] = "Interface\\", + ["texture_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\textures\\GennUI.tga", + ["icon_size_offset"] = 0, + ["show_faction_icon"] = true, + ["textR_bracket"] = "[", + ["overlay_color"] = { + 0.7, -- [1] + 0.7, -- [2] + 0.7, -- [3] + 0, -- [4] + }, + ["textR_show_data"] = { + true, -- [1] + true, -- [2] + false, -- [3] + }, + ["texture_custom"] = "", + ["icon_file"] = "Interface\\AddOns\\Details\\images\\classes_small", + ["icon_grayscale"] = false, + ["arena_role_icon_size_offset"] = -10, + ["use_spec_icons"] = true, + ["textR_enable_custom_text"] = false, + ["show_arena_role_icon"] = false, + ["fixed_texture_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + }, + ["textL_show_number"] = true, + ["texture"] = "GennUI", + ["alpha"] = 1, + ["textR_custom_text"] = "{data1} ({data2}, {data3}%)", + ["fixed_texture_background_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 0, -- [4] + }, + ["texture_background"] = "GennUI", + ["texture_background_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\textures\\GennUI.tga", + ["overlay_texture"] = "Details D'ictum", + ["start_after_icon"] = true, + ["textR_class_colors"] = false, + ["textL_class_colors"] = false, + ["textR_outline_small_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 1, -- [4] + }, + ["no_icon"] = false, + ["icon_offset"] = { + 0, -- [1] + 0, -- [2] + }, + ["textR_outline_small"] = false, + ["font_face"] = "GennUI", + ["texture_class_colors"] = true, + ["textL_enable_custom_text"] = false, + ["fast_ps_update"] = false, + ["textR_separator"] = "NONE", + ["models"] = { + ["upper_model"] = "Spells\\AcidBreath_SuperGreen.M2", + ["lower_model"] = "World\\EXPANSION02\\DOODADS\\Coldarra\\COLDARRALOCUS.m2", + ["upper_alpha"] = 0.5, + ["lower_enabled"] = false, + ["lower_alpha"] = 0.1, + ["upper_enabled"] = false, + }, + }, + ["grab_on_top"] = false, + ["menu_icons_size"] = 0.850000023841858, + ["row_show_animation"] = { + ["anim"] = "Fade", + ["options"] = { + }, + }, ["StatusBarSaved"] = { ["center"] = "DETAILS_STATUSBAR_PLUGIN_CLOCK", ["right"] = "DETAILS_STATUSBAR_PLUGIN_PDPS", ["options"] = { ["DETAILS_STATUSBAR_PLUGIN_PDPS"] = { - ["SetCurrentInstanceAndRefresh"] = nil --[[ skipped inline function ]], - ["GetOptionsSection"] = nil --[[ skipped inline function ]], - ["SelectOptionsSection"] = nil --[[ skipped inline function ]], - ["InitializeOptionsWindow"] = nil --[[ skipped inline function ]], - ["GetCurrentInstanceInOptionsPanel"] = nil --[[ skipped inline function ]], - ["timeType"] = 1, - ["maxSectionIds"] = 18, - ["textYMod"] = 1, - ["SetCurrentInstance"] = nil --[[ skipped inline function ]], ["segmentType"] = 2, ["textFace"] = "Accidental Presidency", - ["RefreshInstances"] = nil --[[ skipped inline function ]], - ["UpdateAutoHideSettings"] = nil --[[ skipped inline function ]], - ["textAlign"] = 1, + ["textAlign"] = 3, + ["timeType"] = 1, ["textSize"] = 10, ["textColor"] = { 1, -- [1] @@ -654,20 +1029,10 @@ _detalhes_global = { }, }, ["DETAILS_STATUSBAR_PLUGIN_PSEGMENT"] = { - ["SetCurrentInstanceAndRefresh"] = nil --[[ skipped inline function ]], - ["GetOptionsSection"] = nil --[[ skipped inline function ]], - ["SelectOptionsSection"] = nil --[[ skipped inline function ]], - ["InitializeOptionsWindow"] = nil --[[ skipped inline function ]], - ["GetCurrentInstanceInOptionsPanel"] = nil --[[ skipped inline function ]], - ["timeType"] = 1, - ["maxSectionIds"] = 18, - ["textYMod"] = 1, - ["SetCurrentInstance"] = nil --[[ skipped inline function ]], ["segmentType"] = 2, ["textFace"] = "Accidental Presidency", - ["RefreshInstances"] = nil --[[ skipped inline function ]], - ["UpdateAutoHideSettings"] = nil --[[ skipped inline function ]], ["textAlign"] = 1, + ["timeType"] = 1, ["textSize"] = 10, ["textColor"] = { 1, -- [1] @@ -677,20 +1042,10 @@ _detalhes_global = { }, }, ["DETAILS_STATUSBAR_PLUGIN_CLOCK"] = { - ["SetCurrentInstanceAndRefresh"] = nil --[[ skipped inline function ]], - ["GetOptionsSection"] = nil --[[ skipped inline function ]], - ["SelectOptionsSection"] = nil --[[ skipped inline function ]], - ["InitializeOptionsWindow"] = nil --[[ skipped inline function ]], - ["GetCurrentInstanceInOptionsPanel"] = nil --[[ skipped inline function ]], - ["timeType"] = 1, - ["maxSectionIds"] = 18, - ["textYMod"] = 1, - ["SetCurrentInstance"] = nil --[[ skipped inline function ]], ["segmentType"] = 2, ["textFace"] = "Accidental Presidency", - ["RefreshInstances"] = nil --[[ skipped inline function ]], - ["UpdateAutoHideSettings"] = nil --[[ skipped inline function ]], - ["textAlign"] = 1, + ["textAlign"] = 2, + ["timeType"] = 1, ["textSize"] = 10, ["textColor"] = { 1, -- [1] @@ -702,13 +1057,31 @@ _detalhes_global = { }, ["left"] = "DETAILS_STATUSBAR_PLUGIN_PSEGMENT", }, - ["grab_on_top"] = false, - ["__was_opened"] = true, + ["total_bar"] = { + ["enabled"] = false, + ["only_in_group"] = true, + ["icon"] = "Interface\\ICONS\\INV_Sigil_Thorim", + ["color"] = { + 1, -- [1] + 1, -- [2] + 1, -- [3] + }, + }, + ["menu_icons"] = { + true, -- [1] + true, -- [2] + true, -- [3] + true, -- [4] + true, -- [5] + false, -- [6] + ["space"] = -2, + ["shadow"] = false, + }, ["instance_button_anchor"] = { -27, -- [1] 1, -- [2] }, - ["bg_alpha"] = 0, + ["version"] = 3, ["fontstrings_text4_anchor"] = 0, ["__locked"] = true, ["menu_alpha"] = { @@ -718,27 +1091,28 @@ _detalhes_global = { ["iconstoo"] = true, ["onenter"] = 1, }, - ["version"] = 3, - ["stretch_button_side"] = 1, - ["switch_healer_in_combat"] = false, - ["strata"] = "LOW", + ["show_sidebars"] = false, + ["bars_grow_direction"] = 1, + ["switch_tank"] = false, + ["rowareaborder_size"] = 0.5, ["clickthrough_incombatonly"] = true, ["__snap"] = { [4] = 2, }, - ["menu_icons"] = { - true, -- [1] - true, -- [2] - true, -- [3] - true, -- [4] - true, -- [5] - false, -- [6] - ["space"] = -2, - ["shadow"] = false, - }, + ["plugins_grow_direction"] = 1, ["hide_in_combat_alpha"] = 0, - ["switch_tank_in_combat"] = false, - ["hide_in_combat_type"] = 1, + ["rowareaborder_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 1, -- [4] + }, + ["fullborder_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 1, -- [4] + }, ["libwindow"] = { ["y"] = 3.223054170608521, ["x"] = -6.22412109375, @@ -753,156 +1127,45 @@ _detalhes_global = { 0.07058823529411765, -- [3] }, }, + ["show_statusbar"] = false, + ["menu_anchor_down"] = { + 16, -- [1] + -3, -- [2] + }, + ["clickthrough_rows"] = false, + ["rowareaborder_shown"] = false, + ["strata"] = "LOW", + ["switch_damager_in_combat"] = false, + ["switch_damager"] = false, + ["micro_displays_locked"] = true, + ["auto_current"] = true, + ["skin_custom"] = "", + ["bg_alpha"] = 0, + ["fullborder_shown"] = false, + ["hide_in_combat"] = false, + ["posicao"] = { + ["normal"] = { + ["y"] = -529.999153137207, + ["x"] = 920.4427490234375, + ["w"] = 279.999755859375, + ["h"] = 133.5555877685547, + }, + ["solo"] = { + ["y"] = 2, + ["x"] = 1, + ["w"] = 300, + ["h"] = 200, + }, + }, ["fontstrings_text3_anchor"] = 35, - ["bars_grow_direction"] = 1, - ["row_info"] = { - ["textR_outline"] = true, - ["spec_file"] = "Interface\\AddOns\\Details\\images\\spec_icons_normal", - ["textL_outline"] = true, - ["textR_outline_small"] = false, - ["textL_outline_small"] = false, - ["percent_type"] = 1, - ["fixed_text_color"] = { + ["fontstrings_text_limit_offset"] = -10, + ["wallpaper"] = { + ["overlay"] = { 1, -- [1] 1, -- [2] 1, -- [3] + 1, -- [4] }, - ["space"] = { - ["right"] = 0, - ["left"] = 0, - ["between"] = 1, - }, - ["texture_background_class_color"] = false, - ["textL_outline_small_color"] = { - 0, -- [1] - 0, -- [2] - 0, -- [3] - 1, -- [4] - }, - ["font_face_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\fonts\\GennUI.ttf", - ["textL_custom_text"] = "{data1}. {data3}{data2}", - ["models"] = { - ["upper_model"] = "Spells\\AcidBreath_SuperGreen.M2", - ["lower_model"] = "World\\EXPANSION02\\DOODADS\\Coldarra\\COLDARRALOCUS.m2", - ["upper_alpha"] = 0.5, - ["lower_enabled"] = false, - ["lower_alpha"] = 0.1, - ["upper_enabled"] = false, - }, - ["textL_translit_text"] = false, - ["texture_custom_file"] = "Interface\\", - ["texture_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\textures\\GennUI.tga", - ["use_spec_icons"] = true, - ["font_size"] = 12, - ["icon_file"] = "Interface\\AddOns\\Details\\images\\classes_small", - ["icon_grayscale"] = false, - ["backdrop"] = { - ["enabled"] = false, - ["texture"] = "Details BarBorder 2", - ["color"] = { - 1, -- [1] - 1, -- [2] - 1, -- [3] - 1, -- [4] - }, - ["size"] = 0, - }, - ["textR_bracket"] = "[", - ["textR_enable_custom_text"] = false, - ["textL_enable_custom_text"] = false, - ["fixed_texture_color"] = { - 0, -- [1] - 0, -- [2] - 0, -- [3] - }, - ["textL_show_number"] = true, - ["texture_custom"] = "", - ["texture_highlight"] = "Interface\\FriendsFrame\\UI-FriendsList-Highlight", - ["textR_custom_text"] = "{data1} ({data2}, {data3}%)", - ["texture"] = "GennUI", - ["start_after_icon"] = true, - ["texture_background_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\textures\\GennUI.tga", - ["textR_class_colors"] = false, - ["alpha"] = 1, - ["textL_class_colors"] = false, - ["texture_background"] = "GennUI", - ["textR_outline_small_color"] = { - 0, -- [1] - 0, -- [2] - 0, -- [3] - 1, -- [4] - }, - ["no_icon"] = false, - ["icon_offset"] = { - 0, -- [1] - 0, -- [2] - }, - ["fixed_texture_background_color"] = { - 0, -- [1] - 0, -- [2] - 0, -- [3] - 0, -- [4] - }, - ["font_face"] = "GennUI", - ["texture_class_colors"] = true, - ["textR_show_data"] = { - true, -- [1] - true, -- [2] - false, -- [3] - }, - ["fast_ps_update"] = false, - ["textR_separator"] = "NONE", - ["height"] = 20, - }, - ["ignore_mass_showhide"] = false, - ["menu_anchor_down"] = { - 16, -- [1] - -3, -- [2] - }, - ["switch_damager_in_combat"] = false, - ["bars_sort_direction"] = 1, - ["bars_inverted"] = false, - ["auto_current"] = true, - ["micro_displays_locked"] = true, - ["desaturated_menu"] = false, - ["switch_all_roles_after_wipe"] = false, - ["hide_in_combat"] = false, - ["posicao"] = { - ["normal"] = { - ["y"] = -529.999153137207, - ["x"] = 920.4427490234375, - ["w"] = 279.999755859375, - ["h"] = 133.5555877685547, - }, - ["solo"] = { - ["y"] = 2, - ["x"] = 1, - ["w"] = 300, - ["h"] = 200, - }, - }, - ["attribute_text"] = { - ["enabled"] = true, - ["shadow"] = false, - ["side"] = 1, - ["text_size"] = 12, - ["custom_text"] = "{name}", - ["text_face"] = "GennUI", - ["anchor"] = { - -18, -- [1] - 3, -- [2] - }, - ["show_timer"] = true, - ["enable_custom_text"] = false, - ["text_color"] = { - 1, -- [1] - 1, -- [2] - 1, -- [3] - 1, -- [4] - }, - }, - ["clickthrough_window"] = false, - ["wallpaper"] = { ["enabled"] = false, ["texcoord"] = { 0, -- [1] @@ -910,35 +1173,22 @@ _detalhes_global = { 0, -- [3] 0.7, -- [4] }, - ["overlay"] = { - 1, -- [1] - 1, -- [2] - 1, -- [3] - 1, -- [4] - }, - ["anchor"] = "all", ["height"] = 114.042518615723, + ["anchor"] = "all", + ["level"] = 2, ["alpha"] = 0.5, ["width"] = 283.000183105469, }, - ["total_bar"] = { - ["enabled"] = false, - ["only_in_group"] = true, - ["icon"] = "Interface\\ICONS\\INV_Sigil_Thorim", - ["color"] = { - 1, -- [1] - 1, -- [2] - 1, -- [3] - }, - }, - ["show_sidebars"] = false, - ["row_show_animation"] = { - ["anim"] = "Fade", - ["options"] = { - }, - }, - ["use_multi_fontstrings"] = false, + ["stretch_button_side"] = 1, + ["titlebar_height"] = 16, ["micro_displays_side"] = 2, + ["use_multi_fontstrings"] = false, + ["titlebar_texture_color"] = { + 0.2, -- [1] + 0.2, -- [2] + 0.2, -- [3] + 0.8, -- [4] + }, }, -- [1] { ["__pos"] = { @@ -956,13 +1206,15 @@ _detalhes_global = { }, }, ["hide_in_combat_type"] = 1, - ["fontstrings_text3_anchor"] = 35, + ["clickthrough_window"] = false, + ["titlebar_shown"] = false, ["menu_anchor"] = { 16, -- [1] 0, -- [2] ["side"] = 2, }, ["bg_r"] = 0.09411764705882353, + ["fullborder_size"] = 0.5, ["hide_out_of_combat"] = false, ["color_buttons"] = { 1, -- [1] @@ -972,141 +1224,57 @@ _detalhes_global = { }, ["toolbar_icon_file"] = "Interface\\AddOns\\Details\\images\\toolbar_icons_2", ["bars_sort_direction"] = 1, - ["fontstrings_width"] = 35, + ["use_auto_align_multi_fontstrings"] = true, ["tooltip"] = { ["n_abilities"] = 3, ["n_enemies"] = 3, }, - ["switch_all_roles_in_combat"] = false, + ["fullborder_shown"] = false, ["clickthrough_toolbaricons"] = false, - ["row_info"] = { - ["textR_outline"] = true, - ["spec_file"] = "Interface\\AddOns\\Details\\images\\spec_icons_normal", - ["textL_outline"] = true, - ["textR_outline_small"] = false, - ["textL_outline_small"] = false, - ["percent_type"] = 1, - ["fixed_text_color"] = { + ["attribute_text"] = { + ["enabled"] = true, + ["shadow"] = false, + ["side"] = 1, + ["text_color"] = { 1, -- [1] 1, -- [2] 1, -- [3] - }, - ["space"] = { - ["right"] = 0, - ["left"] = 0, - ["between"] = 1, - }, - ["texture_background_class_color"] = false, - ["textL_outline_small_color"] = { - 0, -- [1] - 0, -- [2] - 0, -- [3] 1, -- [4] }, - ["font_face_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\fonts\\GennUI.ttf", - ["textL_custom_text"] = "{data1}. {data3}{data2}", - ["models"] = { - ["upper_model"] = "Spells\\AcidBreath_SuperGreen.M2", - ["lower_model"] = "World\\EXPANSION02\\DOODADS\\Coldarra\\COLDARRALOCUS.m2", - ["upper_alpha"] = 0.5, - ["lower_enabled"] = false, - ["lower_alpha"] = 0.1, - ["upper_enabled"] = false, + ["custom_text"] = "{name}", + ["show_timer_arena"] = true, + ["text_face"] = "GennUI", + ["show_timer_always"] = false, + ["text_size"] = 12, + ["anchor"] = { + -18, -- [1] + 3, -- [2] }, - ["textL_translit_text"] = false, - ["texture_custom_file"] = "Interface\\", - ["texture_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\textures\\GennUI.tga", - ["use_spec_icons"] = true, - ["font_size"] = 12, - ["icon_file"] = "Interface\\AddOns\\Details\\images\\classes_small", - ["icon_grayscale"] = false, - ["backdrop"] = { - ["enabled"] = false, - ["texture"] = "Details BarBorder 2", - ["color"] = { - 1, -- [1] - 1, -- [2] - 1, -- [3] - 1, -- [4] - }, - ["size"] = 0, - }, - ["textR_bracket"] = "[", - ["textR_enable_custom_text"] = false, - ["textL_enable_custom_text"] = false, - ["fixed_texture_color"] = { - 0, -- [1] - 0, -- [2] - 0, -- [3] - }, - ["textL_show_number"] = true, - ["texture_custom"] = "", - ["texture_highlight"] = "Interface\\FriendsFrame\\UI-FriendsList-Highlight", - ["textR_custom_text"] = "{data1} ({data2}, {data3}%)", - ["texture"] = "GennUI", - ["start_after_icon"] = true, - ["texture_background_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\textures\\GennUI.tga", - ["textR_class_colors"] = false, - ["alpha"] = 1, - ["textL_class_colors"] = false, - ["texture_background"] = "GennUI", - ["textR_outline_small_color"] = { - 0, -- [1] - 0, -- [2] - 0, -- [3] - 1, -- [4] - }, - ["no_icon"] = false, - ["icon_offset"] = { - 0, -- [1] - 0, -- [2] - }, - ["fixed_texture_background_color"] = { - 0, -- [1] - 0, -- [2] - 0, -- [3] - 0, -- [4] - }, - ["font_face"] = "GennUI", - ["texture_class_colors"] = true, - ["textR_show_data"] = { - true, -- [1] - true, -- [2] - false, -- [3] - }, - ["fast_ps_update"] = false, - ["textR_separator"] = "NONE", - ["height"] = 20, - }, - ["ignore_mass_showhide"] = false, - ["plugins_grow_direction"] = 1, - ["menu_icons"] = { - true, -- [1] - true, -- [2] - true, -- [3] - true, -- [4] - true, -- [5] - false, -- [6] - ["space"] = -2, - ["shadow"] = false, - }, - ["desaturated_menu"] = false, - ["micro_displays_side"] = 2, - ["window_scale"] = 1, - ["hide_icon"] = true, - ["toolbar_side"] = 1, - ["bg_g"] = 0.09411764705882353, - ["menu_icons_alpha"] = 0.5, - ["bg_b"] = 0.09411764705882353, - ["switch_healer_in_combat"] = false, - ["color"] = { - 0.07058823529411765, -- [1] - 0.07058823529411765, -- [2] - 0.07058823529411765, -- [3] - 0, -- [4] - }, - ["hide_on_context"] = { - { + ["show_timer"] = true, + ["enable_custom_text"] = false, + ["show_timer_bg"] = true, + }, + ["titlebar_texture"] = "Details Serenity", + ["ignore_mass_showhide"] = false, + ["switch_all_roles_after_wipe"] = false, + ["icon_desaturated"] = false, + ["desaturated_menu"] = false, + ["micro_displays_side"] = 2, + ["window_scale"] = 1, + ["hide_icon"] = true, + ["toolbar_side"] = 1, + ["bg_g"] = 0.09411764705882353, + ["menu_icons_alpha"] = 0.92, + ["bg_b"] = 0.09411764705882353, + ["switch_healer_in_combat"] = false, + ["color"] = { + 0.07058823529411765, -- [1] + 0.07058823529411765, -- [2] + 0.07058823529411765, -- [3] + 0, -- [4] + }, + ["hide_on_context"] = { + { ["enabled"] = false, ["inverse"] = false, ["value"] = 100, @@ -1182,7 +1350,11 @@ _detalhes_global = { ["value"] = 100, }, -- [15] }, + ["__snapV"] = true, + ["__snapH"] = false, + ["plugins_grow_direction"] = 1, ["skin"] = "Minimalistic", + ["switch_tank_in_combat"] = false, ["following"] = { ["enabled"] = false, ["bar_color"] = { @@ -1196,29 +1368,27 @@ _detalhes_global = { 1, -- [3] }, }, + ["__was_opened"] = true, ["switch_healer"] = false, ["fontstrings_text2_anchor"] = 70, - ["__snapV"] = true, - ["__snapH"] = false, + ["fontstrings_text3_anchor"] = 35, + ["backdrop_texture"] = "Details Ground", + ["grab_on_top"] = false, + ["menu_icons_size"] = 0.8500000238418579, + ["row_show_animation"] = { + ["anim"] = "Fade", + ["options"] = { + }, + }, ["StatusBarSaved"] = { ["center"] = "DETAILS_STATUSBAR_PLUGIN_CLOCK", ["right"] = "DETAILS_STATUSBAR_PLUGIN_PDPS", ["options"] = { ["DETAILS_STATUSBAR_PLUGIN_PDPS"] = { - ["SetCurrentInstanceAndRefresh"] = nil --[[ skipped inline function ]], - ["GetOptionsSection"] = nil --[[ skipped inline function ]], - ["SelectOptionsSection"] = nil --[[ skipped inline function ]], - ["InitializeOptionsWindow"] = nil --[[ skipped inline function ]], - ["GetCurrentInstanceInOptionsPanel"] = nil --[[ skipped inline function ]], - ["timeType"] = 1, - ["maxSectionIds"] = 18, - ["textYMod"] = 1, - ["SetCurrentInstance"] = nil --[[ skipped inline function ]], ["segmentType"] = 2, ["textFace"] = "Accidental Presidency", - ["RefreshInstances"] = nil --[[ skipped inline function ]], - ["UpdateAutoHideSettings"] = nil --[[ skipped inline function ]], - ["textAlign"] = 1, + ["textAlign"] = 3, + ["timeType"] = 1, ["textSize"] = 10, ["textColor"] = { 1, -- [1] @@ -1228,20 +1398,10 @@ _detalhes_global = { }, }, ["DETAILS_STATUSBAR_PLUGIN_PSEGMENT"] = { - ["SetCurrentInstanceAndRefresh"] = nil --[[ skipped inline function ]], - ["GetOptionsSection"] = nil --[[ skipped inline function ]], - ["SelectOptionsSection"] = nil --[[ skipped inline function ]], - ["InitializeOptionsWindow"] = nil --[[ skipped inline function ]], - ["GetCurrentInstanceInOptionsPanel"] = nil --[[ skipped inline function ]], - ["timeType"] = 1, - ["maxSectionIds"] = 18, - ["textYMod"] = 1, - ["SetCurrentInstance"] = nil --[[ skipped inline function ]], ["segmentType"] = 2, ["textFace"] = "Accidental Presidency", - ["RefreshInstances"] = nil --[[ skipped inline function ]], - ["UpdateAutoHideSettings"] = nil --[[ skipped inline function ]], ["textAlign"] = 1, + ["timeType"] = 1, ["textSize"] = 10, ["textColor"] = { 1, -- [1] @@ -1251,20 +1411,10 @@ _detalhes_global = { }, }, ["DETAILS_STATUSBAR_PLUGIN_CLOCK"] = { - ["SetCurrentInstanceAndRefresh"] = nil --[[ skipped inline function ]], - ["GetOptionsSection"] = nil --[[ skipped inline function ]], - ["SelectOptionsSection"] = nil --[[ skipped inline function ]], - ["InitializeOptionsWindow"] = nil --[[ skipped inline function ]], - ["GetCurrentInstanceInOptionsPanel"] = nil --[[ skipped inline function ]], - ["timeType"] = 1, - ["maxSectionIds"] = 18, - ["textYMod"] = 1, - ["SetCurrentInstance"] = nil --[[ skipped inline function ]], ["segmentType"] = 2, ["textFace"] = "Accidental Presidency", - ["RefreshInstances"] = nil --[[ skipped inline function ]], - ["UpdateAutoHideSettings"] = nil --[[ skipped inline function ]], - ["textAlign"] = 1, + ["textAlign"] = 2, + ["timeType"] = 1, ["textSize"] = 10, ["textColor"] = { 1, -- [1] @@ -1276,39 +1426,6 @@ _detalhes_global = { }, ["left"] = "DETAILS_STATUSBAR_PLUGIN_PSEGMENT", }, - ["switch_damager_in_combat"] = false, - ["__was_opened"] = true, - ["switch_tank_in_combat"] = false, - ["bg_alpha"] = 0, - ["fontstrings_text4_anchor"] = 0, - ["__locked"] = true, - ["menu_alpha"] = { - ["enabled"] = false, - ["onleave"] = 1, - ["ignorebars"] = false, - ["iconstoo"] = true, - ["onenter"] = 1, - }, - ["attribute_text"] = { - ["enabled"] = true, - ["shadow"] = false, - ["side"] = 1, - ["text_size"] = 12, - ["custom_text"] = "{name}", - ["text_face"] = "GennUI", - ["anchor"] = { - -18, -- [1] - 3, -- [2] - }, - ["show_timer"] = true, - ["enable_custom_text"] = false, - ["text_color"] = { - 1, -- [1] - 1, -- [2] - 1, -- [3] - 1, -- [4] - }, - }, ["total_bar"] = { ["enabled"] = false, ["only_in_group"] = true, @@ -1319,18 +1436,51 @@ _detalhes_global = { 1, -- [3] }, }, + ["menu_icons"] = { + true, -- [1] + true, -- [2] + true, -- [3] + true, -- [4] + true, -- [5] + false, -- [6] + ["space"] = -2, + ["shadow"] = false, + }, + ["instance_button_anchor"] = { + -27, -- [1] + 1, -- [2] + }, + ["version"] = 3, + ["fontstrings_text4_anchor"] = 0, + ["__locked"] = true, + ["menu_alpha"] = { + ["enabled"] = false, + ["onleave"] = 1, + ["ignorebars"] = false, + ["iconstoo"] = true, + ["onenter"] = 1, + }, + ["show_sidebars"] = false, ["bars_grow_direction"] = 1, - ["strata"] = "LOW", + ["skin_custom"] = "", + ["rowareaborder_size"] = 0.5, ["clickthrough_incombatonly"] = true, ["__snap"] = { [2] = 1, }, - ["switch_all_roles_after_wipe"] = false, + ["rowareaborder_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 1, -- [4] + }, ["hide_in_combat_alpha"] = 0, - ["backdrop_texture"] = "Details Ground", - ["instance_button_anchor"] = { - -27, -- [1] - 1, -- [2] + ["clickthrough_rows"] = false, + ["fullborder_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 1, -- [4] }, ["libwindow"] = { ["y"] = 156.7786560058594, @@ -1347,98 +1497,202 @@ _detalhes_global = { }, }, ["show_statusbar"] = false, - ["row_show_animation"] = { - ["anim"] = "Fade", - ["options"] = { - }, - }, - ["menu_icons_size"] = 0.8500000238418579, - ["bars_inverted"] = false, ["menu_anchor_down"] = { 16, -- [1] -3, -- [2] }, - ["grab_on_top"] = false, - ["skin_custom"] = "", - ["switch_tank"] = false, - ["auto_current"] = true, + ["rowareaborder_shown"] = false, + ["strata"] = "LOW", + ["auto_hide_menu"] = { + ["left"] = true, + ["right"] = false, + }, + ["switch_damager_in_combat"] = false, ["switch_damager"] = false, - ["icon_desaturated"] = false, - ["version"] = 3, - ["hide_in_combat"] = false, - ["posicao"] = { - ["normal"] = { - ["y"] = -409.2213745117188, - ["x"] = 920.4427490234375, - ["w"] = 279.999755859375, - ["h"] = 67.99996948242188, + ["micro_displays_locked"] = true, + ["auto_current"] = true, + ["bg_alpha"] = 0, + ["switch_all_roles_in_combat"] = false, + ["row_info"] = { + ["textR_outline"] = true, + ["spec_file"] = "Interface\\AddOns\\Details\\images\\spec_icons_normal", + ["textL_outline"] = true, + ["texture_highlight"] = "Interface\\FriendsFrame\\UI-FriendsList-Highlight", + ["textL_outline_small"] = false, + ["percent_type"] = 1, + ["fixed_text_color"] = { + 1, -- [1] + 1, -- [2] + 1, -- [3] }, - ["solo"] = { - ["y"] = 2, - ["x"] = 1, - ["w"] = 300, - ["h"] = 200, + ["space"] = { + ["right"] = 0, + ["left"] = 0, + ["between"] = 1, }, - }, - ["clickthrough_rows"] = false, - ["clickthrough_window"] = false, - ["wallpaper"] = { - ["enabled"] = false, - ["texcoord"] = { + ["texture_background_class_color"] = false, + ["textL_outline_small_color"] = { 0, -- [1] - 1, -- [2] + 0, -- [2] 0, -- [3] - 0.7, -- [4] - }, - ["overlay"] = { - 1, -- [1] - 1, -- [2] - 1, -- [3] 1, -- [4] }, - ["anchor"] = "all", - ["height"] = 114.042518615723, - ["alpha"] = 0.5, - ["width"] = 283.000183105469, - }, - ["stretch_button_side"] = 1, - ["show_sidebars"] = false, - ["micro_displays_locked"] = true, - ["use_multi_fontstrings"] = false, - ["auto_hide_menu"] = { - ["left"] = true, - ["right"] = false, - }, - }, -- [2] - }, - ["options_window"] = { - ["scale"] = 1, - }, - ["animation_speed_maxtravel"] = 3, - ["hotcorner_topleft"] = { - ["hide"] = false, - }, - ["deadlog_limit"] = 16, - ["font_faces"] = { - ["menus"] = "GennUI", - }, - ["instances_segments_locked"] = true, - ["instances_no_libwindow"] = false, - ["data_broker_text"] = "", + ["font_face_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\fonts\\GennUI.ttf", + ["faction_icon_size_offset"] = -10, + ["textL_custom_text"] = "{data1}. {data3}{data2}", + ["font_size"] = 12, + ["height"] = 20, + ["backdrop"] = { + ["color"] = { + 1, -- [1] + 1, -- [2] + 1, -- [3] + 1, -- [4] + }, + ["texture"] = "Details BarBorder 2", + ["enabled"] = false, + ["size"] = 0, + }, + ["textL_translit_text"] = false, + ["texture_custom_file"] = "Interface\\", + ["texture_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\textures\\GennUI.tga", + ["icon_size_offset"] = 0, + ["show_faction_icon"] = true, + ["textR_bracket"] = "[", + ["overlay_color"] = { + 0.7, -- [1] + 0.7, -- [2] + 0.7, -- [3] + 0, -- [4] + }, + ["textR_show_data"] = { + true, -- [1] + true, -- [2] + false, -- [3] + }, + ["texture_custom"] = "", + ["icon_file"] = "Interface\\AddOns\\Details\\images\\classes_small", + ["icon_grayscale"] = false, + ["arena_role_icon_size_offset"] = -10, + ["use_spec_icons"] = true, + ["textR_enable_custom_text"] = false, + ["show_arena_role_icon"] = false, + ["fixed_texture_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + }, + ["textL_show_number"] = true, + ["texture"] = "GennUI", + ["alpha"] = 1, + ["textR_custom_text"] = "{data1} ({data2}, {data3}%)", + ["fixed_texture_background_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 0, -- [4] + }, + ["texture_background"] = "GennUI", + ["texture_background_file"] = "Interface\\AddOns\\ElvUI_GennUI\\media\\textures\\GennUI.tga", + ["overlay_texture"] = "Details D'ictum", + ["start_after_icon"] = true, + ["textR_class_colors"] = false, + ["textL_class_colors"] = false, + ["textR_outline_small_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 1, -- [4] + }, + ["no_icon"] = false, + ["icon_offset"] = { + 0, -- [1] + 0, -- [2] + }, + ["textR_outline_small"] = false, + ["font_face"] = "GennUI", + ["texture_class_colors"] = true, + ["textL_enable_custom_text"] = false, + ["fast_ps_update"] = false, + ["textR_separator"] = "NONE", + ["models"] = { + ["upper_model"] = "Spells\\AcidBreath_SuperGreen.M2", + ["lower_model"] = "World\\EXPANSION02\\DOODADS\\Coldarra\\COLDARRALOCUS.m2", + ["upper_alpha"] = 0.5, + ["lower_enabled"] = false, + ["lower_alpha"] = 0.1, + ["upper_enabled"] = false, + }, + }, + ["hide_in_combat"] = false, + ["posicao"] = { + ["normal"] = { + ["y"] = -409.2213745117188, + ["x"] = 920.4427490234375, + ["w"] = 279.999755859375, + ["h"] = 67.99996948242188, + }, + ["solo"] = { + ["y"] = 2, + ["x"] = 1, + ["w"] = 300, + ["h"] = 200, + }, + }, + ["switch_tank"] = false, + ["fontstrings_text_limit_offset"] = -10, + ["wallpaper"] = { + ["overlay"] = { + 1, -- [1] + 1, -- [2] + 1, -- [3] + 1, -- [4] + }, + ["enabled"] = false, + ["texcoord"] = { + 0, -- [1] + 1, -- [2] + 0, -- [3] + 0.7, -- [4] + }, + ["height"] = 114.042518615723, + ["anchor"] = "all", + ["level"] = 2, + ["alpha"] = 0.5, + ["width"] = 283.000183105469, + }, + ["stretch_button_side"] = 1, + ["titlebar_height"] = 16, + ["bars_inverted"] = false, + ["use_multi_fontstrings"] = false, + ["titlebar_texture_color"] = { + 0.2, -- [1] + 0.2, -- [2] + 0.2, -- [3] + 0.8, -- [4] + }, + }, -- [2] + }, + ["class_icons_small"] = "Interface\\AddOns\\Details\\images\\classes_small", ["segments_amount"] = 40, ["report_lines"] = 5, - ["clear_ungrouped"] = true, - ["font_sizes"] = { - ["menus"] = 10, + ["window_clamp"] = { + -8, -- [1] + 0, -- [2] + 21, -- [3] + -14, -- [4] }, + ["overall_flag"] = 16, ["skin"] = "Minimalistic", ["override_spellids"] = true, - ["total_abbreviation"] = 2, - ["report_schema"] = 1, - ["animation_speed_triggertravel"] = 5, - ["use_battleground_server_parser"] = false, + ["deny_score_messages"] = false, ["minimum_combat_time"] = 5, - ["use_scroll"] = false, + ["overall_clear_newtorghast"] = true, + ["font_sizes"] = { + ["menus"] = 10, + }, + ["overall_clear_logout"] = false, + ["numerical_system_symbols"] = "auto", ["cloud_capture"] = true, ["damage_taken_everything"] = false, ["scroll_speed"] = 2, @@ -1454,135 +1708,141 @@ _detalhes_global = { ["single_window"] = false, }, ["deadlog_events"] = 32, - ["overall_clear_logout"] = false, + ["windows_fade_out"] = { + "out", -- [1] + 0.2, -- [2] + }, ["close_shields"] = false, ["class_coords"] = { ["HUNTER"] = { 0, -- [1] - 0.25, -- [2] - 0.25, -- [3] - 0.5, -- [4] + 0.125, -- [2] + 0.125, -- [3] + 0.25, -- [4] }, ["WARRIOR"] = { 0, -- [1] - 0.25, -- [2] + 0.125, -- [2] 0, -- [3] - 0.25, -- [4] + 0.125, -- [4] }, - ["SHAMAN"] = { - 0.25, -- [1] - 0.49609375, -- [2] + ["PALADIN"] = { + 0, -- [1] + 0.125, -- [2] 0.25, -- [3] - 0.5, -- [4] + 0.375, -- [4] }, ["MAGE"] = { - 0.25, -- [1] - 0.49609375, -- [2] + 0.125, -- [1] + 0.248046875, -- [2] 0, -- [3] - 0.25, -- [4] + 0.125, -- [4] }, ["PET"] = { - 0.25, -- [1] - 0.49609375, -- [2] - 0.75, -- [3] - 1, -- [4] + 0.125, -- [1] + 0.248046875, -- [2] + 0.375, -- [3] + 0.5, -- [4] }, ["DRUID"] = { - 0.7421875, -- [1] - 0.98828125, -- [2] + 0.37109375, -- [1] + 0.494140625, -- [2] 0, -- [3] - 0.25, -- [4] + 0.125, -- [4] }, ["MONK"] = { - 0.5, -- [1] - 0.73828125, -- [2] - 0.5, -- [3] - 0.75, -- [4] - }, - ["DEATHKNIGHT"] = { 0.25, -- [1] - 0.5, -- [2] - 0.5, -- [3] - 0.75, -- [4] + 0.369140625, -- [2] + 0.25, -- [3] + 0.375, -- [4] }, - ["ENEMY"] = { - 0, -- [1] + ["DEATHKNIGHT"] = { + 0.125, -- [1] 0.25, -- [2] - 0.75, -- [3] - 1, -- [4] + 0.25, -- [3] + 0.375, -- [4] + }, + ["SHAMAN"] = { + 0.125, -- [1] + 0.248046875, -- [2] + 0.125, -- [3] + 0.25, -- [4] + }, + ["ROGUE"] = { + 0.248046875, -- [1] + 0.37109375, -- [2] + 0, -- [3] + 0.125, -- [4] }, ["UNKNOW"] = { - 0.5, -- [1] - 0.75, -- [2] - 0.75, -- [3] - 1, -- [4] + 0.25, -- [1] + 0.375, -- [2] + 0.375, -- [3] + 0.5, -- [4] }, ["PRIEST"] = { - 0.49609375, -- [1] - 0.7421875, -- [2] - 0.25, -- [3] - 0.5, -- [4] + 0.248046875, -- [1] + 0.37109375, -- [2] + 0.125, -- [3] + 0.25, -- [4] }, ["UNGROUPPLAYER"] = { - 0.5, -- [1] - 0.75, -- [2] - 0.75, -- [3] - 1, -- [4] + 0.25, -- [1] + 0.375, -- [2] + 0.375, -- [3] + 0.5, -- [4] }, ["Alliance"] = { - 0.49609375, -- [1] - 0.7421875, -- [2] - 0.75, -- [3] - 1, -- [4] + 0.248046875, -- [1] + 0.02968748, -- [2] + 0.375, -- [3] + 0.5, -- [4] }, ["WARLOCK"] = { - 0.7421875, -- [1] - 0.98828125, -- [2] - 0.25, -- [3] - 0.5, -- [4] + 0.37109375, -- [1] + 0.494140625, -- [2] + 0.125, -- [3] + 0.25, -- [4] }, ["DEMONHUNTER"] = { - 0.73828126, -- [1] - 1, -- [2] - 0.5, -- [3] - 0.75, -- [4] + 0.36914063, -- [1] + 0.5, -- [2] + 0.25, -- [3] + 0.375, -- [4] }, ["Horde"] = { - 0.7421875, -- [1] - 0.98828125, -- [2] - 0.75, -- [3] - 1, -- [4] + 0.37109375, -- [1] + 0.494140625, -- [2] + 0.375, -- [3] + 0.5, -- [4] }, - ["PALADIN"] = { + ["MONSTER"] = { 0, -- [1] - 0.25, -- [2] - 0.5, -- [3] - 0.75, -- [4] + 0.125, -- [2] + 0.375, -- [3] + 0.5, -- [4] }, - ["ROGUE"] = { - 0.49609375, -- [1] - 0.7421875, -- [2] + ["EVOKER"] = { + 0.50390625, -- [1] + 0.625, -- [2] 0, -- [3] - 0.25, -- [4] + 0.125, -- [4] }, - ["MONSTER"] = { + ["ENEMY"] = { 0, -- [1] - 0.25, -- [2] - 0.75, -- [3] - 1, -- [4] - }, + 0.125, -- [2] + 0.375, -- [3] + 0.5, -- [4] + }, }, - ["trash_auto_remove"] = false, - ["disable_alldisplays_window"] = false, - ["window_clamp"] = { - -8, -- [1] - 0, -- [2] - 21, -- [3] - -14, -- [4] + ["hotcorner_topleft"] = { + ["hide"] = false, }, - ["overall_flag"] = 16, - ["numerical_system_symbols"] = "auto", - ["deny_score_messages"] = false, + ["disable_alldisplays_window"] = false, + ["standard_skin"] = false, + ["total_abbreviation"] = 2, + ["segments_auto_erase"] = 1, + ["broadcaster_enabled"] = false, ["clear_graphic"] = true, ["class_colors"] = { ["HUNTER"] = { @@ -1635,6 +1895,16 @@ _detalhes_global = { 0.4, -- [2] 0.5, -- [3] }, + ["SELF"] = { + 0.89019, -- [1] + 0.32156, -- [2] + 0.89019, -- [3] + }, + ["SHAMAN"] = { + 0, -- [1] + 0.44, -- [2] + 0.87, -- [3] + }, ["UNKNOW"] = { 0.2, -- [1] 0.2, -- [2] @@ -1645,37 +1915,37 @@ _detalhes_global = { 1, -- [2] 1, -- [3] }, - ["SHAMAN"] = { - 0, -- [1] - 0.44, -- [2] - 0.87, -- [3] - }, - ["ROGUE"] = { - 1, -- [1] - 0.96, -- [2] - 0.41, -- [3] - }, + ["version"] = 1, ["ENEMY"] = { 0.94117, -- [1] 0, -- [2] 0.0196, -- [3] 1, -- [4] }, + ["WARLOCK"] = { + 0.58, -- [1] + 0.51, -- [2] + 0.79, -- [3] + }, ["DEMONHUNTER"] = { 0.64, -- [1] 0.19, -- [2] 0.79, -- [3] }, - ["version"] = 1, + ["ROGUE"] = { + 1, -- [1] + 0.96, -- [2] + 0.41, -- [3] + }, ["NEUTRAL"] = { 1, -- [1] 1, -- [2] 0, -- [3] }, - ["WARLOCK"] = { - 0.58, -- [1] - 0.51, -- [2] - 0.79, -- [3] + ["EVOKER"] = { + 0.2, -- [1] + 0.498, -- [2] + 0.5764, -- [3] }, ["ARENA_GREEN"] = { 0.4, -- [1] @@ -1683,9 +1953,9 @@ _detalhes_global = { 0.4, -- [3] }, }, - ["segments_auto_erase"] = 1, + ["animation_speed_triggertravel"] = 5, ["options_group_edit"] = true, - ["broadcaster_enabled"] = false, + ["segments_amount_to_save"] = 40, ["minimap"] = { ["onclick_what_todo"] = 1, ["radius"] = 160, @@ -1699,40 +1969,117 @@ _detalhes_global = { ["height"] = 450, ["width"] = 480, }, - ["default_bg_color"] = 0.0941, + ["trash_auto_remove"] = false, ["only_pvp_frags"] = false, ["disable_stretch_button"] = false, - ["standard_skin"] = false, - ["segments_amount_to_save"] = 40, - ["windows_fade_out"] = { - "out", -- [1] - 0.2, -- [2] - }, - ["segments_panic_mode"] = false, + ["default_bg_color"] = 0.0941, ["overall_clear_newboss"] = true, - ["overall_clear_newtorghast"] = true, - ["row_fade_out"] = { - "out", -- [1] - 0.2, -- [2] - }, + ["memory_threshold"] = 3, + ["segments_panic_mode"] = false, ["player_details_window"] = { ["scale"] = 1, ["skin"] = "ElvUI", ["bar_texture"] = "Skyline", }, ["numerical_system"] = 1, - ["class_icons_small"] = "Interface\\AddOns\\Details\\images\\classes_small", - ["force_activity_time_pvp"] = true, + ["row_fade_out"] = { + "out", -- [1] + 0.2, -- [2] + }, + ["clear_ungrouped"] = true, + ["overall_clear_pvp"] = true, ["pvp_as_group"] = true, - ["memory_threshold"] = 3, + ["force_activity_time_pvp"] = true, + ["realtime_dps_meter"] = { + ["enabled"] = false, + ["font_color"] = { + 1, -- [1] + 1, -- [2] + 1, -- [3] + 1, -- [4] + }, + ["arena_enabled"] = true, + ["font_shadow"] = "NONE", + ["font_size"] = 18, + ["mythic_dungeon_enabled"] = false, + ["sample_size"] = 3, + ["frame_settings"] = { + ["show_title"] = true, + ["strata"] = "LOW", + ["point"] = "TOP", + ["scale"] = 1, + ["width"] = 300, + ["y"] = -110, + ["x"] = 0, + ["backdrop_color"] = { + 0, -- [1] + 0, -- [2] + 0, -- [3] + 0.2, -- [4] + }, + ["locked"] = true, + ["height"] = 23, + }, + ["update_interval"] = 0.3, + ["text_offset"] = 2, + ["font_face"] = "Friz Quadrata TT", + ["options_frame"] = { + }, + }, + ["death_tooltip_texture"] = "Details Serenity", ["disable_reset_button"] = false, ["animate_scroll"] = false, - ["death_tooltip_width"] = 350, - ["time_type"] = 2, - ["default_bg_alpha"] = 0.5, ["time_type_original"] = 2, + ["use_self_color"] = false, + ["default_bg_alpha"] = 0.5, + ["death_log_colors"] = { + ["debuff"] = "purple", + ["friendlyfire"] = "darkorange", + ["heal"] = "green", + ["cooldown"] = "yellow", + ["damage"] = "red", + }, }, }, + ["got_first_run"] = true, + ["deathlog_healingdone_min"] = 1, + ["tutorial"] = { + ["unlock_button"] = 0, + ["main_help_button"] = 4, + ["logons"] = 4, + ["version_announce"] = 0, + ["bookmark_tutorial"] = false, + ["ctrl_click_close_tutorial"] = false, + ["alert_frames"] = { + false, -- [1] + false, -- [2] + false, -- [3] + false, -- [4] + false, -- [5] + false, -- [6] + }, + ["STREAMER_PLUGIN_FIRSTRUN"] = true, + }, + ["global_plugin_database"] = { + ["DETAILS_PLUGIN_ENCOUNTER_DETAILS"] = { + ["encounter_timers_bw"] = { + }, + ["encounter_timers_dbm"] = { + }, + }, + }, + ["savedStyles"] = { + }, + ["report_pos"] = { + 1, -- [1] + 1, -- [2] + }, + ["latest_report_table"] = { + }, + ["exp90temp"] = { + ["delete_damage_TCOB"] = true, + }, + ["always_use_profile"] = false, ["immersion_special_units"] = true, ["deathlog_healingdone_min_arena"] = 400, ["boss_mods_timers"] = { @@ -1741,18 +2088,10 @@ _detalhes_global = { ["encounter_timers_dbm"] = { }, }, - ["report_where"] = "SAY", + ["spell_category_latest_query"] = 0, ["spell_school_cache"] = { }, - ["deathlog_healingdone_min"] = 1, - ["run_code"] = { - ["on_specchanged"] = "\n-- run when the player changes its spec", - ["on_zonechanged"] = "\n-- when the player changes zone, this code will run", - ["on_init"] = "\n-- code to run when Details! initializes, put here code which only will run once\n-- this also will run then the profile is changed\n\n--size of the death log tooltip in the Deaths display (default 350)\nDetails.death_tooltip_width = 350;\n\n--when in arena or battleground, details! silently switch to activity time (goes back to the old setting on leaving, default true)\nDetails.force_activity_time_pvp = true;\n\n--speed of the bar animations (default 33)\nDetails.animation_speed = 33;\n\n--threshold to trigger slow or fast speed (default 0.45)\nDetails.animation_speed_mintravel = 0.45;\n\n--call to update animations\nDetails:RefreshAnimationFunctions();\n\n--max window size, does require a /reload to work (default 480 x 450)\nDetails.max_window_size.width = 480;\nDetails.max_window_size.height = 450;\n\n--use the arena team color as the class color (default true)\nDetails.color_by_arena_team = true;\n\n--use the role icon in the player bar when inside an arena (default false)\nDetails.show_arena_role_icon = false;\n\n--how much time the update warning is shown (default 10)\nDetails.update_warning_timeout = 10;", - ["on_groupchange"] = "\n-- this code runs when the player enter or leave a group", - ["on_leavecombat"] = "\n-- this code runs when the player leave combat", - ["on_entercombat"] = "\n-- this code runs when the player enters in combat", - }, + ["spell_category_latest_sent"] = 0, ["data_wipes_exp"] = { ["9"] = true, ["14"] = false, @@ -1761,208 +2100,8 @@ _detalhes_global = { ["11"] = false, ["10"] = false, }, - ["realm_sync"] = true, - ["damage_scroll_auto_open"] = true, - ["custom"] = { - { - ["source"] = false, - ["author"] = "Details!", - ["desc"] = "Show who in your raid used a potion during the encounter.", - ["tooltip"] = " --init:\n local player, combat, instance = ...\n \n --get the debuff container for potion of focus\n local debuff_uptime_container = player.debuff_uptime and player.debuff_uptime_spells and player.debuff_uptime_spells._ActorTable\n if (debuff_uptime_container) then\n local focus_potion = debuff_uptime_container [DETAILS_FOCUS_POTION_ID]\n if (focus_potion) then\n local name, _, icon = GetSpellInfo (DETAILS_FOCUS_POTION_ID)\n GameCooltip:AddLine (name, 1) --> can use only 1 focus potion (can't be pre-potion)\n _detalhes:AddTooltipBackgroundStatusbar()\n GameCooltip:AddIcon (icon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n end\n \n --get the misc actor container\n local buff_uptime_container = player.buff_uptime and player.buff_uptime_spells and player.buff_uptime_spells._ActorTable\n if (buff_uptime_container) then\n for spellId, _ in pairs (DetailsFramework.PotionIDs) do\n local potionUsed = buff_uptime_container [spellId]\n \n if (potionUsed) then\n local name, _, icon = GetSpellInfo (spellId)\n GameCooltip:AddLine (name, potionUsed.activedamt)\n _detalhes:AddTooltipBackgroundStatusbar()\n GameCooltip:AddIcon (icon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n end\n end\n ", - ["script"] = " --init:\n local combat, instance_container, instance = ...\n local total, top, amount = 0, 0, 0\n \n --get the misc actor container\n local misc_container = combat:GetActorList ( DETAILS_ATTRIBUTE_MISC )\n \n --do the loop:\n for _, player in ipairs ( misc_container ) do \n \n --only player in group\n if (player:IsGroupPlayer()) then\n \n local found_potion = false\n \n --get the spell debuff uptime container\n local debuff_uptime_container = player.debuff_uptime and player.debuff_uptime_spells and player.debuff_uptime_spells._ActorTable\n if (debuff_uptime_container) then\n --potion of focus (can't use as pre-potion, so, its amount is always 1\n local focus_potion = debuff_uptime_container [DETAILS_FOCUS_POTION_ID]\n \n if (focus_potion) then\n total = total + 1\n found_potion = true\n if (top < 1) then\n top = 1\n end\n --add amount to the player \n instance_container:AddValue (player, 1)\n end\n end\n \n --get the spell buff uptime container\n local buff_uptime_container = player.buff_uptime and player.buff_uptime_spells and player.buff_uptime_spells._ActorTable\n if (buff_uptime_container) then\n for spellId, _ in pairs (DetailsFramework.PotionIDs) do\n local potionUsed = buff_uptime_container [spellId]\n \n if (potionUsed) then\n local used = potionUsed.activedamt\n if (used and used > 0) then\n total = total + used\n found_potion = true\n if (used > top) then\n top = used\n end\n \n --add amount to the player \n instance_container:AddValue (player, used)\n end\n end\n end\n end\n \n if (found_potion) then\n amount = amount + 1\n end \n end\n end\n \n --return:\n return total, top, amount\n ", - ["name"] = "Potion Used", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\ICONS\\INV_Potion_03", - ["script_version"] = 6, - }, -- [1] - { - ["source"] = false, - ["attribute"] = false, - ["author"] = "Details! Team", - ["percent_script"] = false, - ["desc"] = "Show who in your raid group used the healthstone or a heal potion.", - ["total_script"] = false, - ["tooltip"] = " --get the parameters passed\n local actor, combat, instance = ...\n \n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GameCooltip = GameCooltip\n local R, G, B, A = 0, 0, 0, 0.75\n \n local hs = actor:GetSpell (6262)\n if (hs) then\n GameCooltip:AddLine (select (1, GetSpellInfo(6262)), _detalhes:ToK(hs.total))\n GameCooltip:AddIcon (select (3, GetSpellInfo (6262)), 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n GameCooltip:AddStatusBar (100, 1, R, G, B, A)\n end\n \n local pot = actor:GetSpell (DETAILS_HEALTH_POTION_ID)\n if (pot) then\n GameCooltip:AddLine (select (1, GetSpellInfo(DETAILS_HEALTH_POTION_ID)), _detalhes:ToK(pot.total))\n GameCooltip:AddIcon (select (3, GetSpellInfo (DETAILS_HEALTH_POTION_ID)), 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n GameCooltip:AddStatusBar (100, 1, R, G, B, A)\n end\n \n local pot = actor:GetSpell (DETAILS_REJU_POTION_ID)\n if (pot) then\n GameCooltip:AddLine (select (1, GetSpellInfo(DETAILS_REJU_POTION_ID)), _detalhes:ToK(pot.total))\n GameCooltip:AddIcon (select (3, GetSpellInfo (DETAILS_REJU_POTION_ID)), 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n GameCooltip:AddStatusBar (100, 1, R, G, B, A)\n end\n\n --Cooltip code\n ", - ["name"] = "Health Potion & Stone", - ["script"] = " --get the parameters passed\n local combat, instance_container, instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n \n --do the loop\n local AllHealCharacters = combat:GetActorList (DETAILS_ATTRIBUTE_HEAL)\n for index, character in ipairs (AllHealCharacters) do\n local AllSpells = character:GetSpellList()\n local found = false\n for spellid, spell in pairs (AllSpells) do\n if (DETAILS_HEALTH_POTION_LIST [spellid]) then\n instance_container:AddValue (character, spell.total)\n total = total + spell.total\n if (top < spell.total) then\n top = spell.total\n end\n found = true\n end\n end\n \n if (found) then\n amount = amount + 1\n end\n end\n --loop end\n --return the values\n return total, top, amount\n ", - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\ICONS\\INV_Stone_04", - ["script_version"] = 15, - }, -- [2] - { - ["source"] = false, - ["tooltip"] = " \n ", - ["author"] = "Details!", - ["percent_script"] = " local value, top, total, combat, instance = ...\n return string.format (\"%.1f\", value/top*100)\n ", - ["desc"] = "Tells how much time each character spent doing damage.", - ["script"] = " --init:\n local combat, instance_container, instance = ...\n local total, amount = 0, 0\n\n --get the misc actor container\n local damage_container = combat:GetActorList ( DETAILS_ATTRIBUTE_DAMAGE )\n \n --do the loop:\n for _, player in ipairs ( damage_container ) do \n if (player.grupo) then\n local activity = player:Tempo()\n total = total + activity\n amount = amount + 1\n --add amount to the player \n instance_container:AddValue (player, activity)\n end\n end\n \n --return:\n return total, combat:GetCombatTime(), amount\n ", - ["total_script"] = " local value, top, total, combat, instance = ...\n local minutos, segundos = math.floor (value/60), math.floor (value%60)\n return minutos .. \"m \" .. segundos .. \"s\"\n ", - ["name"] = "Damage Activity Time", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\Buttons\\UI-MicroStream-Red", - ["script_version"] = 3, - }, -- [3] - { - ["source"] = false, - ["tooltip"] = " \n ", - ["author"] = "Details!", - ["percent_script"] = " local value, top, total, combat, instance = ...\n return string.format (\"%.1f\", value/top*100)\n ", - ["desc"] = "Tells how much time each character spent doing healing.", - ["script"] = " --init:\n local combat, instance_container, instance = ...\n local total, top, amount = 0, 0, 0\n\n --get the misc actor container\n local damage_container = combat:GetActorList ( DETAILS_ATTRIBUTE_HEAL )\n \n --do the loop:\n for _, player in ipairs ( damage_container ) do \n if (player.grupo) then\n local activity = player:Tempo()\n total = total + activity\n amount = amount + 1\n --add amount to the player \n instance_container:AddValue (player, activity)\n end\n end\n \n --return:\n return total, combat:GetCombatTime(), amount\n ", - ["total_script"] = " local value, top, total, combat, instance = ...\n local minutos, segundos = math.floor (value/60), math.floor (value%60)\n return minutos .. \"m \" .. segundos .. \"s\"\n ", - ["name"] = "Healing Activity Time", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\Buttons\\UI-MicroStream-Green", - ["script_version"] = 2, - }, -- [4] - { - ["source"] = false, - ["author"] = "Details!", - ["total_script"] = " local value, top, total, combat, instance = ...\n return floor (value)\n ", - ["desc"] = "Show the crowd control amount for each player.", - ["tooltip"] = " local actor, combat, instance = ...\n local spells = {}\n for spellid, spell in pairs (actor.cc_done_spells._ActorTable) do\n tinsert (spells, {spellid, spell.counter})\n end\n\n table.sort (spells, _detalhes.Sort2)\n\n for index, spell in ipairs (spells) do\n local name, _, icon = GetSpellInfo (spell [1])\n GameCooltip:AddLine (name, spell [2])\n _detalhes:AddTooltipBackgroundStatusbar()\n GameCooltip:AddIcon (icon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n\n local targets = {}\n for playername, amount in pairs (actor.cc_done_targets) do\n tinsert (targets, {playername, amount})\n end\n\n table.sort (targets, _detalhes.Sort2)\n\n _detalhes:AddTooltipSpellHeaderText (\"Targets\", \"yellow\", #targets)\n local class, _, _, _, _, r, g, b = _detalhes:GetClass (actor.nome)\n _detalhes:AddTooltipHeaderStatusbar (1, 1, 1, 0.6)\n\n for index, target in ipairs (targets) do\n GameCooltip:AddLine (target[1], target [2])\n _detalhes:AddTooltipBackgroundStatusbar()\n \n local class, _, _, _, _, r, g, b = _detalhes:GetClass (target [1])\n if (class and class ~= \"UNKNOW\") then\n local texture, l, r, t, b = _detalhes:GetClassIcon (class)\n GameCooltip:AddIcon (\"Interface\\\\AddOns\\\\Details\\\\images\\\\classes_small_alpha\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height, l, r, t, b)\n else\n GameCooltip:AddIcon (\"Interface\\\\GossipFrame\\\\IncompleteQuestIcon\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end\n --\n end\n ", - ["script"] = " local combat, instance_container, instance = ...\n local total, top, amount = 0, 0, 0\n\n local misc_actors = combat:GetActorList (DETAILS_ATTRIBUTE_MISC)\n\n for index, character in ipairs (misc_actors) do\n if (character.cc_done and character:IsPlayer()) then\n local cc_done = floor (character.cc_done)\n instance_container:AddValue (character, cc_done)\n total = total + cc_done\n if (cc_done > top) then\n top = cc_done\n end\n amount = amount + 1\n end\n end\n\n return total, top, amount\n ", - ["name"] = "Crowd Control Done", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\ICONS\\Spell_Frost_FreezingBreath", - ["script_version"] = 11, - }, -- [5] - { - ["source"] = false, - ["author"] = "Details!", - ["total_script"] = " local value, top, total, combat, instance = ...\n return floor (value)\n ", - ["desc"] = "Show the amount of crowd control received for each player.", - ["tooltip"] = " local actor, combat, instance = ...\n local name = actor:name()\n local spells, from = {}, {}\n local misc_actors = combat:GetActorList (DETAILS_ATTRIBUTE_MISC)\n\n for index, character in ipairs (misc_actors) do\n if (character.cc_done and character:IsPlayer()) then\n local on_actor = character.cc_done_targets [name]\n if (on_actor) then\n tinsert (from, {character:name(), on_actor})\n \n for spellid, spell in pairs (character.cc_done_spells._ActorTable) do\n \n local spell_on_actor = spell.targets [name]\n if (spell_on_actor) then\n local has_spell\n for index, spell_table in ipairs (spells) do\n if (spell_table [1] == spellid) then\n spell_table [2] = spell_table [2] + spell_on_actor\n has_spell = true\n end\n end\n if (not has_spell) then\n tinsert (spells, {spellid, spell_on_actor}) \n end\n end\n \n end \n end\n end\n end\n\n table.sort (from, _detalhes.Sort2)\n table.sort (spells, _detalhes.Sort2)\n\n for index, spell in ipairs (spells) do\n local name, _, icon = GetSpellInfo (spell [1])\n GameCooltip:AddLine (name, spell [2])\n _detalhes:AddTooltipBackgroundStatusbar()\n GameCooltip:AddIcon (icon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height) \n end\n\n _detalhes:AddTooltipSpellHeaderText (\"From\", \"yellow\", #from)\n _detalhes:AddTooltipHeaderStatusbar (1, 1, 1, 0.6)\n\n for index, t in ipairs (from) do\n GameCooltip:AddLine (t[1], t[2])\n _detalhes:AddTooltipBackgroundStatusbar()\n \n local class, _, _, _, _, r, g, b = _detalhes:GetClass (t [1])\n if (class and class ~= \"UNKNOW\") then\n local texture, l, r, t, b = _detalhes:GetClassIcon (class)\n GameCooltip:AddIcon (\"Interface\\\\AddOns\\\\Details\\\\images\\\\classes_small_alpha\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height, l, r, t, b)\n else\n GameCooltip:AddIcon (\"Interface\\\\GossipFrame\\\\IncompleteQuestIcon\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n end \n \n end\n ", - ["script"] = " local combat, instance_container, instance = ...\n local total, top, amt = 0, 0, 0\n\n local misc_actors = combat:GetActorList (DETAILS_ATTRIBUTE_MISC)\n DETAILS_CUSTOM_CC_RECEIVED_CACHE = DETAILS_CUSTOM_CC_RECEIVED_CACHE or {}\n wipe (DETAILS_CUSTOM_CC_RECEIVED_CACHE)\n\n for index, character in ipairs (misc_actors) do\n if (character.cc_done and character:IsPlayer()) then\n \n for player_name, amount in pairs (character.cc_done_targets) do\n local target = combat (1, player_name) or combat (2, player_name)\n if (target and target:IsPlayer()) then\n instance_container:AddValue (target, amount)\n total = total + amount\n if (amount > top) then\n top = amount\n end\n if (not DETAILS_CUSTOM_CC_RECEIVED_CACHE [player_name]) then\n DETAILS_CUSTOM_CC_RECEIVED_CACHE [player_name] = true\n amt = amt + 1\n end\n end\n end\n \n end\n end\n\n return total, top, amt\n ", - ["name"] = "Crowd Control Received", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\ICONS\\Spell_Frost_ChainsOfIce", - ["script_version"] = 3, - }, -- [6] - { - ["source"] = false, - ["author"] = "Details!", - ["percent_script"] = " local value, top, total, combat, instance = ...\n local dps = _detalhes:ToK (floor (value) / combat:GetCombatTime())\n local percent = string.format (\"%.1f\", value/total*100)\n return dps .. \", \" .. percent\n ", - ["desc"] = "Show your spells in the window.", - ["tooltip"] = " --config:\n --Background RBG and Alpha:\n local R, G, B, A = 0, 0, 0, 0.75\n local R, G, B, A = 0.1960, 0.1960, 0.1960, 0.8697\n\n --get the parameters passed\n local spell, combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GC = GameCooltip\n GC:SetOption (\"YSpacingMod\", 0)\n\n local role = DetailsFramework.UnitGroupRolesAssigned (\"player\")\n\n if (spell.n_dmg) then\n \n local spellschool, schooltext = spell.spellschool, \"\"\n if (spellschool) then\n local t = _detalhes.spells_school [spellschool]\n if (t and t.name) then\n schooltext = t.formated\n end\n end\n \n local total_hits = spell.counter\n local combat_time = instance.showing:GetCombatTime()\n \n local debuff_uptime_total, cast_string = \"\", \"\"\n local misc_actor = instance.showing (4, _detalhes.playername)\n if (misc_actor) then\n local debuff_uptime = misc_actor.debuff_uptime_spells and misc_actor.debuff_uptime_spells._ActorTable [spell.id] and misc_actor.debuff_uptime_spells._ActorTable [spell.id].uptime\n if (debuff_uptime) then\n debuff_uptime_total = floor (debuff_uptime / instance.showing:GetCombatTime() * 100)\n end\n \n local spell_cast = misc_actor.spell_cast and misc_actor.spell_cast [spell.id]\n \n if (not spell_cast and misc_actor.spell_cast) then\n local spellname = GetSpellInfo (spell.id)\n for casted_spellid, amount in pairs (misc_actor.spell_cast) do\n local casted_spellname = GetSpellInfo (casted_spellid)\n if (casted_spellname == spellname) then\n spell_cast = amount .. \" (|cFFFFFF00?|r)\"\n end\n end\n end\n if (not spell_cast) then\n spell_cast = \"(|cFFFFFF00?|r)\"\n end\n cast_string = cast_string .. spell_cast\n end\n \n --Cooltip code\n GC:AddLine (\"Casts:\", cast_string or \"?\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n if (debuff_uptime_total ~= \"\") then\n GC:AddLine (\"Uptime:\", (debuff_uptime_total or \"?\") .. \"%\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n end\n \n GC:AddLine (\"Hits:\", spell.counter)\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n local average = spell.total / total_hits\n GC:AddLine (\"Average:\", _detalhes:ToK (average))\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n GC:AddLine (\"E-Dps:\", _detalhes:ToK (spell.total / combat_time))\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n GC:AddLine (\"School:\", schooltext)\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n --GC:AddLine (\" \")\n \n GC:AddLine (\"Normal Hits: \", spell.n_amt .. \" (\" ..floor ( spell.n_amt/total_hits*100) .. \"%)\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n local n_average = spell.n_dmg / spell.n_amt\n local T = (combat_time*spell.n_dmg)/spell.total\n local P = average/n_average*100\n T = P*T/100\n \n GC:AddLine (\"Average / E-Dps: \", _detalhes:ToK (n_average) .. \" / \" .. format (\"%.1f\",spell.n_dmg / T ))\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n --GC:AddLine (\" \")\n \n GC:AddLine (\"Critical Hits: \", spell.c_amt .. \" (\" ..floor ( spell.c_amt/total_hits*100) .. \"%)\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n if (spell.c_amt > 0) then\n local c_average = spell.c_dmg/spell.c_amt\n local T = (combat_time*spell.c_dmg)/spell.total\n local P = average/c_average*100\n T = P*T/100\n local crit_dps = spell.c_dmg / T\n \n GC:AddLine (\"Average / E-Dps: \", _detalhes:ToK (c_average) .. \" / \" .. _detalhes:comma_value (crit_dps))\n else\n GC:AddLine (\"Average / E-Dps: \", \"0 / 0\") \n end\n \n GC:AddStatusBar (100, 1, R, G, B, A)\n\n \n elseif (spell.n_curado) then\n \n local spellschool, schooltext = spell.spellschool, \"\"\n if (spellschool) then\n local t = _detalhes.spells_school [spellschool]\n if (t and t.name) then\n schooltext = t.formated\n end\n end\n \n local total_hits = spell.counter\n local combat_time = instance.showing:GetCombatTime()\n \n --Cooltip code\n GC:AddLine (\"Hits:\", spell.counter)\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n local average = spell.total / total_hits\n GC:AddLine (\"Average:\", _detalhes:ToK (average))\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n GC:AddLine (\"E-Hps:\", _detalhes:ToK (spell.total / combat_time))\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n GC:AddLine (\"School:\", schooltext)\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n --GC:AddLine (\" \")\n \n GC:AddLine (\"Normal Hits: \", spell.n_amt .. \" (\" ..floor ( spell.n_amt/total_hits*100) .. \"%)\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n local n_average = spell.n_curado / spell.n_amt\n local T = (combat_time*spell.n_curado)/spell.total\n local P = average/n_average*100\n T = P*T/100\n \n GC:AddLine (\"Average / E-Dps: \", _detalhes:ToK (n_average) .. \" / \" .. format (\"%.1f\",spell.n_curado / T ))\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n --GC:AddLine (\" \")\n \n GC:AddLine (\"Critical Hits: \", spell.c_amt .. \" (\" ..floor ( spell.c_amt/total_hits*100) .. \"%)\")\n GC:AddStatusBar (100, 1, R, G, B, A)\n \n if (spell.c_amt > 0) then\n local c_average = spell.c_curado/spell.c_amt\n local T = (combat_time*spell.c_curado)/spell.total\n local P = average/c_average*100\n T = P*T/100\n local crit_dps = spell.c_curado / T\n \n GC:AddLine (\"Average / E-Hps: \", _detalhes:ToK (c_average) .. \" / \" .. _detalhes:comma_value (crit_dps))\n else\n GC:AddLine (\"Average / E-Hps: \", \"0 / 0\") \n end\n \n GC:AddStatusBar (100, 1, R, G, B, A)\n end\n ", - ["script"] = " --get the parameters passed\n local combat, instance_container, instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n\n local player\n local pet_attribute\n \n local role = DetailsFramework.UnitGroupRolesAssigned (\"player\")\n local spec = DetailsFramework.GetSpecialization()\n role = spec and DetailsFramework.GetSpecializationRole (spec) or role\n\n if (role == \"DAMAGER\") then\n player = combat (DETAILS_ATTRIBUTE_DAMAGE, _detalhes.playername)\n pet_attribute = DETAILS_ATTRIBUTE_DAMAGE\n elseif (role == \"HEALER\") then \n player = combat (DETAILS_ATTRIBUTE_HEAL, _detalhes.playername)\n pet_attribute = DETAILS_ATTRIBUTE_HEAL\n else\n player = combat (DETAILS_ATTRIBUTE_DAMAGE, _detalhes.playername)\n pet_attribute = DETAILS_ATTRIBUTE_DAMAGE\n end\n\n --do the loop\n\n if (player) then\n local spells = player:GetSpellList()\n for spellid, spell in pairs (spells) do\n instance_container:AddValue (spell, spell.total)\n total = total + spell.total\n if (top < spell.total) then\n top = spell.total\n end\n amount = amount + 1\n end\n \n for _, PetName in ipairs (player.pets) do\n local pet = combat (pet_attribute, PetName)\n if (pet) then\n for spellid, spell in pairs (pet:GetSpellList()) do\n instance_container:AddValue (spell, spell.total, nil, \" (\" .. PetName:gsub ((\" <.*\"), \"\") .. \")\")\n total = total + spell.total\n if (top < spell.total) then\n top = spell.total\n end\n amount = amount + 1\n end\n end\n end\n end\n\n --return the values\n return total, top, amount\n ", - ["name"] = "My Spells", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\CHATFRAME\\UI-ChatIcon-Battlenet", - ["script_version"] = 8, - }, -- [7] - { - ["source"] = false, - ["author"] = "Details!", - ["desc"] = "Show the amount of damage applied on targets marked with skull.", - ["tooltip"] = " --get the parameters passed\n local actor, combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GameCooltip = GameCooltip\n\n --Cooltip code\n local format_func = Details:GetCurrentToKFunction()\n\n --Cooltip code\n local RaidTargets = actor.raid_targets\n\n local DamageOnStar = RaidTargets [128]\n if (DamageOnStar) then\n --RAID_TARGET_8 is the built-in localized word for 'Skull'.\n GameCooltip:AddLine (RAID_TARGET_8 .. \":\", format_func (_, DamageOnStar))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_8\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n ", - ["script"] = " --get the parameters passed\n local Combat, CustomContainer, Instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n \n --raid target flags: \n -- 128: skull \n -- 64: cross\n -- 32: square\n -- 16: moon\n -- 8: triangle\n -- 4: diamond\n -- 2: circle\n -- 1: star\n \n --do the loop\n for _, actor in ipairs (Combat:GetActorList (DETAILS_ATTRIBUTE_DAMAGE)) do\n if (actor:IsPlayer()) then\n if (actor.raid_targets [128]) then\n CustomContainer:AddValue (actor, actor.raid_targets [128])\n end \n end\n end\n\n --if not managed inside the loop, get the values of total, top and amount\n total, top = CustomContainer:GetTotalAndHighestValue()\n amount = CustomContainer:GetNumActors()\n\n --return the values\n return total, top, amount\n ", - ["name"] = "Damage On Skull Marked Targets", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\TARGETINGFRAME\\UI-RaidTargetingIcon_8", - ["script_version"] = 3, - }, -- [8] - { - ["source"] = false, - ["author"] = "Details!", - ["desc"] = "Show the amount of damage applied on targets marked with any other mark.", - ["tooltip"] = " --get the parameters passed\n local actor, combat, instance = ...\n\n --get the cooltip object\n local GameCooltip = GameCooltip\n\n local format_func = Details:GetCurrentToKFunction()\n\n --Cooltip code\n local RaidTargets = actor.raid_targets\n\n local DamageOnStar = RaidTargets [1]\n if (DamageOnStar) then\n GameCooltip:AddLine (RAID_TARGET_1 .. \":\", format_func (_, DamageOnStar))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_1\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnCircle = RaidTargets [2]\n if (DamageOnCircle) then\n GameCooltip:AddLine (RAID_TARGET_2 .. \":\", format_func (_, DamageOnCircle))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_2\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnDiamond = RaidTargets [4]\n if (DamageOnDiamond) then\n GameCooltip:AddLine (RAID_TARGET_3 .. \":\", format_func (_, DamageOnDiamond))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_3\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnTriangle = RaidTargets [8]\n if (DamageOnTriangle) then\n GameCooltip:AddLine (RAID_TARGET_4 .. \":\", format_func (_, DamageOnTriangle))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_4\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnMoon = RaidTargets [16]\n if (DamageOnMoon) then\n GameCooltip:AddLine (RAID_TARGET_5 .. \":\", format_func (_, DamageOnMoon))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_5\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnSquare = RaidTargets [32]\n if (DamageOnSquare) then\n GameCooltip:AddLine (RAID_TARGET_6 .. \":\", format_func (_, DamageOnSquare))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_6\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n\n local DamageOnCross = RaidTargets [64]\n if (DamageOnCross) then\n GameCooltip:AddLine (RAID_TARGET_7 .. \":\", format_func (_, DamageOnCross))\n GameCooltip:AddIcon (\"Interface\\\\TARGETINGFRAME\\\\UI-RaidTargetingIcon_7\", 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height)\n Details:AddTooltipBackgroundStatusbar()\n end\n ", - ["script"] = " --get the parameters passed\n local Combat, CustomContainer, Instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n\n --do the loop\n for _, actor in ipairs (Combat:GetActorList (DETAILS_ATTRIBUTE_DAMAGE)) do\n if (actor:IsPlayer()) then\n local total = (actor.raid_targets [1] or 0) --star\n total = total + (actor.raid_targets [2] or 0) --circle\n total = total + (actor.raid_targets [4] or 0) --diamond\n total = total + (actor.raid_targets [8] or 0) --tiangle\n total = total + (actor.raid_targets [16] or 0) --moon\n total = total + (actor.raid_targets [32] or 0) --square\n total = total + (actor.raid_targets [64] or 0) --cross\n \n if (total > 0) then\n CustomContainer:AddValue (actor, total)\n end\n end\n end\n\n --if not managed inside the loop, get the values of total, top and amount\n total, top = CustomContainer:GetTotalAndHighestValue()\n amount = CustomContainer:GetNumActors()\n\n --return the values\n return total, top, amount\n ", - ["name"] = "Damage On Other Marked Targets", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\TARGETINGFRAME\\UI-RaidTargetingIcon_5", - ["script_version"] = 3, - }, -- [9] - { - ["source"] = false, - ["total_script"] = " local value, top, total, combat, instance = ...\n return value\n ", - ["author"] = "Details!", - ["percent_script"] = " local value, top, total, combat, instance = ...\n\n --get the time of overall combat\n local OverallCombatTime = Details:GetCombat (-1):GetCombatTime()\n \n --get the time of current combat if the player is in combat\n if (Details.in_combat) then\n local CurrentCombatTime = Details:GetCombat (0):GetCombatTime()\n OverallCombatTime = OverallCombatTime + CurrentCombatTime\n end\n \n --calculate the DPS and return it as percent\n local totalValue = value\n \n --build the string\n local ToK = Details:GetCurrentToKFunction()\n local s = ToK (_, value / OverallCombatTime)\n \n return s\n ", - ["desc"] = "Show overall damage done on the fly.", - ["tooltip"] = " --get the parameters passed\n local actor, combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GameCooltip = GameCooltip2\n\n --Cooltip code\n --get the overall combat\n local OverallCombat = Details:GetCombat (-1)\n --get the current combat\n local CurrentCombat = Details:GetCombat (0)\n\n local AllSpells = {}\n\n local playerTotal = 0\n\n --overall\n local player = OverallCombat [1]:GetActor (actor.nome)\n playerTotal = playerTotal + player.total\n local playerSpells = player:GetSpellList()\n for spellID, spellTable in pairs (playerSpells) do\n AllSpells [spellID] = spellTable.total\n end\n\n --current\n if (Details.in_combat) then\n local player = CurrentCombat [1]:GetActor (actor.nome)\n if (player) then\n playerTotal = playerTotal + player.total\n local playerSpells = player:GetSpellList()\n for spellID, spellTable in pairs (playerSpells) do\n AllSpells [spellID] = (AllSpells [spellID] or 0) + (spellTable.total or 0)\n end\n end\n end\n\n local sortedList = {}\n for spellID, total in pairs (AllSpells) do\n tinsert (sortedList, {spellID, total})\n end\n table.sort (sortedList, Details.Sort2)\n\n local format_func = Details:GetCurrentToKFunction()\n\n --build the tooltip\n\n local topSpellTotal = sortedList and sortedList[1] and sortedList[1][2] or 0\n\n for i, t in ipairs (sortedList) do\n local spellID, total = unpack (t)\n if (total > 1) then\n local spellName, _, spellIcon = Details.GetSpellInfo (spellID)\n \n local spellPercent = total / playerTotal * 100\n local formatedSpellPercent = format(\"%.1f\", spellPercent)\n \n if (string.len(formatedSpellPercent) < 4) then\n formatedSpellPercent = formatedSpellPercent .. \"0\"\n end\n \n GameCooltip:AddLine (spellName, format_func (_, total) .. \" \" .. formatedSpellPercent .. \"%\")\n \n Details:AddTooltipBackgroundStatusbar(false, total / topSpellTotal * 100)\n GameCooltip:AddIcon (spellIcon, 1, 1, _detalhes.tooltip.line_height, _detalhes.tooltip.line_height, 0.078125, 0.921875, 0.078125, 0.921875)\n \n end\n end\n ", - ["script"] = " --init:\n local combat, instance_container, instance = ...\n local total, top, amount = 0, 0, 0\n \n --get the overall combat\n local OverallCombat = Details:GetCombat (-1)\n --get the current combat\n local CurrentCombat = Details:GetCombat (0)\n \n if (not OverallCombat.GetActorList or not CurrentCombat.GetActorList) then\n return 0, 0, 0\n end\n \n --get the damage actor container for overall\n local damage_container_overall = OverallCombat:GetActorList ( DETAILS_ATTRIBUTE_DAMAGE )\n --get the damage actor container for current\n local damage_container_current = CurrentCombat:GetActorList ( DETAILS_ATTRIBUTE_DAMAGE )\n \n --do the loop:\n for _, player in ipairs ( damage_container_overall ) do \n --only player in group\n if (player:IsGroupPlayer()) then\n instance_container:AddValue (player, player.total)\n end\n end\n \n if (Details.in_combat) then\n for _, player in ipairs ( damage_container_current ) do \n --only player in group\n if (player:IsGroupPlayer()) then\n instance_container:AddValue (player, player.total) \n end\n end\n end\n \n total, top = instance_container:GetTotalAndHighestValue()\n amount = instance_container:GetNumActors()\n \n --return:\n return total, top, amount\n ", - ["name"] = "Dynamic Overall Damage", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\Buttons\\Spell-Reset", - ["script_version"] = 7, - }, -- [10] - { - ["source"] = false, - ["author"] = "Details!", - ["desc"] = "Damage done to shields", - ["tooltip"] = " --get the parameters passed\n local actor, Combat, instance = ...\n\n --get the cooltip object (we dont use the convencional GameTooltip here)\n local GameCooltip = GameCooltip\n\n --Cooltip code\n --get the actor total damage absorbed\n local totalAbsorb = actor.totalabsorbed\n local format_func = Details:GetCurrentToKFunction()\n\n --get the damage absorbed by all the actor pets\n for petIndex, petName in ipairs (actor.pets) do\n local pet = Combat :GetActor (1, petName)\n if (pet) then\n totalAbsorb = totalAbsorb + pet.totalabsorbed\n end\n end\n\n GameCooltip:AddLine (actor:Name(), format_func (_, actor.totalabsorbed))\n Details:AddTooltipBackgroundStatusbar()\n\n for petIndex, petName in ipairs (actor.pets) do\n local pet = Combat :GetActor (1, petName)\n if (pet) then\n totalAbsorb = totalAbsorb + pet.totalabsorbed\n \n GameCooltip:AddLine (petName, format_func (_, pet.totalabsorbed))\n Details:AddTooltipBackgroundStatusbar() \n \n end\n end\n ", - ["script"] = " --get the parameters passed\n local Combat, CustomContainer, Instance = ...\n --declade the values to return\n local total, top, amount = 0, 0, 0\n\n --do the loop\n for index, actor in ipairs (Combat:GetActorList(1)) do\n if (actor:IsPlayer()) then\n \n --get the actor total damage absorbed\n local totalAbsorb = actor.totalabsorbed\n \n --get the damage absorbed by all the actor pets\n for petIndex, petName in ipairs (actor.pets) do\n local pet = Combat :GetActor (1, petName)\n if (pet) then\n totalAbsorb = totalAbsorb + pet.totalabsorbed\n end\n end\n \n --add the value to the actor on the custom container\n CustomContainer:AddValue (actor, totalAbsorb) \n \n end\n end\n --loop end\n\n --if not managed inside the loop, get the values of total, top and amount\n total, top = CustomContainer:GetTotalAndHighestValue()\n amount = CustomContainer:GetNumActors()\n\n --return the values\n return total, top, amount\n ", - ["name"] = "Damage on Shields", - ["attribute"] = false, - ["target"] = false, - ["spellid"] = false, - ["icon"] = "Interface\\ICONS\\Spell_Holy_PowerWordShield", - ["script_version"] = 1, - }, -- [11] - }, - ["latest_news_saw"] = "9.1.08782", - ["plater"] = { - ["realtime_dps_enabled"] = false, - ["realtime_dps_size"] = 12, - ["realtime_dps_player_shadow"] = true, - ["damage_taken_enabled"] = false, - ["realtime_dps_player_size"] = 12, - ["damage_taken_size"] = 12, - ["realtime_dps_color"] = { - 1, -- [1] - 1, -- [2] - 0, -- [3] - 1, -- [4] - }, - ["realtime_dps_anchor"] = { - ["y"] = 0, - ["x"] = 0, - ["side"] = 7, - }, - ["damage_taken_shadow"] = true, - ["damage_taken_anchor"] = { - ["y"] = 0, - ["x"] = 0, - ["side"] = 7, - }, - ["damage_taken_color"] = { - 1, -- [1] - 1, -- [2] - 0, -- [3] - 1, -- [4] - }, - ["realtime_dps_player_color"] = { - 1, -- [1] - 1, -- [2] - 0, -- [3] - 1, -- [4] - }, - ["realtime_dps_player_anchor"] = { - ["y"] = 0, - ["x"] = 0, - ["side"] = 7, - }, - ["realtime_dps_player_enabled"] = false, - ["realtime_dps_shadow"] = true, + ["class_time_played"] = { + ["DEATHKNIGHT"] = 345.3789999999999, }, ["mythic_plus"] = { ["make_overall_boss_only"] = false, @@ -1982,46 +2121,58 @@ _detalhes_global = { ["last_mythicrun_chart"] = { }, }, - ["global_plugin_database"] = { - ["DETAILS_PLUGIN_ENCOUNTER_DETAILS"] = { - ["encounter_timers_bw"] = { - }, - ["encounter_timers_dbm"] = { - }, + ["damage_scroll_auto_open"] = true, + ["exit_errors"] = { + }, + ["spellid_ignored"] = { + }, + ["spell_category_latest_save"] = 0, + ["run_code"] = { + ["on_groupchange"] = "\n-- this code runs when the player enter or leave a group", + ["on_zonechanged"] = "\n-- when the player changes zone, this code will run", + ["on_init"] = "\n-- code to run when Details! initializes, put here code which only will run once\n-- this also will run then the profile is changed\n\n--size of the death log tooltip in the Deaths display (default 350)\nDetails.death_tooltip_width = 350;\n\n--when in arena or battleground, details! silently switch to activity time (goes back to the old setting on leaving, default true)\nDetails.force_activity_time_pvp = true;\n\n--speed of the bar animations (default 33)\nDetails.animation_speed = 33;\n\n--threshold to trigger slow or fast speed (default 0.45)\nDetails.animation_speed_mintravel = 0.45;\n\n--call to update animations\nDetails:RefreshAnimationFunctions();\n\n--max window size, does require a /reload to work (default 480 x 450)\nDetails.max_window_size.width = 480;\nDetails.max_window_size.height = 450;\n\n--use the arena team color as the class color (default true)\nDetails.color_by_arena_team = true;\n\n--how much time the update warning is shown (default 10)\nDetails.update_warning_timeout = 10;", + ["on_specchanged"] = "\n-- run when the player changes its spec", + ["on_leavecombat"] = "\n-- this code runs when the player leave combat", + ["on_entercombat"] = "\n-- this code runs when the player enters in combat", + }, + ["switchSaved"] = { + ["slots"] = 4, + ["table"] = { + { + ["atributo"] = 1, + ["sub_atributo"] = 1, + }, -- [1] + { + ["atributo"] = 2, + ["sub_atributo"] = 1, + }, -- [2] + { + ["atributo"] = 1, + ["sub_atributo"] = 6, + }, -- [3] + { + ["atributo"] = 4, + ["sub_atributo"] = 5, + }, -- [4] }, }, ["current_exp_raid_encounters"] = { }, - ["tutorial"] = { - ["bookmark_tutorial"] = false, - ["main_help_button"] = 1, - ["WINDOW_GROUP_MAKING1"] = true, - ["alert_frames"] = { - false, -- [1] - false, -- [2] - false, -- [3] - false, -- [4] - false, -- [5] - false, -- [6] + ["keystone_frame"] = { + ["scale"] = 1, + ["position"] = { }, - ["logons"] = 1, - ["version_announce"] = 0, - ["WINDOW_LOCK_UNLOCK1"] = true, - ["ctrl_click_close_tutorial"] = false, - ["unlock_button"] = 2, - ["STREAMER_PLUGIN_FIRSTRUN"] = true, - }, - ["spellid_ignored"] = { }, + ["realm_sync"] = true, ["createauraframe"] = { }, ["item_level_pool"] = { }, ["savedCustomSpells"] = { { - 339538, -- [1] - "Templar's Verdict (Templar's Vindication)", -- [2] - 461860, -- [3] + 1, -- [1] + "Melee", -- [2] + "Interface\\ICONS\\INV_Sword_04", -- [3] }, -- [1] { 2, -- [1] @@ -2029,259 +2180,160 @@ _detalhes_global = { "Interface\\ICONS\\INV_Weapon_Bow_07", -- [3] }, -- [2] { - 3, -- [1] - "Environment (Falling)", -- [2] - "Interface\\ICONS\\Spell_Magic_FeatherFall", -- [3] + 4, -- [1] + "Environment (Drowning)", -- [2] + "Interface\\ICONS\\Ability_Suffocate", -- [3] }, -- [3] { - 55090, -- [1] - "Scourge Strike (Physical)", -- [2] - 237530, -- [3] + 8, -- [1] + "Environment (Slime)", -- [2] + "Interface\\ICONS\\Ability_Creature_Poison_02", -- [3] }, -- [4] { - 4, -- [1] - "Environment (Drowning)", -- [2] - "Interface\\ICONS\\Ability_Suffocate", -- [3] + 271115, -- [1] + "Ignition Mage's Fuse (Trinket)", -- [2] + 1119937, -- [3] }, -- [5] { - 5, -- [1] - "Environment (Fatigue)", -- [2] - "Interface\\ICONS\\Spell_Arcane_MindMastery", -- [3] + 278057, -- [1] + "Volatile Blood Explosion (Trinket)", -- [2] + 538040, -- [3] }, -- [6] { - 6, -- [1] - "Environment (Fire)", -- [2] - "Interface\\ICONS\\INV_SummerFest_FireSpirit", -- [3] + 279664, -- [1] + "Bloody Bile (Trinket)", -- [2] + 136007, -- [3] }, -- [7] { - 7, -- [1] - "Environment (Lava)", -- [2] - "Interface\\ICONS\\Ability_Rhyolith_Volcano", -- [3] + 277181, -- [1] + "Gladiator's Insignia (Trinket)", -- [2] + 134501, -- [3] }, -- [8] { - 8, -- [1] - "Environment (Slime)", -- [2] - "Interface\\ICONS\\Ability_Creature_Poison_02", -- [3] + 108271, -- [1] + "Astral Shift", -- [2] + "Interface\\Addons\\Details\\images\\icon_astral_shift", -- [3] }, -- [9] { - 59638, -- [1] - "Frostbolt (Mirror Image)", -- [2] - 135846, -- [3] + 5, -- [1] + "Environment (Fatigue)", -- [2] + "Interface\\ICONS\\Spell_Arcane_MindMastery", -- [3] }, -- [10] { - 49184, -- [1] - "Howling Blast (Main Target)", -- [2] - 135833, -- [3] + 277185, -- [1] + "Gladiator's Badge (Trinket)", -- [2] + 135884, -- [3] }, -- [11] { - 44461, -- [1] - "Living Bomb (explosion)", -- [2] - 236220, -- [3] + 277187, -- [1] + "Gladiator's Emblem (Trinket)", -- [2] + 132344, -- [3] }, -- [12] { - 278227, -- [1] - "Barkspines (Trinket)", -- [2] - 134439, -- [3] + 277179, -- [1] + "Gladiator's Medallion (Trinket)", -- [2] + 252267, -- [3] }, -- [13] { - 268998, -- [1] - "Kindled Soul (Trinket)", -- [2] - 651093, -- [3] + 271071, -- [1] + "Conch of Dark Whispers (Trinket)", -- [2] + 1498840, -- [3] }, -- [14] { - 196917, -- [1] - "Light of the Martyr (Damage)", -- [2] - 1360762, -- [3] + 278812, -- [1] + "Lion's Grace (Trinket)", -- [2] + 464140, -- [3] }, -- [15] { - 120761, -- [1] - "Glaive Toss (Glaive #2)", -- [2] - 132330, -- [3] + 278155, -- [1] + "Lingering Power of Xalzaix (Trinket)", -- [2] + 254105, -- [3] }, -- [16] { - 278812, -- [1] - "Lion's Grace (Trinket)", -- [2] - 464140, -- [3] + 3, -- [1] + "Environment (Falling)", -- [2] + "Interface\\ICONS\\Spell_Magic_FeatherFall", -- [3] }, -- [17] { - 270827, -- [1] - "Webweaver's Soul Gem (Trinket)", -- [2] - 237431, -- [3] + 6, -- [1] + "Environment (Fire)", -- [2] + "Interface\\ICONS\\INV_SummerFest_FireSpirit", -- [3] }, -- [18] { - 212739, -- [1] - "Epidemic (Main Target)", -- [2] - 136066, -- [3] + 270925, -- [1] + "Waterspout (Trinket)", -- [2] + 1698701, -- [3] }, -- [19] { - 279664, -- [1] - "Bloody Bile (Trinket)", -- [2] - 136007, -- [3] + 268998, -- [1] + "Kindled Soul (Trinket)", -- [2] + 651093, -- [3] }, -- [20] { - 237680, -- [1] - "Howling Blast (AoE)", -- [2] - 135833, -- [3] + 271465, -- [1] + "Rotcrusted Voodoo Doll (Trinket)", -- [2] + 1716867, -- [3] }, -- [21] - { - 215969, -- [1] - "Epidemic (AoE)", -- [2] - 136066, -- [3] - }, -- [22] { 278359, -- [1] "Blood Hatred (Trinket)", -- [2] 132175, -- [3] + }, -- [22] + { + 278862, -- [1] + "Chill of the Runes (Trinket)", -- [2] + 252270, -- [3] }, -- [23] { - 278057, -- [1] - "Volatile Blood Explosion (Trinket)", -- [2] - 538040, -- [3] + 270827, -- [1] + "Webweaver's Soul Gem (Trinket)", -- [2] + 237431, -- [3] }, -- [24] { - 277185, -- [1] - "Gladiator's Badge (Trinket)", -- [2] - 135884, -- [3] + 196917, -- [1] + "Light of the Martyr (Damage)", -- [2] + 1360762, -- [3] }, -- [25] { - 278155, -- [1] - "Lingering Power of Xalzaix (Trinket)", -- [2] - 254105, -- [3] + 7, -- [1] + "Environment (Lava)", -- [2] + "Interface\\ICONS\\Ability_Rhyolith_Volcano", -- [3] }, -- [26] { - 271115, -- [1] - "Ignition Mage's Fuse (Trinket)", -- [2] - 1119937, -- [3] + 271671, -- [1] + "Cacaphonous Chord (Trinket)", -- [2] + 454048, -- [3] }, -- [27] - { - 277179, -- [1] - "Gladiator's Medallion (Trinket)", -- [2] - 252267, -- [3] - }, -- [28] - { - 70890, -- [1] - "Scourge Strike (Shadow)", -- [2] - 237530, -- [3] - }, -- [29] { 271462, -- [1] "Rotcrusted Voodoo Doll (Trinket)", -- [2] 1716867, -- [3] - }, -- [30] - { - 277187, -- [1] - "Gladiator's Emblem (Trinket)", -- [2] - 132344, -- [3] - }, -- [31] - { - 228649, -- [1] - "Blackout Kick (Passive)", -- [2] - 574575, -- [3] - }, -- [32] - { - 121414, -- [1] - "Glaive Toss (Glaive #1)", -- [2] - 132330, -- [3] - }, -- [33] - { - 94472, -- [1] - "Atonement (critical)", -- [2] - 135887, -- [3] - }, -- [34] - { - 345020, -- [1] - "Skulking Predator (Trinket)", -- [2] - 2103921, -- [3] - }, -- [35] - { - 277181, -- [1] - "Gladiator's Insignia (Trinket)", -- [2] - 134501, -- [3] - }, -- [36] - { - 270925, -- [1] - "Waterspout (Trinket)", -- [2] - 1698701, -- [3] - }, -- [37] + }, -- [28] { 278383, -- [1] "Ruffling Tempest (Trinket)", -- [2] 2103829, -- [3] - }, -- [38] - { - 278862, -- [1] - "Chill of the Runes (Trinket)", -- [2] - 252270, -- [3] - }, -- [39] - { - 271071, -- [1] - "Conch of Dark Whispers (Trinket)", -- [2] - 1498840, -- [3] - }, -- [40] - { - 271465, -- [1] - "Rotcrusted Voodoo Doll (Trinket)", -- [2] - 1716867, -- [3] - }, -- [41] - { - 33778, -- [1] - "Lifebloom (Bloom)", -- [2] - 134206, -- [3] - }, -- [42] - { - 88082, -- [1] - "Fireball (Mirror Image)", -- [2] - 135812, -- [3] - }, -- [43] - { - 1, -- [1] - "Melee", -- [2] - "Interface\\ICONS\\INV_Sword_04", -- [3] - }, -- [44] - { - 108271, -- [1] - "Astral Shift", -- [2] - "Interface\\Addons\\Details\\images\\icon_astral_shift", -- [3] - }, -- [45] - { - 271671, -- [1] - "Cacaphonous Chord (Trinket)", -- [2] - 454048, -- [3] - }, -- [46] + }, -- [29] { 98021, -- [1] "Health Exchange", -- [2] 237586, -- [3] - }, -- [47] + }, -- [30] + { + 278227, -- [1] + "Barkspines (Trinket)", -- [2] + 134439, -- [3] + }, -- [31] }, ["update_warning_timeout"] = 10, - ["savedStyles"] = { + ["keystone_cache"] = { }, ["show_totalhitdamage_on_overkill"] = false, ["raid_data"] = { }, - ["switchSaved"] = { - ["slots"] = 4, - ["table"] = { - { - ["atributo"] = 1, - ["sub_atributo"] = 1, - }, -- [1] - { - ["atributo"] = 2, - ["sub_atributo"] = 1, - }, -- [2] - { - ["atributo"] = 1, - ["sub_atributo"] = 6, - }, -- [3] - { - ["atributo"] = 4, - ["sub_atributo"] = 5, - }, -- [4] - }, + ["installed_skins_cache"] = { }, - ["always_use_profile_name"] = "GennUI", + ["always_use_profile_name"] = "", ["profile_by_spec"] = { }, ["always_use_profile_exception"] = { @@ -2293,9 +2345,9 @@ _detalhes_global = { ["savedTimeCaptures"] = { }, ["plugin_window_pos"] = { - ["y"] = -70, - ["x"] = 200.8332672119141, - ["point"] = "TOPLEFT", + ["y"] = 1.52587890625e-05, + ["x"] = 0, + ["point"] = "CENTER", ["scale"] = 1, }, ["damage_scroll_position"] = { @@ -2382,10 +2434,10 @@ _detalhes_global = { ["damage"] = true, }, }, - ["last_changelog_size"] = 8091, + ["last_changelog_size"] = 18347, ["immersion_unit_special_icons"] = true, ["lastUpdateWarning"] = 0, - ["latest_report_table"] = { + ["dungeon_data"] = { }, } _detalhes:ApplyProfile('GennUI') diff --git a/ElvUI_GennUI/addons/Plater.lua b/ElvUI_GennUI/addons/Plater.lua index 6824633..60edecb 100644 --- a/ElvUI_GennUI/addons/Plater.lua +++ b/ElvUI_GennUI/addons/Plater.lua @@ -85,6 +85,11 @@ PlaterDB = { ["source"] = "Wolf", ["npcID"] = 165189, }, + [167381] = { + ["source"] = "Normal Tank Dummy", + ["event"] = "SPELL_CAST_SUCCESS", + ["npcID"] = 109096, + }, [79962] = { ["event"] = "SPELL_AURA_APPLIED", ["type"] = "BUFF", @@ -101,6 +106,12 @@ PlaterDB = { ["source"] = "Xuen", ["npcID"] = 63508, }, + [167385] = { + ["source"] = "Normal Tank Dummy", + ["type"] = "BUFF", + ["event"] = "SPELL_AURA_APPLIED", + ["npcID"] = 109096, + }, [152175] = { ["event"] = "SPELL_AURA_APPLIED", ["type"] = "BUFF", @@ -208,6 +219,12 @@ PlaterDB = { 340544, -- [3] 342189, -- [4] 333227, -- [5] + 163689, -- [6] + 227931, -- [7] + 233210, -- [8] + 300207, -- [9] + 301629, -- [10] + 297133, -- [11] }, ["PlaterCore"] = 1, ["Options"] = { @@ -760,6 +777,8 @@ PlaterDB = { 321061, -- [5] 320141, -- [6] 326171, -- [7] + 163966, -- [8] + 227966, -- [9] }, ["PlaterCore"] = 1, ["Options"] = { @@ -969,6 +988,31 @@ PlaterDB = { 350554, -- [26] 348513, -- [27] 351779, -- [28] + 328180, -- [29] + 319898, -- [30] + 166335, -- [31] + 172810, -- [32] + 172943, -- [33] + 173148, -- [34] + 163376, -- [35] + 228011, -- [36] + 228277, -- [37] + 29928, -- [38] + 228559, -- [39] + 230050, -- [40] + 374743, -- [41] + 227615, -- [42] + 229716, -- [43] + 229083, -- [44] + 299525, -- [45] + 300514, -- [46] + 285388, -- [47] + 294324, -- [48] + 294180, -- [49] + 293827, -- [50] + 297128, -- [51] + 294015, -- [52] + 291865, -- [53] }, ["PlaterCore"] = 1, ["Options"] = { @@ -1989,6 +2033,32 @@ PlaterDB = { 320197, -- [20] 329608, -- [21] 350687, -- [22] + 161090, -- [23] + 156301, -- [24] + 166341, -- [25] + 163379, -- [26] + 166923, -- [27] + 172952, -- [28] + 164426, -- [29] + 163665, -- [30] + 227578, -- [31] + 228528, -- [32] + 227789, -- [33] + 227779, -- [34] + 229608, -- [35] + 227925, -- [36] + 300129, -- [37] + 296522, -- [38] + 294349, -- [39] + 293854, -- [40] + 297834, -- [41] + 299588, -- [42] + 302682, -- [43] + 291946, -- [44] + 295169, -- [45] + 285440, -- [46] + 291613, -- [47] + 283551, -- [48] }, ["PlaterCore"] = 1, ["Options"] = { @@ -2448,6 +2518,9 @@ PlaterDB = { "170234", -- [4] "165905", -- [5] "170452", -- [6] + 80875, -- [7] + 163746, -- [8] + 152033, -- [9] }, }, -- [14] { @@ -2538,6 +2611,40 @@ PlaterDB = { 294173, -- [40] 189200, -- [41] 352833, -- [42] + 330403, -- [43] + 166675, -- [44] + 176127, -- [45] + 166380, -- [46] + 162058, -- [47] + 167516, -- [48] + 166923, -- [49] + 178299, -- [50] + 172982, -- [51] + 163390, -- [52] + 173384, -- [53] + 173514, -- [54] + 29513, -- [55] + 227672, -- [56] + 228603, -- [57] + 227339, -- [58] + 227493, -- [59] + 241774, -- [60] + 229611, -- [61] + 229151, -- [62] + 300188, -- [63] + 299475, -- [64] + 299502, -- [65] + 300777, -- [66] + 301681, -- [67] + 298946, -- [68] + 298940, -- [69] + 300424, -- [70] + 283422, -- [71] + 294290, -- [72] + 291973, -- [73] + 293986, -- [74] + 291878, -- [75] + 292264, -- [76] }, ["PlaterCore"] = 1, ["Options"] = { @@ -2712,6 +2819,37 @@ PlaterDB = { 350421, -- [59] 352158, -- [60] 349985, -- [61] + 164192, -- [62] + 176032, -- [63] + 166335, -- [64] + 166387, -- [65] + 162066, -- [66] + 163689, -- [67] + 227592, -- [68] + 228254, -- [69] + 227999, -- [70] + 227987, -- [71] + 232115, -- [72] + 29580, -- [73] + 227616, -- [74] + 241828, -- [75] + 228606, -- [76] + 227800, -- [77] + 228239, -- [78] + 229706, -- [79] + 294884, -- [80] + 301629, -- [81] + 284219, -- [82] + 301689, -- [83] + 300650, -- [84] + 297835, -- [85] + 300171, -- [86] + 300087, -- [87] + 300414, -- [88] + 300436, -- [89] + 301088, -- [90] + 293729, -- [91] + 291928, -- [92] }, ["PlaterCore"] = 1, ["Options"] = { @@ -3081,6 +3219,7 @@ PlaterDB = { "162099", -- [4] "162329", -- [5] "164558", -- [6] + 150159, -- [7] }, }, -- [20] { @@ -3116,6 +3255,322 @@ PlaterDB = { ["NpcNames"] = { }, }, -- [21] + { + ["ConstructorCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n \n function envTable.CheckUnit(unitFrame, envTable)\n if (envTable._NpcID == 185680) then\n --haste\n envTable.SetColor(unitFrame, \"haste\")\n \n elseif (envTable._NpcID == 185683) then\n --movement speed\n envTable.SetColor(unitFrame, \"ms\")\n \n elseif (envTable._NpcID == 185685) then\n --cooldown reduction\n envTable.SetColor(unitFrame, \"cdr\")\n \n end\n end\n \n function envTable.SetColor(unitFrame, bonusType)\n \n local r, g, b, a, name\n \n if (bonusType == \"haste\") then\n name = scriptTable.config.hasteName\n r, g, b, a = DetailsFramework:ParseColors(scriptTable.config.hasteColor)\n \n elseif (bonusType == \"ms\") then\n name = scriptTable.config.msName\n r, g, b, a = DetailsFramework:ParseColors(scriptTable.config.msColor)\n \n elseif (bonusType == \"cdr\") then\n name = scriptTable.config.cdrName\n r, g, b, a = DetailsFramework:ParseColors(scriptTable.config.cdrColor)\n end\n \n Plater.SetNameplateColor(unitFrame, r, g, b, a)\n if (scriptTable.config.canChangeSize) then\n Plater.SetNameplateSize(unitFrame, scriptTable.config.width, scriptTable.config.height)\n end\n \n --border\n if (scriptTable.config.showBorder) then\n r, g, b, a = r+0.2, g+0.2, b+0.2\n Plater.SetBorderColor(unitFrame, r, g, b)\n end\n \n --name\n unitFrame.healthBar.unitName:SetText(name)\n end\nend\n\n\n--185685 cooldown reduction\n--185680 haste\n--185683 movement speed\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + ["OnHideCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n \nend\n\n\n", + ["ScriptType"] = 3, + ["UpdateCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n envTable.CheckUnit(unitFrame, envTable)\nend\n\n\n", + ["Time"] = 1647994498, + ["url"] = "", + ["Icon"] = 4263293, + ["Enabled"] = true, + ["Revision"] = 70, + ["semver"] = "", + ["Author"] = "Ditador-Azralon", + ["Initialization"] = "function (scriptTable)\n --insert code here\n \nend\n\n\n", + ["Desc"] = "Make more easy to distinguish relics within dungeons in 9.2 patch", + ["OnShowCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n envTable.CheckUnit(unitFrame, envTable)\n \nend", + ["SpellIds"] = { + }, + ["PlaterCore"] = 1, + ["Options"] = { + { + ["Type"] = 5, + ["Name"] = "ColorSettingsAnchor", + ["Value"] = "Color Settings", + ["Key"] = "option1", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_label", + ["Desc"] = "Adjust the nameplate color for each mob", + }, -- [1] + { + ["Type"] = 1, + ["Name"] = "Haste Color", + ["Value"] = { + 0.4549019607843137, -- [1] + 0.2156862745098039, -- [2] + 0.5490196078431373, -- [3] + 1, -- [4] + }, + ["Key"] = "hasteColor", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_color", + ["Desc"] = "haste color", + }, -- [2] + { + ["Type"] = 1, + ["Key"] = "msColor", + ["Value"] = { + 0.3098039215686275, -- [1] + 0.5215686274509804, -- [2] + 0.2588235294117647, -- [3] + 1, -- [4] + }, + ["Name"] = "Moviment Speep Color", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_color", + ["Desc"] = "moviment speep color", + }, -- [3] + { + ["Type"] = 1, + ["Name"] = "Cooldown Reduction Color", + ["Value"] = { + 0.1725490196078431, -- [1] + 0.2823529411764706, -- [2] + 0.5215686274509804, -- [3] + 1, -- [4] + }, + ["Key"] = "cdrColor", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_color", + ["Desc"] = "cooldown reduction color", + }, -- [4] + { + ["Type"] = 6, + ["Name"] = "Option 5", + ["Value"] = 0, + ["Key"] = "option5", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_blank", + ["Desc"] = "", + }, -- [5] + { + ["Type"] = 5, + ["Name"] = "SizeSettingsAnchor", + ["Value"] = "Size Settings", + ["Key"] = "option6", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_label", + ["Desc"] = "", + }, -- [6] + { + ["Type"] = 4, + ["Key"] = "canChangeSize", + ["Value"] = false, + ["Name"] = "Change Nameplate Size", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_bool", + ["Desc"] = "If this is checked, the nameplate size is changed to the values below", + }, -- [7] + { + ["Type"] = 2, + ["Max"] = 200, + ["Desc"] = "total width of the nameplate", + ["Min"] = 50, + ["Key"] = "width", + ["Value"] = 100, + ["Name"] = "Width", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_number", + ["Fraction"] = false, + }, -- [8] + { + ["Type"] = 2, + ["Max"] = 40, + ["Desc"] = "total height of the nameplate", + ["Min"] = 2, + ["Fraction"] = false, + ["Value"] = 12, + ["Key"] = "height", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_number", + ["Name"] = "Height", + }, -- [9] + { + ["Type"] = 6, + ["Name"] = "Option 9", + ["Value"] = 0, + ["Key"] = "option9", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_blank", + ["Desc"] = "", + }, -- [10] + { + ["Type"] = 5, + ["Name"] = "BorderSettingsAnchor", + ["Value"] = "Border Settings", + ["Key"] = "option10", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_label", + ["Desc"] = "", + }, -- [11] + { + ["Type"] = 4, + ["Name"] = "Paint Border", + ["Value"] = true, + ["Key"] = "showBorder", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_bool", + ["Desc"] = "When enabled, the color of the border will have the same color as the nameplate", + }, -- [12] + { + ["Type"] = 6, + ["Name"] = "Option 12", + ["Value"] = 0, + ["Key"] = "option12", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_blank", + ["Desc"] = "", + }, -- [13] + { + ["Type"] = 5, + ["Name"] = "NameSettings", + ["Value"] = "Name Settings", + ["Key"] = "option13", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_label", + ["Desc"] = "", + }, -- [14] + { + ["Type"] = 3, + ["Name"] = "Haste Name", + ["Value"] = "HASTE", + ["Key"] = "hasteName", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_text", + ["Desc"] = "", + }, -- [15] + { + ["Type"] = 3, + ["Key"] = "cdrName", + ["Value"] = "CDR", + ["Name"] = "Cooldown Reduction Name", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_text", + ["Desc"] = "", + }, -- [16] + { + ["Type"] = 3, + ["Name"] = "Movement Speed Name", + ["Value"] = "MS", + ["Key"] = "msName", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_text", + ["Desc"] = "", + }, -- [17] + }, + ["version"] = -1, + ["Name"] = "Relics 9.2 M Dungeons", + ["NpcNames"] = { + "185685", -- [1] + "185680", -- [2] + "185683", -- [3] + }, + }, -- [22] + { + ["ConstructorCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n \nend\n\n\n", + ["OnHideCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n local unitPowerBar = unitFrame.powerBar\n unitPowerBar:Hide()\nend\n\n\n", + ["ScriptType"] = 1, + ["UpdateCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n \n if (WOW_PROJECT_ID ~= WOW_PROJECT_MAINLINE) then\n return \n end\n \n local continuationToken\n local slots\n local foundAura = false\n \n repeat \n slots = { UnitAuraSlots(unitId, \"HELPFUL\", BUFF_MAX_DISPLAY, continuationToken) }\n continuationToken = slots[1]\n numSlots = #slots\n \n for i = 2, numSlots do\n local slot = slots[i]\n local name, texture, count, actualAuraType, duration, expirationTime, caster, canStealOrPurge, nameplateShowPersonal, spellId, canApplyAura, isBossDebuff, isCastByPlayer, nameplateShowAll, timeMod, auraAmount = UnitAuraBySlot(unitId, slot) \n \n if (spellId == envTable._SpellID) then --need to get the trigger spellId\n --Ablative Shield\n local unitPowerBar = unitFrame.powerBar\n if (not unitPowerBar:IsShown()) then\n unitPowerBar:SetUnit(unitId)\n end\n \n foundAura = true\n return\n end\n end\n \n until continuationToken == nil\n \n if (not foundAura) then\n local unitPowerBar = unitFrame.powerBar\n if (unitPowerBar:IsShown()) then\n unitPowerBar:Hide()\n end\n end\nend", + ["Time"] = 1660259323, + ["url"] = "", + ["Icon"] = 610472, + ["Enabled"] = true, + ["Revision"] = 52, + ["semver"] = "", + ["Author"] = "Keyspell-Azralon", + ["Initialization"] = " function (scriptTable)\n --insert code here\n \n end\n ", + ["Desc"] = "Show power bar where its value is the buff value (usualy shown in the buff tooltip)", + ["OnShowCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n \nend\n\n\n", + ["SpellIds"] = { + 227548, -- [1] + }, + ["PlaterCore"] = 1, + ["Options"] = { + }, + ["version"] = -1, + ["Name"] = "Aura is Shield [P]", + ["NpcNames"] = { + }, + }, -- [23] + { + ["ConstructorCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n \nend\n\n\n", + ["OnHideCode"] = " function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n \n end\n ", + ["ScriptType"] = 1, + ["UpdateCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n if (UnitIsUnit(unitId .. \"target\", \"player\")) then\n Plater.SetNameplateColor(unitFrame, scriptTable.config.nameplateColor)\n else\n Plater.RefreshNameplateColor(unitFrame)\n end\nend\n\n\n\n\n\n\n\n\n\n\n\n", + ["Time"] = 1660340256, + ["url"] = "", + ["Icon"] = "Interface\\ICONS\\Ability_Fixated_State_Red", + ["Enabled"] = true, + ["Revision"] = 25, + ["semver"] = "", + ["Author"] = "Ditador-Azralon", + ["Initialization"] = " function (scriptTable)\n --insert code here\n \n end\n ", + ["Desc"] = "Alert about a unit fixated on the player by using a buff on the enemy unit.", + ["OnShowCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --insert code here\n \nend\n\n\n", + ["SpellIds"] = { + 285388, -- [1] + }, + ["PlaterCore"] = 1, + ["Options"] = { + { + ["Type"] = 1, + ["Key"] = "nameplateColor", + ["Value"] = { + 0, -- [1] + 0.5568627450980392, -- [2] + 0.03529411764705882, -- [3] + 1, -- [4] + }, + ["Name"] = "Nameplate Color", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_color", + ["Desc"] = "Change the enemy nameplate color to this color when fixating you!", + }, -- [1] + }, + ["version"] = -1, + ["Name"] = "Fixate by Unit Buff [P]", + ["NpcNames"] = { + }, + }, -- [24] + { + ["ConstructorCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n \n local castBar = unitFrame.castBar\n local castBarPortion = castBar:GetWidth()/scriptTable.config.segmentsAmount\n local castBarHeight = castBar:GetHeight()\n \n unitFrame.felAnimation = unitFrame.felAnimation or {}\n \n if (not unitFrame.felAnimation.textureStretched) then\n unitFrame.felAnimation.textureStretched = castBar:CreateTexture(nil, \"overlay\", nil, 5)\n end\n \n if (not unitFrame.felAnimation.Textures) then\n unitFrame.felAnimation.Textures = {}\n \n for i = 1, scriptTable.config.segmentsAmount do\n local texture = castBar:CreateTexture(nil, \"overlay\", nil, 6)\n unitFrame.felAnimation.Textures[i] = texture \n \n texture.animGroup = texture.animGroup or texture:CreateAnimationGroup()\n local animationGroup = texture.animGroup\n animationGroup:SetToFinalAlpha(true) \n animationGroup:SetLooping(\"NONE\")\n \n texture:SetTexture([[Interface\\COMMON\\XPBarAnim]])\n texture:SetTexCoord(0.2990, 0.0010, 0.0010, 0.4159)\n texture:SetBlendMode(\"ADD\")\n \n texture.scale = animationGroup:CreateAnimation(\"SCALE\")\n texture.scale:SetTarget(texture)\n \n texture.alpha = animationGroup:CreateAnimation(\"ALPHA\")\n texture.alpha:SetTarget(texture)\n \n texture.alpha2 = animationGroup:CreateAnimation(\"ALPHA\")\n texture.alpha2:SetTarget(texture)\n end\n end\n \n \n \nend\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + ["OnHideCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n \n for i = 1, scriptTable.config.segmentsAmount do\n local texture = unitFrame.felAnimation.Textures[i]\n texture:Hide()\n end\n \n local textureStretched = unitFrame.felAnimation.textureStretched\n textureStretched:Hide() \n \nend\n\n\n\n\n\n\n", + ["ScriptType"] = 2, + ["UpdateCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n \n local castBar = unitFrame.castBar\n \n local textures = unitFrame.felAnimation.Textures\n \n if (envTable._CastPercent > envTable.NextPercent) then\n local nextPercent = 100 / scriptTable.config.segmentsAmount\n \n textures[envTable.CurrentTexture]:Show()\n textures[envTable.CurrentTexture].animGroup:Play()\n envTable.NextPercent = envTable.NextPercent + nextPercent \n envTable.CurrentTexture = envTable.CurrentTexture + 1\n \n if (envTable.CurrentTexture == #textures) then\n envTable.NextPercent = 98\n elseif (envTable.CurrentTexture > #textures) then\n envTable.NextPercent = 999\n end\n end\n \n local normalizedPercent = envTable._CastPercent / 100\n local textureStretched = unitFrame.felAnimation.textureStretched\n local point = DetailsFramework:GetBezierPoint(normalizedPercent, 0, 0.001, 1)\n textureStretched:SetPoint(\"left\", castBar, \"left\", point * envTable.castBarWidth, 0)\nend", + ["Time"] = 1660511537, + ["url"] = "", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\cast_bar_glow", + ["Enabled"] = true, + ["Revision"] = 341, + ["semver"] = "", + ["Author"] = "Terciob", + ["Initialization"] = " function (scriptTable)\n --insert code here\n \n end\n ", + ["Desc"] = "Show a different animation for the cast bar.", + ["OnShowCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n local castBar = unitFrame.castBar\n envTable.castBarWidth = castBar:GetWidth()\n castBar.Spark:SetVertexColor(DetailsFramework:ParseColors(scriptTable.config.sparkColor))\n \n local textureStretched = unitFrame.felAnimation.textureStretched\n textureStretched:Show()\n textureStretched:SetVertexColor(DetailsFramework:ParseColors(scriptTable.config.glowColor))\n textureStretched:SetAtlas(\"XPBarAnim-OrangeTrail\")\n textureStretched:ClearAllPoints()\n textureStretched:SetPoint(\"right\", castBar.Spark, \"center\", 0, 0)\n textureStretched:SetHeight(castBar:GetHeight())\n textureStretched:SetBlendMode(\"ADD\") \n textureStretched:SetAlpha(0.5)\n textureStretched:SetDrawLayer(\"overlay\", 7)\n \n for i = 1, scriptTable.config.segmentsAmount do\n local texture = unitFrame.felAnimation.Textures[i]\n --texture:SetVertexColor(DetailsFramework:ParseColors(scriptTable.config.trailColor))\n texture:SetVertexColor(1, 1, 1, 1)\n texture:SetDesaturated(true)\n \n local castBarPortion = castBar:GetWidth()/scriptTable.config.segmentsAmount\n \n texture:SetSize(castBarPortion+5, castBar:GetHeight())\n texture:SetDrawLayer(\"overlay\", 6)\n \n texture:ClearAllPoints()\n if (i == scriptTable.config.segmentsAmount) then\n texture:SetPoint(\"right\", castBar, \"right\", 0, 0)\n else\n texture:SetPoint(\"left\", castBar, \"left\", (i-1)*castBarPortion, 2)\n end\n \n texture:SetAlpha(0)\n texture:Hide()\n \n texture.scale:SetOrder(1)\n texture.scale:SetDuration(0.5)\n texture.scale:SetFromScale(0.2, 1)\n texture.scale:SetToScale(1, 1.5)\n texture.scale:SetOrigin(\"right\", 0, 0)\n \n local durationTime = DetailsFramework:GetBezierPoint(i / scriptTable.config.segmentsAmount, 0.2, 0.01, 0.6)\n local duration = abs(durationTime-0.6)\n \n texture.alpha:SetOrder(1)\n texture.alpha:SetDuration(0.05)\n texture.alpha:SetFromAlpha(0)\n texture.alpha:SetToAlpha(0.4)\n \n texture.alpha2:SetOrder(1)\n texture.alpha2:SetDuration(duration) --0.6\n texture.alpha2:SetStartDelay(duration)\n texture.alpha2:SetFromAlpha(0.5)\n texture.alpha2:SetToAlpha(0)\n end\n \n envTable.CurrentTexture = 1\n envTable.NextPercent = 100 / scriptTable.config.segmentsAmount\nend\n\n\n\n\n\n\n\n\n", + ["SpellIds"] = { + 373429, -- [1] + }, + ["PlaterCore"] = 1, + ["Options"] = { + { + ["Type"] = 2, + ["Max"] = 20, + ["Desc"] = "Need a /reload", + ["Min"] = 5, + ["Name"] = "Amount of Segments", + ["Value"] = 7, + ["Fraction"] = false, + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_number", + ["Key"] = "segmentsAmount", + }, -- [1] + { + ["Type"] = 1, + ["Key"] = "sparkColor", + ["Value"] = { + 0.9568627450980391, -- [1] + 1, -- [2] + 0.9882352941176471, -- [3] + 1, -- [4] + }, + ["Name"] = "Spark Color", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_color", + ["Desc"] = "", + }, -- [2] + { + ["Type"] = 1, + ["Key"] = "glowColor", + ["Value"] = { + 0.8588235294117647, -- [1] + 0.4313725490196079, -- [2] + 1, -- [3] + 1, -- [4] + }, + ["Name"] = "Glow Color", + ["Icon"] = "Interface\\AddOns\\Plater\\images\\option_color", + ["Desc"] = "", + }, -- [3] + }, + ["version"] = -1, + ["Name"] = "Cast - Glowing [P]", + ["NpcNames"] = { + }, + }, -- [25] + }, + ["saved_cvars_last_change"] = { + ["nameplateShowFriendlyNPCs"] = "Interface/AddOns/Plater/Plater_OptionsPanel.lua:9802", }, ["target_shady_enabled"] = false, ["aura2_y_offset"] = 5, @@ -3127,37 +3582,44 @@ PlaterDB = { 0.08627450980392157, -- [3] 1, -- [4] }, - ["aura_width2"] = 20, + ["cast_statusbar_fadeout_time"] = 0.2000000029802322, ["aura_stack_size"] = 8, - ["script_auto_imported"] = { - ["Unit - Important"] = 11, - ["Aura - Buff Alert"] = 13, - ["Cast - Very Important"] = 12, - ["Cast - Alert + Timer [P]"] = 2, - ["Aura - Debuff Alert"] = 11, - ["Cast - Castbar is Timer [P]"] = 2, - ["Cast - Ultra Important"] = 11, - ["Cast - Big Alert"] = 12, - ["Cast - Small Alert"] = 11, - ["Auto Set Skull"] = 11, - ["Fixate On You"] = 11, - ["Unit - Main Target"] = 11, - ["Aura - Blink Time Left"] = 13, - ["Explosion Affix M+"] = 11, - ["Countdown"] = 11, - ["Unit - Health Markers"] = 12, - ["Cast - Frontal Cone"] = 11, - ["Fixate"] = 11, - ["Cast - Tank Interrupt"] = 12, - ["Spiteful Affix"] = 3, - ["Cast - Important Target [P]"] = 1, - ["Unit - Show Energy"] = 11, + ["aura_height2"] = 20, + ["class_colors"] = { + ["DEATHKNIGHT"] = { + ["colorStr"] = "ffc31d3a", + }, + ["WARRIOR"] = { + ["colorStr"] = "ffc69a6d", + }, + ["PALADIN"] = { + ["colorStr"] = "fff48bb9", + }, + ["WARLOCK"] = { + ["colorStr"] = "ff8687ed", + }, + ["DEMONHUNTER"] = { + ["colorStr"] = "ffa22fc8", + }, + ["SHAMAN"] = { + ["colorStr"] = "ff006fdd", + }, + ["DRUID"] = { + ["colorStr"] = "ffff7c09", + }, + ["EVOKER"] = { + ["colorStr"] = "ff33937e", + }, + ["ROGUE"] = { + ["colorStr"] = "fffff467", + }, }, ["aura_frame2_anchor"] = { ["side"] = 1, }, - ["cast_statusbar_texture"] = "GennUI", + ["aura_alpha"] = 1, ["castbar_icon_x_offset"] = 2, + ["extra_icon_height"] = 30, ["extra_icon_show_purge"] = true, ["aura_consolidate"] = true, ["health_statusbar_texture"] = "GennUI", @@ -3166,14 +3628,14 @@ PlaterDB = { ["Dont Have Aura"] = 1, ["Players Targetting Amount"] = 4, ["Color Automation"] = 1, - ["Hide Neutral Units"] = 1, + ["Combo Points"] = 6, ["Cast Bar Icon Config"] = 2, ["Attacking Specific Unit"] = 2, - ["Extra Border"] = 2, + ["Hide Neutral Units"] = 1, ["Execute Range"] = 1, ["Target Color"] = 3, ["Aura Reorder"] = 3, - ["Combo Points"] = 6, + ["Extra Border"] = 2, }, ["castbar_target_text_size"] = 8, ["aura_frame1_anchor"] = { @@ -3184,6 +3646,7 @@ PlaterDB = { ["extra_icon_stack_font"] = "GennUI", ["aura_height"] = 20, ["cast_statusbar_bgtexture"] = "GennUI", + ["aura2_x_offset"] = 0, ["target_indicator"] = "Pins", ["castbar_target_notank"] = true, ["saved_cvars"] = { @@ -3200,22 +3663,22 @@ PlaterDB = { ["nameplateSelectedScale"] = "1", ["nameplateTargetRadialPosition"] = "1", ["nameplateResourceOnTarget"] = "0", - ["nameplateShowEnemyGuardians"] = "1", + ["nameplatePersonalHideDelaySeconds"] = "0.2", ["clampTargetNameplateToScreen"] = "1", ["nameplateShowAll"] = "1", ["nameplateMaxDistance"] = "100", ["nameplateOtherTopInset"] = "0.085", - ["nameplatePersonalHideDelaySeconds"] = "0.2", ["ShowNamePlateLoseAggroFlash"] = "1", ["nameplateMinScale"] = "1", + ["nameplateTargetBehindMaxDistance"] = "30", ["nameplateShowFriendlyGuardians"] = "0", - ["nameplateOccludedAlphaMult"] = "0.39999997615814", ["NamePlateHorizontalScale"] = "1", - ["nameplateTargetBehindMaxDistance"] = "30", + ["nameplateOccludedAlphaMult"] = "0.39999997615814", + ["nameplateShowEnemyGuardians"] = "1", ["nameplateShowFriendlyMinions"] = "0", ["NamePlateVerticalScale"] = "1", }, - ["login_counter"] = 3, + ["login_counter"] = 6, ["click_space_friendly"] = { 150, -- [1] }, @@ -3234,6 +3697,7 @@ PlaterDB = { ["plate_config"] = { ["global_health_height"] = 12, ["friendlyplayer"] = { + ["actorname_use_friends_color"] = false, ["spellpercent_text_font"] = "GennUI", ["level_text_size"] = 8, ["actorname_use_class_color"] = true, @@ -3246,6 +3710,7 @@ PlaterDB = { 0.4, -- [2] 0.1, -- [3] }, + ["percent_text_show_decimals"] = false, ["spellname_text_outline"] = "OUTLINE", ["click_through"] = false, ["big_actorname_text_shadow_color"] = { @@ -3280,14 +3745,17 @@ PlaterDB = { 0, -- [3] 1, -- [4] }, + ["only_thename"] = true, ["big_actortitle_text_font"] = "GennUI", - ["percent_text_ooc"] = true, ["level_text_outline"] = "OUTLINE", - ["percent_text_show_decimals"] = false, + ["big_actorname_text_color"] = { + 0.5, -- [1] + 1, -- [2] + 0.5, -- [3] + }, ["level_text_anchor"] = { ["y"] = 0, }, - ["big_actorname_text_font"] = "GennUI", ["big_actortitle_text_shadow_color_offset"] = { 1, -- [1] -1, -- [2] @@ -3296,14 +3764,7 @@ PlaterDB = { 150, -- [1] 10, -- [2] }, - ["level_text_alpha"] = 1, - ["big_actorname_text_color"] = { - 0.5, -- [1] - 1, -- [2] - 0.5, -- [3] - }, - ["quest_enabled"] = true, - ["quest_color_enabled"] = true, + ["big_actortitle_text_size"] = 10, ["spellname_text_anchor"] = { ["side"] = 10, }, @@ -3313,65 +3774,61 @@ PlaterDB = { 0, -- [3] 1, -- [4] }, - ["big_actortitle_text_size"] = 10, - ["big_actorname_text_size"] = 12, ["spellname_text_font"] = "GennUI", ["big_actorname_text_outline"] = "OUTLINE", - ["castbar_offset"] = -4, ["quest_color_neutral"] = { 1, -- [1] 0.65, -- [2] 0, -- [3] 1, -- [4] }, + ["mana"] = { + nil, -- [1] + 4, -- [2] + }, ["percent_text_enabled"] = true, - ["actorname_use_friends_color"] = false, ["use_playerclass_color"] = true, + ["big_actorname_text_size"] = 12, ["percent_show_health"] = true, ["percent_text_size"] = 10, - ["percent_show_percent"] = false, + ["percent_text_ooc"] = true, ["percent_text_font"] = "GennUI", ["buff_frame_y_offset"] = 0, - ["mana"] = { - nil, -- [1] - 4, -- [2] - }, + ["quest_enabled"] = true, + ["level_text_alpha"] = 1, + ["castbar_offset"] = -4, + ["quest_color_enabled"] = true, ["health_incombat"] = { 150, -- [1] }, ["health"] = { 150, -- [1] }, - ["spellpercent_text_enabled"] = true, ["actorname_text_anchor"] = { - ["y"] = 0, ["side"] = 1, }, + ["big_actorname_text_font"] = "GennUI", + ["spellpercent_text_enabled"] = true, + ["percent_show_percent"] = false, ["level_text_enabled"] = true, }, ["global_health_width"] = 150, ["friendlynpc"] = { - ["big_actorname_text_size"] = 10, + ["castbar_offset"] = -4, ["spellpercent_text_font"] = "GennUI", - ["actorname_friend_color"] = { - 0.71, -- [1] - 1, -- [2] - 1, -- [3] - 1, -- [4] - }, + ["show_guild_name"] = false, ["level_text_size"] = 8, ["actorname_use_class_color"] = true, ["cast"] = { 150, -- [1] }, - ["big_actortitle_text_size"] = 8, ["fixed_class_color"] = { 1, -- [1] 0.4, -- [2] 0.1, -- [3] 1, -- [4] }, - ["enabled"] = true, + ["percent_text_show_decimals"] = false, ["spellname_text_outline"] = "OUTLINE", ["click_through"] = false, ["level_text_font"] = "GennUI", @@ -3379,6 +3836,7 @@ PlaterDB = { ["actorname_use_guild_color"] = false, ["actorname_text_outline"] = "OUTLINE", ["actorname_text_spacing"] = 9, + ["only_damaged"] = false, ["quest_color_enemy"] = { 1, -- [1] 0.369, -- [2] @@ -3387,22 +3845,23 @@ PlaterDB = { }, ["only_thename"] = false, ["big_actortitle_text_font"] = "GennUI", - ["percent_text_ooc"] = true, - ["level_text_outline"] = "OUTLINE", - ["spellpercent_text_enabled"] = true, - ["actorname_use_friends_color"] = false, ["level_text_anchor"] = { ["y"] = -2, }, - ["show_guild_name"] = false, - ["only_damaged"] = false, ["cast_incombat"] = { 150, -- [1] 10, -- [2] }, + ["level_text_outline"] = "OUTLINE", ["spellname_text_anchor"] = { ["side"] = 10, }, + ["actorname_friend_color"] = { + 0.71, -- [1] + 1, -- [2] + 1, -- [3] + 1, -- [4] + }, ["spellname_text_font"] = "GennUI", ["quest_color_neutral"] = { 1, -- [1] @@ -3410,13 +3869,16 @@ PlaterDB = { 0, -- [3] 1, -- [4] }, + ["big_actorname_text_font"] = "GennUI", ["percent_text_enabled"] = true, - ["castbar_offset"] = -4, - ["percent_show_percent"] = false, ["use_playerclass_color"] = true, - ["level_text_alpha"] = 1, - ["percent_show_health"] = true, + ["big_actorname_text_size"] = 10, + ["actorname_text_anchor"] = { + ["y"] = -2, + ["side"] = 1, + }, ["percent_text_size"] = 10, + ["percent_text_ooc"] = true, ["percent_text_font"] = "GennUI", ["actorname_guild_color"] = { 0.498039, -- [1] @@ -3424,11 +3886,8 @@ PlaterDB = { 0.2, -- [3] 1, -- [4] }, - ["percent_text_show_decimals"] = false, - ["actorname_text_anchor"] = { - ["y"] = -2, - ["side"] = 1, - }, + ["percent_show_percent"] = false, + ["big_actortitle_text_size"] = 8, ["health_incombat"] = { 150, -- [1] 2, -- [2] @@ -3437,7 +3896,10 @@ PlaterDB = { 150, -- [1] 2, -- [2] }, - ["big_actorname_text_font"] = "GennUI", + ["actorname_use_friends_color"] = false, + ["percent_show_health"] = true, + ["level_text_alpha"] = 1, + ["spellpercent_text_enabled"] = true, ["level_text_enabled"] = true, }, ["enemyplayer"] = { @@ -3448,7 +3910,7 @@ PlaterDB = { ["cast"] = { 150, -- [1] }, - ["big_actortitle_text_size"] = 10, + ["percent_text_show_decimals"] = false, ["spellname_text_outline"] = "OUTLINE", ["level_text_font"] = "GennUI", ["actorname_text_font"] = "GennUI", @@ -3462,7 +3924,6 @@ PlaterDB = { 1, -- [4] }, ["big_actortitle_text_font"] = "GennUI", - ["level_text_outline"] = "OUTLINE", ["level_text_anchor"] = { ["y"] = -2, }, @@ -3470,8 +3931,6 @@ PlaterDB = { 150, -- [1] 10, -- [2] }, - ["quest_enabled"] = true, - ["quest_color_enabled"] = true, ["spellname_text_anchor"] = { ["side"] = 10, }, @@ -3484,11 +3943,13 @@ PlaterDB = { }, ["actorname_text_size"] = 10, ["big_actorname_text_font"] = "GennUI", + ["level_text_outline"] = "OUTLINE", ["level_text_alpha"] = 1, ["percent_text_size"] = 10, + ["big_actortitle_text_size"] = 10, ["percent_text_font"] = "GennUI", - ["percent_show_percent"] = false, - ["percent_text_show_decimals"] = false, + ["quest_enabled"] = true, + ["quest_color_enabled"] = true, ["health_incombat"] = { 150, -- [1] 12, -- [2] @@ -3500,6 +3961,7 @@ PlaterDB = { ["y"] = -2, ["side"] = 1, }, + ["percent_show_percent"] = false, }, ["enemynpc"] = { ["big_actorname_text_size"] = 12, @@ -3507,11 +3969,13 @@ PlaterDB = { ["cast"] = { 150, -- [1] }, + ["percent_text_show_decimals"] = false, ["level_text_font"] = "GennUI", ["actorname_text_font"] = "GennUI", ["actorname_text_outline"] = "OUTLINE", ["actorname_text_spacing"] = 9, ["big_actortitle_text_font"] = "GennUI", + ["spellpercent_text_size"] = 10, ["level_text_anchor"] = { ["y"] = -2, }, @@ -3529,24 +3993,34 @@ PlaterDB = { ["spellname_text_font"] = "GennUI", ["big_actorname_text_font"] = "GennUI", ["level_text_outline"] = "OUTLINE", - ["spellpercent_text_size"] = 10, - ["actorname_text_anchor"] = { - ["y"] = -2, - ["side"] = 1, - }, + ["level_text_alpha"] = 1, ["percent_text_size"] = 10, - ["percent_text_show_decimals"] = false, ["percent_text_font"] = "GennUI", ["percent_show_percent"] = false, - ["level_text_alpha"] = 1, ["spellname_text_size"] = 10, ["health"] = { 150, -- [1] }, ["actorname_text_size"] = 10, + ["actorname_text_anchor"] = { + ["y"] = -2, + ["side"] = 1, + }, }, }, ["aura_y_offset"] = 4, + ["cast_statusbar_bgcolor"] = { + 0.1137254901960784, -- [1] + 0.1137254901960784, -- [2] + 0.1137254901960784, -- [3] + 0.8900000005960464, -- [4] + }, + ["indicator_spec"] = false, + ["resources_settings"] = { + ["chr"] = { + ["Player-2073-0655867C"] = "Runes", + }, + }, ["border_color"] = { nil, -- [1] nil, -- [2] @@ -3554,7 +4028,6 @@ PlaterDB = { 1, -- [4] }, ["castbar_icon_size"] = "same as castbar plus healthbar", - ["bossmod_cooldown_text_size"] = 12, ["hook_data"] = { { ["Enabled"] = false, @@ -3570,7 +4043,7 @@ PlaterDB = { ["Nameplate Updated"] = "function (self, unitId, unitFrame, envTable)\n \n --attempt to get the color from the unit color list\n local color = envTable.NpcColors [unitFrame.namePlateUnitNameLower] or envTable.NpcColors [unitFrame.namePlateUnitName] or envTable.NpcColors [unitFrame.namePlateNpcId]\n \n --if the color exists, set the health bar color\n if (color) then\n Plater.SetNameplateColor (unitFrame, color)\n end\n \nend\n\n\n\n\n\n\n\n\n\n\n\n", ["Constructor"] = "function (self, unitId, unitFrame, envTable)\n \n --list of npcs and their colors, can be inserted:\n --name of the unit\n --name of the unit in lower case\n --npcID of the unit\n \n --color can be added as:\n --color names: \"red\", \"yellow\"\n --color hex: \"#FF0000\", \"#FFFF00\"\n --color table: {1, 0, 0}, {1, 1, 0} \n \n envTable.NpcColors = {\n \n --examples, using the unit name in lower case, regular unit name and the unitID:\n \n [\"Thunderlord Windreader\"] = \"red\", --using regular mob name and color it as red\n [\"thunderlord crag-leaper\"] = {1, 1, 0}, --using lower case and coloring it yellow\n [75790] = \"#00FF00\", --using the ID of the unit and using green as color\n \n --insert the new mobs here:\n \n \n \n \n \n \n \n \n \n \n \n \n \n } --close custom color bracket\n \nend\n\n\n\n\n", }, - ["Name"] = "Color Automation [Plater]", + ["Time"] = 1547392935, ["PlaterCore"] = 1, ["LoadConditions"] = { ["talent"] = { @@ -3596,7 +4069,7 @@ PlaterDB = { }, ["url"] = "", ["Icon"] = "Interface\\AddOns\\Plater\\images\\color_bar", - ["Time"] = 1547392935, + ["Name"] = "Color Automation [Plater]", }, -- [1] { ["Enabled"] = false, @@ -3617,7 +4090,7 @@ PlaterDB = { ["Enter Combat"] = "function (self, unitId, unitFrame, envTable)\n \n if (unitFrame.namePlateUnitReaction == envTable.REACTION_NEUTRAL) then\n \n --plater already handle this\n if (unitFrame.PlayerCannotAttack) then\n return\n end \n \n --check if is only open world\n if (envTable.OnlyInOpenWorld and Plater.ZoneInstanceType ~= \"none\") then\n return \n end\n \n --check for only in combat\n if (envTable.ShowInCombat) then\n envTable.ShowNameplate (unitFrame)\n end\n end\nend\n\n\n", ["Constructor"] = "function (self, unitId, unitFrame, envTable)\n \n --settings\n envTable.OnlyInOpenWorld = true;\n envTable.ShowInCombat = true;\n \n --consts\n envTable.REACTION_NEUTRAL = 4;\n \n --functions to hide and show the healthBar\n function envTable.HideNameplate (unitFrame)\n Plater.HideHealthBar (unitFrame)\n Plater.DisableHighlight (unitFrame)\n envTable.IsHidden = true\n end\n \n function envTable.ShowNameplate (unitFrame)\n Plater.ShowHealthBar (unitFrame)\n Plater.EnableHighlight (unitFrame)\n envTable.IsHidden = false\n end\n \nend\n\n\n\n\n", }, - ["Name"] = "Hide Neutral Units [Plater]", + ["Time"] = 1541606242, ["PlaterCore"] = 1, ["LoadConditions"] = { ["talent"] = { @@ -3643,10 +4116,11 @@ PlaterDB = { }, ["url"] = "", ["Icon"] = 1990989, - ["Time"] = 1541606242, + ["Name"] = "Hide Neutral Units [Plater]", }, -- [2] { - ["LastHookEdited"] = "", + ["HooksTemp"] = { + }, ["Hooks"] = { ["Nameplate Added"] = "\n\n-- exported function Plater.UpdatePlateSize() from Plater.lua\n--this is for advanced users which wants to reorder the nameplate frame at their desire\n\n\n\nfunction (self, unitId, unitFrame, envTable)\n \n --check if there's a type of unit on this nameplate\n local plateFrame = unitFrame:GetParent()\n if (not plateFrame.actorType) then\n return\n end\n \n --get all the frames and cache some variables\n local ACTORTYPE_ENEMY_PLAYER = \"enemyplayer\"\n local profile = Plater.db.profile\n local DB_PLATE_CONFIG = profile.plate_config\n local isInCombat = Plater.IsInCombat()\n local actorType = plateFrame.actorType\n \n local unitFrame = plateFrame.unitFrame\n local healthBar = unitFrame.healthBar\n local castBar = unitFrame.castBar\n local powerBar = unitFrame.powerBar\n local buffFrame1 = unitFrame.BuffFrame\n local buffFrame2 = unitFrame.BuffFrame2\n \n --use in combat bars when in pvp\n if (plateFrame.actorType == ACTORTYPE_ENEMY_PLAYER) then\n if ((Plater.ZoneInstanceType == \"pvp\" or Plater.ZoneInstanceType == \"arena\") and DB_PLATE_CONFIG.player.pvp_always_incombat) then\n isInCombat = true\n end\n end\n \n --get the config for this actor type\n local plateConfigs = DB_PLATE_CONFIG [actorType]\n --get the config key based if the player is in combat\n local castBarConfigKey, healthBarConfigKey, manaConfigKey = Plater.GetHashKey (isInCombat)\n \n --get the width and height from what the user set in the options panel\n local healthBarWidth, healthBarHeight = unitFrame.customHealthBarWidth or plateConfigs [healthBarConfigKey][1], unitFrame.customHealthBarHeight or plateConfigs [healthBarConfigKey][2]\n local castBarWidth, castBarHeight = unitFrame.customCastBarWidth or plateConfigs [castBarConfigKey][1], unitFrame.customCastBarHeight or plateConfigs [castBarConfigKey][2]\n local powerBarWidth, powerBarHeight = unitFrame.customPowerBarHeight or plateConfigs [manaConfigKey][1], unitFrame.customPowerBarHeight or plateConfigs [manaConfigKey][2]\n \n --calculate the offset for the cast bar, this is done due to the cast bar be anchored to topleft and topright\n local castBarOffSetX = (healthBarWidth - castBarWidth) / 2\n local castBarOffSetY = plateConfigs.castbar_offset\n \n --calculate offsets for the power bar\n local powerBarOffSetX = (healthBarWidth - powerBarWidth) / 2\n local powerBarOffSetY = 0\n \n --calculate the size deviation for pets\n local unitType = Plater.GetUnitType (plateFrame)\n if (unitType == \"pet\") then\n healthBarHeight = healthBarHeight * Plater.db.profile.pet_height_scale\n healthBarWidth = healthBarWidth * Plater.db.profile.pet_width_scale\n \n elseif (unitType == \"minus\") then\n healthBarHeight = healthBarHeight * Plater.db.profile.minor_height_scale\n healthBarWidth = healthBarWidth * Plater.db.profile.minor_width_scale\n end\n \n --unit frame - is set to be the same size as the plateFrame\n unitFrame:ClearAllPoints()\n unitFrame:SetAllPoints()\n \n --calculates the health bar anchor points\n --it will always be placed in the center of the nameplate area (where it accepts mouse clicks) \n local xOffSet = (plateFrame:GetWidth() - healthBarWidth) / 2\n local yOffSet = (plateFrame:GetHeight() - healthBarHeight) / 2\n \n --set the health bar point\n healthBar:ClearAllPoints()\n PixelUtil.SetPoint (healthBar, \"topleft\", unitFrame, \"topleft\", xOffSet + profile.global_offset_x, -yOffSet + profile.global_offset_y)\n PixelUtil.SetPoint (healthBar, \"bottomright\", unitFrame, \"bottomright\", -xOffSet + profile.global_offset_x, yOffSet + profile.global_offset_y)\n \n --set the cast bar point and size\n castBar:ClearAllPoints()\n PixelUtil.SetPoint (castBar, \"topleft\", healthBar, \"bottomleft\", castBarOffSetX, castBarOffSetY)\n PixelUtil.SetPoint (castBar, \"topright\", healthBar, \"bottomright\", -castBarOffSetX, castBarOffSetY)\n PixelUtil.SetHeight (castBar, castBarHeight)\n PixelUtil.SetSize (castBar.Icon, castBarHeight, castBarHeight)\n PixelUtil.SetSize (castBar.BorderShield, castBarHeight * 1.4, castBarHeight * 1.4)\n \n --set the power bar point and size\n powerBar:ClearAllPoints()\n PixelUtil.SetPoint (powerBar, \"topleft\", healthBar, \"bottomleft\", powerBarOffSetX, powerBarOffSetY)\n PixelUtil.SetPoint (powerBar, \"topright\", healthBar, \"bottomright\", -powerBarOffSetX, powerBarOffSetY)\n PixelUtil.SetHeight (powerBar, powerBarHeight)\n \n --power bar are hidden by default, show it if there's a custom size for it\n if (unitFrame.customPowerBarWidth and unitFrame.customPowerBarHeight) then\n powerBar:SetUnit (unitFrame.unit)\n end\n \n --aura frames\n local bf1Anchor = Plater.db.profile.aura_frame1_anchor\n Plater.SetAnchor (buffFrame1, {side = bf1Anchor.side, x = bf1Anchor.x, y = bf1Anchor.y + plateConfigs.buff_frame_y_offset}, unitFrame.healthBar, (Plater.db.profile.aura_grow_direction or 2) == 2)\n \n local bf2Anchor = Plater.db.profile.aura_frame2_anchor\n Plater.SetAnchor (buffFrame2, {side = bf2Anchor.side, x = bf2Anchor.x, y = bf2Anchor.y + plateConfigs.buff_frame_y_offset}, unitFrame.healthBar, (Plater.db.profile.aura2_grow_direction or 2) == 2)\n \nend\n\n\n", }, @@ -3677,16 +4151,15 @@ PlaterDB = { ["Icon"] = 574574, ["Enabled"] = false, ["Revision"] = 93, - ["semver"] = "", - ["Author"] = "Kastfall-Azralon", - ["Desc"] = "Function Plater.UpdatePlateSize from Plater.lua exported to scritps.", - ["Name"] = "Reorder Nameplate [Plater]", - ["PlaterCore"] = 1, ["Options"] = { }, - ["HooksTemp"] = { - }, + ["Author"] = "Kastfall-Azralon", + ["Desc"] = "Function Plater.UpdatePlateSize from Plater.lua exported to scritps.", ["version"] = -1, + ["PlaterCore"] = 1, + ["semver"] = "", + ["LastHookEdited"] = "", + ["Name"] = "Reorder Nameplate [Plater]", }, -- [3] { ["Enabled"] = false, @@ -3702,7 +4175,7 @@ PlaterDB = { ["Nameplate Updated"] = "function (self, unitId, unitFrame, envTable)\n \n --do nothing if the player isn't in combat\n if (not Plater.IsInCombat()) then\n return \n end\n \n --do nothing if the unit isn't in combat\n if (not unitFrame.InCombat) then\n return\n end\n \n --do nothing if the unit is the player it self\n if (unitFrame.IsSelf) then\n return\n end\n \n --check the auras\n local hasAura = false\n \n for auraName, _ in pairs (envTable.TrackingAuras) do\n if (Plater.NameplateHasAura (unitFrame, auraName)) then\n hasAura = true\n break\n end\n end\n \n if (not hasAura) then\n Plater.SetNameplateColor (unitFrame, envTable.NameplateColor)\n else\n if (envTable.ForceRefreshNameplateColor) then\n Plater.RefreshNameplateColor (unitFrame) \n end\n end \n \nend", ["Constructor"] = "function (self, unitId, unitFrame, envTable)\n --Important: lines starting with double dashes are comments and are not part of the script\n \n --set this to true if you are not using threat colors in the health bar\n envTable.ForceRefreshNameplateColor = true\n \n --if the unit does not have any of the following auras, it will be painted with the color listed below\n --list of spells to track, can be the spell name (case-sensitive) or the spellID\n envTable.TrackingAuras = {\n --[\"Nightblade\"] = true, --this is an example using the spell name\n --[195452] = true, --this is an example using the spellID\n \n }\n \n --which color the nameplate wil be changed\n --color can be added as:\n --color names: \"red\", \"yellow\"\n --color hex: \"#FF0000\", \"#FFFF00\"\n --color table: {1, 0, 0}, {1, 1, 0} \n --you may also use /plater colors\n envTable.NameplateColor = \"pink\"\n \nend", }, - ["Name"] = "Don't Have Aura [Plater]", + ["Time"] = 1554138845, ["PlaterCore"] = 1, ["LoadConditions"] = { ["talent"] = { @@ -3728,7 +4201,7 @@ PlaterDB = { }, ["url"] = "", ["Icon"] = 136207, - ["Time"] = 1554138845, + ["Name"] = "Don't Have Aura [Plater]", }, -- [4] { ["Enabled"] = false, @@ -3748,7 +4221,7 @@ PlaterDB = { ["Enter Combat"] = "function (self, unitId, unitFrame, envTable)\n \n --check if can show the amount of targets\n envTable.CanShow = envTable.CanShowTargetAmount();\n \n if (not envTable.CanShow) then\n envTable.TargetAmount:SetText (\"\") \n end\nend\n\n\n\n\n", ["Constructor"] = "--all gray text like this are comments and do not run as code\n--build the settings and basic functions for the hook\n\nfunction (self, unitId, unitFrame, envTable)\n \n --declare setting variables:\n local textColor = \"orange\";\n local textSize = 12;\n \n local showInRaid = true;\n local showInDungeon = true;\n local showInArena = false;\n local showInBattleground = false;\n local showInOpenWorld = true;\n \n envTable.UpdateInterval = 2; --each 2 updates in the nameplate it'll update the amount of targets\n \n local anchor = {\n side = 6, --1 = topleft 2 = left 3 = bottomleft 4 = bottom 5 = bottom right 6 = right 7 = topright 8 = top\n x = 4, --x offset\n y = 0, --y offset\n };\n \n \n ---------------------------------------------------------------------------------------------------------------------------------------------\n \n \n --frames:\n \n --create the text that will show the amount of people targeting the unit\n if (not unitFrame.healthBar.TargetAmount) then\n envTable.TargetAmount = Plater:CreateLabel (unitFrame.healthBar, \"\", textSize, textColor);\n Plater.SetAnchor (envTable.TargetAmount, anchor);\n unitFrame.healthBar.TargetAmount = envTable.TargetAmount\n end\n \n --in case Plater wipes the envTable\n envTable.TargetAmount = unitFrame.healthBar.TargetAmount\n \n --------------------------------------------------------------------------------------------------------------------------------------------- \n --private variables (they will be used in the other scripts within this hook)\n envTable.CanShow = false;\n envTable.UpdateCooldown = 0;\n envTable.InRaid = false;\n envTable.InParty = false;\n \n --------------------------------------------------------------------------------------------------------------------------------------------- \n --functions\n \n --update the InRaid or InParty proprieties\n function envTable.UpdateGroupType()\n if (IsInRaid()) then\n envTable.InRaid = true;\n envTable.InParty = false; \n \n elseif (IsInGroup()) then\n envTable.InRaid = false;\n envTable.InParty = true; \n \n else\n envTable.InRaid = false; \n envTable.InParty = false;\n end\n end\n \n --this function controls if the amount of targets can show following the settings in the top of this script\n function envTable.CanShowTargetAmount()\n \n local _, instanceType, difficultyID, _, _, _, _, instanceMapID, instanceGroupSize = GetInstanceInfo()\n \n if (showInRaid and instanceType == \"raid\") then\n envTable.UpdateGroupType()\n return true\n end\n \n if (showInDungeon and instanceType == \"party\") then\n envTable.UpdateGroupType()\n return true\n end\n \n if (showInArena and instanceType == \"arena\") then\n envTable.UpdateGroupType()\n return true\n end\n \n if (showInBattleground and instanceType == \"pvp\") then\n envTable.UpdateGroupType()\n return true\n end\n \n if (showInOpenWorld and instanceType == \"none\") then\n envTable.UpdateGroupType()\n if (envTable.InRaid or envTable.InParty) then\n return true\n end\n end\n \n return false\n end\n \n --get the amount of player targetting the unit in raid or party\n function envTable.NumTargetsInRaid (unitFrame)\n local amount = 0\n for i = 1, GetNumGroupMembers() do\n local unit = \"raid\" .. i .. \"target\"\n if (UnitGUID (unit) == unitFrame.namePlateUnitGUID) then\n amount = amount + 1\n end\n end\n \n return amount\n end\n \n function envTable.NumTargetsInParty()\n local amount = 0\n for i = 1, GetNumGroupMembers() - 1 do\n local unit = \"party\" .. i .. \"target\"\n if (UnitGUID (unit) == unitFrame.namePlateUnitGUID) then\n amount = amount + 1\n end\n end\n \n local unit = \"playertarget\"\n if (UnitGUID (unit) == unitFrame.namePlateUnitGUID) then\n amount = amount + 1\n end \n \n return amount\n end\n \nend", }, - ["Name"] = "Players Targeting a Target [Plater]", + ["Time"] = 1548278227, ["PlaterCore"] = 1, ["LoadConditions"] = { ["talent"] = { @@ -3774,7 +4247,7 @@ PlaterDB = { }, ["url"] = "", ["Icon"] = 1966587, - ["Time"] = 1548278227, + ["Name"] = "Players Targeting a Target [Plater]", }, -- [5] { ["Enabled"] = false, @@ -3793,7 +4266,7 @@ PlaterDB = { ["Destructor"] = "function (self, unitId, unitFrame, envTable)\n \n envTable.BorderFrame:Hide()\n \nend\n\n\n", ["Constructor"] = "function (self, unitId, unitFrame, envTable)\n \n --border color\n local borderColor = \"yellow\"\n \n --size of the border\n local borderSize = 1\n \n --transparency\n local borderAlpha = 1\n \n --enabled (set to false it you only want to use the extra border in other scripts)\n local isEnabled = true\n \n --export border (allow the border to be used by other scripts)\n --other scripts can use:\n --unitFrame.healthBar.extraBorder:Show()\n --unitFrame.healthBar.extraBorder:SetVertexColor (r, g, b)\n --unitFrame.healthBar.extraBorder:SetBorderSizes (borderSize)\n local canExportBorder = true\n \n --do not add the border to personal bar\n local noPersonalBar = true\n \n --private\n do\n \n local newBorder = CreateFrame (\"frame\", nil, unitFrame.healthBar, \"NamePlateFullBorderTemplate\")\n envTable.BorderFrame = newBorder\n \n newBorder:SetBorderSizes (borderSize, borderSize, borderSize, borderSize)\n newBorder:UpdateSizes()\n \n local r, g, b = DetailsFramework:ParseColors (borderColor)\n newBorder:SetVertexColor (r, g, b, borderAlpha)\n \n envTable.ShowOnPersonalBar = not noPersonalBar\n \n if (canExportBorder) then\n unitFrame.healthBar.extraBorder = newBorder\n end\n \n if (not isEnabled) then\n envTable.IsEnabled = false\n else\n envTable.IsEnabled = true\n end\n end\n \nend\n\n\n", }, - ["Name"] = "Extra Border [Plater]", + ["Time"] = 1547409079, ["PlaterCore"] = 1, ["LoadConditions"] = { ["talent"] = { @@ -3819,7 +4292,7 @@ PlaterDB = { }, ["url"] = "", ["Icon"] = 133689, - ["Time"] = 1547409079, + ["Name"] = "Extra Border [Plater]", }, -- [6] { ["Enabled"] = false, @@ -3837,7 +4310,7 @@ PlaterDB = { ["Target Changed"] = "function (self, unitId, unitFrame, envTable)\n envTable.UpdateColor (unitFrame)\nend\n\n\n\n\n\n\n\n\n\n\n", ["Constructor"] = "function (self, unitId, unitFrame, envTable)\n \n --usage: color name e.g \"red\" \"yellow\"; color table e.g {1, 0, 0} {1, 1, 0}; hex string e.g. \"#FF0000\" \"FFFF00\"\n \n envTable.TargetColor = \"purple\"\n --envTable.TargetColor = \"#FF00FF\"\n --envTable.TargetColor = {252/255, 0/255, 254/255}\n \n function envTable.UpdateColor (unitFrame)\n --do not change the color of the personal bar\n if (not unitFrame.IsSelf) then\n \n --if this nameplate the current target of the player?\n if (unitFrame.namePlateIsTarget) then\n Plater.SetNameplateColor (unitFrame, envTable.TargetColor) --rgb\n else\n --refresh the nameplate color\n Plater.RefreshNameplateColor (unitFrame)\n end\n end\n end\n \nend\n\n\n\n\n", }, - ["Name"] = "Current Target Color [Plater]", + ["Time"] = 1552354619, ["PlaterCore"] = 1, ["LoadConditions"] = { ["talent"] = { @@ -3863,10 +4336,11 @@ PlaterDB = { }, ["url"] = "", ["Icon"] = 878211, - ["Time"] = 1552354619, + ["Name"] = "Current Target Color [Plater]", }, -- [7] { - ["LastHookEdited"] = "", + ["HooksTemp"] = { + }, ["Hooks"] = { ["Initialization"] = "function (modTable)\n \n --ATTENTION: after enabling this mod, you may have to adjust the anchor point at the Buff Settings tab\n \n local sortByTime = false\n local invertSort = false\n \n --which auras goes first, assign a value (any number), bigger value goes first\n local priority = {\n [\"Vampiric Touch\"] = 50,\n [\"Shadow Word: Pain\"] = 22,\n [\"Mind Flay\"] = 5,\n [\"Pistol Shot\"] = 50,\n [\"Marked for Death\"] = 99,\n }\n \n -- Sort function - do not touch\n Plater.db.profile.aura_sort = true\n \n \n function Plater.AuraIconsSortFunction (aura1, aura2)\n local p1 = priority[aura1.SpellId] or priority[aura1.SpellName] or 1\n local p2 = priority[aura2.SpellId] or priority[aura2.SpellName] or 1\n \n if sortByTime and p1 == p2 then\n if invertSort then\n return (aura1.Duration == 0 and 99999999 or aura1.RemainingTime or 0) > (aura2.Duration == 0 and 99999999 or aura2.RemainingTime or 0)\n else\n return (aura1.Duration == 0 and 99999999 or aura1.RemainingTime or 0) < (aura2.Duration == 0 and 99999999 or aura2.RemainingTime or 0)\n end\n else\n if invertSort then\n return p1 < p2\n else\n return p1 > p2\n end\n end\n end\n \nend\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", }, @@ -3897,19 +4371,19 @@ PlaterDB = { ["Icon"] = "Interface\\AddOns\\Plater\\images\\icon_aura_reorder", ["Enabled"] = false, ["Revision"] = 356, - ["semver"] = "", - ["Author"] = "Ditador-Azralon", - ["Desc"] = "Reorder buffs and debuffs following the settings set in the constructor.", - ["Name"] = "Aura Reorder [Plater]", - ["PlaterCore"] = 1, ["Options"] = { }, - ["HooksTemp"] = { - }, + ["Author"] = "Ditador-Azralon", + ["Desc"] = "Reorder buffs and debuffs following the settings set in the constructor.", ["version"] = -1, + ["PlaterCore"] = 1, + ["semver"] = "", + ["LastHookEdited"] = "", + ["Name"] = "Aura Reorder [Plater]", }, -- [8] { - ["LastHookEdited"] = "", + ["HooksTemp"] = { + }, ["Hooks"] = { ["Cast Update"] = "function (self, unitId, unitFrame, envTable)\n \n envTable.UpdateIconPosition (unitFrame)\n self.ThrottleUpdate = -1\n \nend\n\n\n", ["Cast Start"] = "function (self, unitId, unitFrame, envTable)\n \n unitFrame.castBar.BorderShield:SetDrawLayer(\"artwork\")\n envTable.UpdateIconPosition (unitFrame)\n \nend\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", @@ -3942,11 +4416,6 @@ PlaterDB = { ["Icon"] = "Interface\\AddOns\\Plater\\images\\castbar_icon", ["Enabled"] = false, ["Revision"] = 348, - ["semver"] = "", - ["Author"] = "Ditador-Azralon", - ["Desc"] = "Move the icon of the spell cast to the left or right side of the nameplate.", - ["Name"] = "Cast Bar Icon Settings [P]", - ["PlaterCore"] = 1, ["Options"] = { { ["Type"] = 5, @@ -4100,9 +4569,13 @@ PlaterDB = { ["Fraction"] = true, }, -- [16] }, - ["HooksTemp"] = { - }, + ["Author"] = "Ditador-Azralon", + ["Desc"] = "Move the icon of the spell cast to the left or right side of the nameplate.", ["version"] = -1, + ["PlaterCore"] = 1, + ["semver"] = "", + ["LastHookEdited"] = "", + ["Name"] = "Cast Bar Icon Settings [P]", }, -- [9] { ["Enabled"] = false, @@ -4118,7 +4591,7 @@ PlaterDB = { ["Nameplate Updated"] = "function (self, unitId, unitFrame, envTable)\n \n if (envTable.UseCustomExecutePercent) then\n \n --manual detection\n local healthBar = unitFrame.healthBar\n if (healthBar.CurrentHealth / healthBar.CurrentHealthMax <= envTable.ExecutePercent) then\n envTable.UnitInExecuteRange (unitFrame)\n end \n \n else\n \n --auto detection\n if (unitFrame.InExecuteRange) then\n envTable.UnitInExecuteRange (unitFrame)\n end\n \n end\n \nend\n\n\n\n\n\n\n\n\n\n\n\n\n", ["Constructor"] = "function (self, unitId, unitFrame, envTable)\n \n --execute detection, if true the script will handle the execute percent\n --while false Plater will automatically trigger the execute range\n --you only want to set this to true in case of Plater not detecting the execute range correctly\n envTable.UseCustomExecutePercent = false\n --execute percent, if not detecting automatic, this is the percent to active the execute range\n --use from zero to one, 0.20 is equal to 20% of the unit life\n envTable.ExecutePercent = 0.20\n \n --allow this script to change the nameplate color when the unit is in execute range\n envTable.CanChangeColor = true\n --change the health bar color to this color when the unit is in execute range\n --color can be set as:\n --color names: \"red\", \"yellow\"\n --color hex: \"#FF0000\", \"#FFFF00\"\n --color table: {1, 0, 0}, {1, 1, 0}\n envTable.ExecuteColor = \"green\"\n \n --border color\n envTable.CanChangeBorderColor = false\n envTable.BorderColor = \"red\"\n \n --hide the default health divisor and the health execute indicator\n envTable.HideHealthDivisor = false\n --if not hidden, adjust the health divisor settings and the health execute indicator\n envTable.HealthDivisorAlpha = 0.5\n envTable.HealthDivisorColor = \"white\"\n envTable.HealthExecuteIndicatorAlpha = 0.15\n envTable.HealthExecuteIndicatorColor = \"darkred\"\n \n \n --private (internal functions)\n do\n function envTable.UnitInExecuteRange (unitFrame)\n --check if can change the execute color\n if (envTable.CanChangeColor) then\n Plater.SetNameplateColor (unitFrame, envTable.ExecuteColor)\n end\n \n if (envTable.CanChangeBorderColor) then\n Plater.SetBorderColor (unitFrame, envTable.BorderColor)\n end\n \n if (envTable.HideHealthDivisor) then\n unitFrame.healthBar.healthCutOff:Hide() \n unitFrame.healthBar.executeRange:Hide()\n \n else\n envTable.UpdateHealthDivisor (unitFrame)\n \n end\n end\n \n function envTable.UpdateHealthDivisor (unitFrame)\n local healthBar = unitFrame.healthBar\n \n healthBar.healthCutOff:Show()\n healthBar.healthCutOff:SetVertexColor (DetailsFramework:ParseColors (envTable.HealthDivisorColor))\n healthBar.healthCutOff:SetAlpha (envTable.HealthDivisorAlpha)\n \n healthBar.executeRange:Show()\n healthBar.executeRange:SetVertexColor (DetailsFramework:ParseColors (envTable.HealthExecuteIndicatorColor))\n healthBar.executeRange:SetAlpha (envTable.HealthExecuteIndicatorAlpha)\n \n if (envTable.UseCustomExecutePercent) then\n healthBar.healthCutOff:ClearAllPoints()\n healthBar.executeRange:ClearAllPoints()\n \n healthBar.healthCutOff:SetSize (healthBar:GetHeight(), healthBar:GetHeight())\n healthBar.healthCutOff:SetPoint (\"center\", healthBar, \"left\", healthBar:GetWidth() * envTable.ExecutePercent, 0)\n \n healthBar.executeRange:SetTexCoord (0, envTable.ExecutePercent, 0, 1)\n healthBar.executeRange:SetHeight (healthBar:GetHeight())\n healthBar.executeRange:SetPoint (\"left\", healthBar, \"left\", 0, 0)\n healthBar.executeRange:SetPoint (\"right\", healthBar.healthCutOff, \"center\")\n end\n \n end\n end\n \nend", }, - ["Name"] = "Execute Range [Plater]", + ["Time"] = 1547406548, ["PlaterCore"] = 1, ["LoadConditions"] = { ["talent"] = { @@ -4144,10 +4617,11 @@ PlaterDB = { }, ["url"] = "", ["Icon"] = 135358, - ["Time"] = 1547406548, + ["Name"] = "Execute Range [Plater]", }, -- [10] { - ["LastHookEdited"] = "", + ["HooksTemp"] = { + }, ["Hooks"] = { ["Initialization"] = "function (modTable)\n --list of npcs and their colors, can be inserted:\n --name of the unit\n --name of the unit in lower case\n --npcID of the unit\n \n --color can be added as:\n --color names: \"red\", \"yellow\"\n --color hex: \"#FF0000\", \"#FFFF00\"\n --color table: {1, 0, 0}, {1, 1, 0} \n \n modTable.changeBarColor = modTable.config.changeBarColor\n modTable.changeBorderColor = modTable.config.changeBorderColor\n modTable.resetColors = modTable.config.resetColors\n \n modTable.ListOfNpcs = {\n [61146] = modTable.config.color, --\"olive\", --monk statue npcID\n [103822] = modTable.config.color, --\"olive\", --druid treant npcID\n [15352] = modTable.config.color, --\"olive\", --shaman elemental\n [95072] = modTable.config.color, --\"olive\", --shaman greater earth elemental npcID\n [61056] = modTable.config.color, --\"olive\", --shaman primal earth elemental npcID\n \n }\nend\n\n\n", ["Nameplate Updated"] = "function (self, unitId, unitFrame, envTable, modTable)\n if not unitId then\n return\n end\n --get the GUID of the target of the unit\n local targetGUID = UnitGUID (unitId .. \"target\")\n \n if (targetGUID) then\n \n --get the npcID of the target\n local npcID = Plater.GetNpcIDFromGUID (targetGUID)\n local unitName = UnitName (unitId .. \"target\")\n local unitNameLower = string.lower (unitName)\n \n --check if the npcID of this unit is in the npc list \n local color = modTable.ListOfNpcs [npcID] or modTable.ListOfNpcs [unitName] or modTable.ListOfNpcs [unitNameLower]\n \n if color then\n if modTable.changeBarColor then\n Plater.SetNameplateColor (unitFrame, color)\n end\n if modTable.changeBorderColor then\n Plater.SetBorderColor (unitFrame, color)\n end\n unitFrame.attackingSpecificUnitFromMod = true\n elseif unitFrame.attackingSpecificUnitFromMod and modTable.resetColors then\n if modTable.changeBorderColor then\n Plater.SetBorderColor (unitFrame)\n end\n if modTable.changeBarColor then\n Plater.RefreshNameplateColor (unitFrame)\n end\n unitFrame.attackingSpecificUnitFromMod = false\n end\n end\nend", @@ -4179,11 +4653,6 @@ PlaterDB = { ["Icon"] = "Interface\\AddOns\\Plater\\images\\icon_attacking_unit", ["Enabled"] = false, ["Revision"] = 363, - ["semver"] = "", - ["Author"] = "Kastfall-Azralon", - ["Desc"] = "Change the nameplate color if the unit is attacking a specific unit like Monk's Ox Statue or Druid's Treants. You may edit which units it track in the constructor script.", - ["Name"] = "Attacking Specific Unit [Plater]", - ["PlaterCore"] = 1, ["Options"] = { { ["Type"] = 1, @@ -4223,12 +4692,17 @@ PlaterDB = { ["Desc"] = "", }, -- [4] }, - ["HooksTemp"] = { - }, + ["Author"] = "Kastfall-Azralon", + ["Desc"] = "Change the nameplate color if the unit is attacking a specific unit like Monk's Ox Statue or Druid's Treants. You may edit which units it track in the constructor script.", ["version"] = -1, + ["PlaterCore"] = 1, + ["semver"] = "", + ["LastHookEdited"] = "", + ["Name"] = "Attacking Specific Unit [Plater]", }, -- [11] { - ["LastHookEdited"] = "", + ["HooksTemp"] = { + }, ["Hooks"] = { ["Nameplate Created"] = "function (self, unitId, unitFrame, envTable)\n \n --run constructor!\n --constructor is executed only once when any script of the hook runs.\n \nend\n\n\n", ["Nameplate Added"] = "function (self, unitId, unitFrame, envTable)\n \n --check if need update the amount of combo points shown\n if (envTable.LastPlayerTalentUpdate > envTable.LastUpdate) then\n envTable.UpdateComboPointAmount()\n end \n \n if (unitFrame.namePlateIsTarget and not unitFrame.IsSelf) then\n envTable.ComboPointFrame:Show()\n envTable.UpdateComboPoints()\n \n else\n envTable.ComboPointFrame:Hide()\n end \n \nend\n\n\n", @@ -4271,27 +4745,36 @@ PlaterDB = { ["Icon"] = 135426, ["Enabled"] = false, ["Revision"] = 284, - ["semver"] = "", - ["Author"] = "Izimode-Azralon", - ["Desc"] = "Show combo points above the nameplate for Druid Feral and Rogues.", - ["Name"] = "Combo Points [Plater]", - ["PlaterCore"] = 1, ["Options"] = { }, - ["HooksTemp"] = { - }, + ["Author"] = "Izimode-Azralon", + ["Desc"] = "Show combo points above the nameplate for Druid Feral and Rogues.", ["version"] = -1, + ["PlaterCore"] = 1, + ["semver"] = "", + ["LastHookEdited"] = "", + ["Name"] = "Combo Points [Plater]", }, -- [12] }, ["auras_per_row_auto"] = false, ["extra_icon_caster_outline"] = "OUTLINE", ["auras_per_row_amount2"] = 2, ["aura_width"] = 20, - ["health_statusbar_bgcolor"] = { - 0.1137254901960784, -- [1] - 0.1137254901960784, -- [2] - 0.1137254901960784, -- [3] - 1, -- [4] + ["ghost_auras"] = { + ["auras"] = { + ["PRIEST"] = { + [3] = { + [589] = true, + [34914] = true, + }, + }, + ["WARLOCK"] = { + { + [172] = true, + [980] = true, + }, -- [1] + }, + }, }, ["pet_width_scale"] = 0.9999999403953552, ["extra_icon_stack_outline"] = "OUTLINE", @@ -4300,16 +4783,19 @@ PlaterDB = { }, ["aura2_grow_direction"] = 3, ["range_check_in_range_or_target_alpha_friendlies"] = 1, - ["extra_icon_show_enrage"] = true, ["pet_height_scale"] = 0.9999999403953552, ["aura_x_offset"] = 0, ["first_run3"] = true, ["ui_parent_scale_tune"] = 1.406249965948519, - ["aura_height2"] = 20, + ["bossmod_cooldown_text_size"] = 12, ["health_statusbar_bgtexture"] = "GennUI", ["aura_tracker"] = { ["buff_tracked"] = { + [227931] = true, + [233210] = true, [209859] = true, + [163689] = true, + [297133] = true, }, }, ["extra_icon_caster_font"] = "GennUI", @@ -4320,29 +4806,24 @@ PlaterDB = { 0.3254901960784314, -- [3] 0.9600000008940697, -- [4] }, - ["focus_indicator_enabled"] = false, ["use_ui_parent"] = true, + ["focus_indicator_enabled"] = false, ["extra_icon_timer_font"] = "GennUI", - ["cast_statusbar_fadeout_time"] = 0.2000000029802322, ["use_health_animation"] = true, - ["aura2_x_offset"] = 0, - ["cast_statusbar_bgcolor"] = { - 0.1137254901960784, -- [1] - 0.1137254901960784, -- [2] - 0.1137254901960784, -- [3] - 0.8900000005960464, -- [4] - }, - ["indicator_spec"] = false, + ["aura_width2"] = 20, ["aura_grow_direction"] = 1, ["castbar_icon_attach_to_side"] = "right", - ["cast_statusbar_color_interrupted"] = { - 0.0196078431372549, -- [1] - 0.1843137254901961, -- [2] - 0.3176470588235294, -- [3] - }, - ["patch_version"] = 17, + ["patch_version"] = 20, ["range_check_in_range_or_target_alpha"] = 1, ["aura_timer_text_size"] = 12, + ["number_region_first_run"] = true, + ["castbar_target_font"] = "GennUI", + ["health_statusbar_bgcolor"] = { + 0.1137254901960784, -- [1] + 0.1137254901960784, -- [2] + 0.1137254901960784, -- [3] + 1, -- [4] + }, ["script_data_trash"] = { { ["ConstructorCode"] = "function (self, unitId, unitFrame, envTable, scriptTable)\n --castbar color (when can be interrupted)\n envTable.CastbarColor = scriptTable.config.castbarColor\n \n --flash duration\n local CONFIG_BACKGROUND_FLASH_DURATION = scriptTable.config.flashDuration\n \n --add this value to the cast bar height\n envTable.CastBarHeightAdd = scriptTable.config.castBarHeight\n \n --create a fast flash above the cast bar\n envTable.FullBarFlash = envTable.FullBarFlash or Plater.CreateFlash (self, 0.05, 1, \"white\")\n \n --create a camera shake for the nameplate\n envTable.FrameShake = Plater:CreateFrameShake (unitFrame, scriptTable.config.shakeDuration, scriptTable.config.shakeAmplitude, scriptTable.config.shakeFrequency, false, false, 0, 1, 0.05, 0.1, Plater.GetPoints (unitFrame))\n \n --create a texture to use for a flash behind the cast bar\n local backGroundFlashTexture = Plater:CreateImage (self, [[Interface\\ACHIEVEMENTFRAME\\UI-Achievement-Alert-Glow]], self:GetWidth()+60, self:GetHeight()+50, \"background\", {0, 400/512, 0, 170/256})\n backGroundFlashTexture:SetBlendMode (\"ADD\", 7)\n backGroundFlashTexture:SetDrawLayer(\"OVERLAY\", 7)\n backGroundFlashTexture:SetPoint (\"center\", self, \"center\")\n backGroundFlashTexture:Hide()\n \n --create the animation hub to hold the flash animation sequence\n envTable.BackgroundFlash = envTable.BackgroundFlash or Plater:CreateAnimationHub (backGroundFlashTexture, \n function()\n backGroundFlashTexture:Show()\n end,\n function()\n backGroundFlashTexture:Hide()\n end\n )\n \n --create the flash animation sequence\n envTable.BackgroundFlash.fadeIn = envTable.BackgroundFlash.fadeIn or Plater:CreateAnimation (envTable.BackgroundFlash, \"ALPHA\", 1, CONFIG_BACKGROUND_FLASH_DURATION/2, 0, .75)\n envTable.BackgroundFlash.fadeIn:SetDuration(CONFIG_BACKGROUND_FLASH_DURATION/2)\n \n envTable.BackgroundFlash.fadeOut = envTable.BackgroundFlash.fadeOut or Plater:CreateAnimation (envTable.BackgroundFlash, \"ALPHA\", 2, CONFIG_BACKGROUND_FLASH_DURATION/2, 1, 0) \n envTable.BackgroundFlash.fadeOut:SetDuration(CONFIG_BACKGROUND_FLASH_DURATION/2)\n \n --envTable.BackgroundFlash:Play() --envTable.BackgroundFlash:Stop() \n \n \n \n \n \nend\n\n\n\n\n", @@ -4509,16 +4990,42 @@ PlaterDB = { }, }, -- [1] }, - ["number_region_first_run"] = true, ["extra_icon_timer_outline"] = "OUTLINE", ["castbar_target_anchor"] = { ["y"] = -1, ["side"] = 4, }, - ["castbar_target_font"] = "GennUI", - ["aura_alpha"] = 1, + ["script_auto_imported"] = { + ["Unit - Important"] = 11, + ["Aura - Buff Alert"] = 13, + ["Cast - Very Important"] = 12, + ["Cast - Alert + Timer [P]"] = 2, + ["Aura - Debuff Alert"] = 11, + ["Aura is Shield [P]"] = 1, + ["Cast - Castbar is Timer [P]"] = 2, + ["Cast - Ultra Important"] = 11, + ["Cast - Big Alert"] = 12, + ["Fixate On You"] = 11, + ["Cast - Small Alert"] = 11, + ["Relics 9.2 M Dungeons"] = 2, + ["Explosion Affix M+"] = 11, + ["Spiteful Affix"] = 3, + ["Cast - Glowing [P]"] = 1, + ["Unit - Main Target"] = 11, + ["Aura - Blink Time Left"] = 13, + ["Fixate by Unit Buff [P]"] = 1, + ["Countdown"] = 11, + ["Unit - Health Markers"] = 12, + ["Cast - Frontal Cone"] = 11, + ["Fixate"] = 11, + ["Cast - Tank Interrupt"] = 12, + ["Auto Set Skull"] = 11, + ["Cast - Important Target [P]"] = 1, + ["Unit - Show Energy"] = 11, + }, + ["extra_icon_show_enrage"] = true, + ["cast_statusbar_texture"] = "GennUI", ["indicator_faction"] = false, - ["extra_icon_height"] = 30, ["range_check_alpha_friendlies"] = 0.6499999761581421, ["cast_statusbar_color_finished"] = { 0.1372549019607843, -- [1] @@ -4526,10 +5033,16 @@ PlaterDB = { 0.1294117647058823, -- [3] 0.9600000008940697, -- [4] }, + ["cast_statusbar_color_interrupted"] = { + 0.0196078431372549, -- [1] + 0.1843137254901961, -- [2] + 0.3176470588235294, -- [3] + }, }, }, ["profileKeys"] = { ["Gennui - Outland"] = "Default", + ["Dæthlørd - Stormscale"] = "Default", }, ["captured_casts"] = { [345495] = { @@ -4544,6 +5057,9 @@ PlaterDB = { [352520] = { ["npcID"] = 178601, }, + [167385] = { + ["npcID"] = 109096, + }, [205231] = { ["npcID"] = 103673, }, diff --git a/ElvUI_GennUI/changelog.md b/ElvUI_GennUI/changelog.md index cea0c75..2a656c2 100644 --- a/ElvUI_GennUI/changelog.md +++ b/ElvUI_GennUI/changelog.md @@ -1,5 +1,9 @@ # Changelog +**v2.75 [26/10/2022]** +- Initial Dragonflight Pre-Patch support. +- Various Pre-Patch bug fixes. + **v2.74 [03/10/2022]** - TooltipItemIcons fix (Thx to brykrys) diff --git a/ElvUI_GennUI/core/actionbars.lua b/ElvUI_GennUI/core/actionbars.lua index e7fabce..607b629 100644 --- a/ElvUI_GennUI/core/actionbars.lua +++ b/ElvUI_GennUI/core/actionbars.lua @@ -155,4 +155,5 @@ E.db["actionbar"]["stanceBar"]["mouseover"] = true E.db["actionbar"]["useRangeColorText"] = true E.db["actionbar"]["vehicleExitButton"]["hotkeyFontOutline"] = "OUTLINE" E.db["actionbar"]["zoneActionButton"]["clean"] = true +E.db["cooldown"]["targetAura"] = false end diff --git a/ElvUI_GennUI/core/extra/WT.lua b/ElvUI_GennUI/core/extra/WT.lua index 0b01928..f694e30 100644 --- a/ElvUI_GennUI/core/extra/WT.lua +++ b/ElvUI_GennUI/core/extra/WT.lua @@ -14,20 +14,25 @@ E.db["movers"]["WTExtraItemsBar2Mover"] = "BOTTOMRIGHT,UIParent,BOTTOMRIGHT,-302 E.db["movers"]["WTGameBarAnchor"] = "TOP,ElvUIParent,TOP,0,-4" E.db["movers"]["WTRaidMarkersBarAnchor"] = "BOTTOM,ElvUIParent,BOTTOM,-342,378" E.db["WT"]["announcement"]["goodbye"]["enable"] = false +E.db["WT"]["announcement"]["interrupt"]["enable"] = false E.db["WT"]["announcement"]["interrupt"]["player"]["channel"]["instance"] = "SAY" E.db["WT"]["announcement"]["interrupt"]["player"]["channel"]["party"] = "SAY" E.db["WT"]["announcement"]["interrupt"]["player"]["channel"]["raid"] = "SAY" +E.db["WT"]["announcement"]["thanks"]["resurrectionText"] = "%target%, thank you for %spell%. :)" E.db["WT"]["announcement"]["threatTransfer"]["enable"] = false +E.db["WT"]["announcement"]["utility"]["enable"] = false E.db["WT"]["announcement"]["utility"]["spells"]["195782"]["enable"] = false E.db["WT"]["announcement"]["utility"]["spells"]["261602"]["enable"] = false E.db["WT"]["announcement"]["utility"]["spells"]["54710"]["enable"] = false E.db["WT"]["combat"]["combatAlert"]["animationSize"] = 0.7 E.db["WT"]["combat"]["combatAlert"]["speed"] = 1.3 +E.db["WT"]["combat"]["covenantHelper"]["enable"] = false E.db["WT"]["combat"]["raidMarkers"]["backdrop"] = false E.db["WT"]["combat"]["raidMarkers"]["backdropSpacing"] = 1 E.db["WT"]["combat"]["raidMarkers"]["buttonSize"] = 22 E.db["WT"]["combat"]["raidMarkers"]["spacing"] = 1 E.db["WT"]["combat"]["raidMarkers"]["tooltip"] = false +E.db["WT"]["item"]["contacts"]["enable"] = false E.db["WT"]["item"]["delete"]["enable"] = false E.db["WT"]["item"]["extraItemsBar"]["bar1"]["backdrop"] = false E.db["WT"]["item"]["extraItemsBar"]["bar1"]["backdropSpacing"] = 1 @@ -35,7 +40,7 @@ E.db["WT"]["item"]["extraItemsBar"]["bar1"]["bindFont"]["name"] = "GennUI" E.db["WT"]["item"]["extraItemsBar"]["bar1"]["buttonHeight"] = 28 E.db["WT"]["item"]["extraItemsBar"]["bar1"]["buttonWidth"] = 28 E.db["WT"]["item"]["extraItemsBar"]["bar1"]["countFont"]["name"] = "GennUI" -E.db["WT"]["item"]["extraItemsBar"]["bar1"]["include"] = "QUEST,TORGHAST,UTILITY" +E.db["WT"]["item"]["extraItemsBar"]["bar1"]["include"] = "QUEST,UTILITY,OPENABLE" E.db["WT"]["item"]["extraItemsBar"]["bar1"]["numButtons"] = 6 E.db["WT"]["item"]["extraItemsBar"]["bar1"]["spacing"] = 2 E.db["WT"]["item"]["extraItemsBar"]["bar2"]["backdrop"] = false @@ -44,7 +49,7 @@ E.db["WT"]["item"]["extraItemsBar"]["bar2"]["bindFont"]["name"] = "GennUI" E.db["WT"]["item"]["extraItemsBar"]["bar2"]["buttonHeight"] = 28 E.db["WT"]["item"]["extraItemsBar"]["bar2"]["buttonWidth"] = 28 E.db["WT"]["item"]["extraItemsBar"]["bar2"]["countFont"]["name"] = "GennUI" -E.db["WT"]["item"]["extraItemsBar"]["bar2"]["include"] = "POTIONSL,FLASKSL,FOODSL,FOODVENDOR,MAGEFOOD" +E.db["WT"]["item"]["extraItemsBar"]["bar2"]["include"] = "POTIONDF,FLASKDF,FOODDF,FOODVENDOR,MAGEFOOD" E.db["WT"]["item"]["extraItemsBar"]["bar2"]["numButtons"] = 6 E.db["WT"]["item"]["extraItemsBar"]["bar2"]["spacing"] = 2 E.db["WT"]["item"]["extraItemsBar"]["bar3"]["enable"] = false @@ -71,10 +76,9 @@ E.db["WT"]["social"]["chatText"]["removeBrackets"] = false E.db["WT"]["social"]["chatText"]["removeRealm"] = false E.db["WT"]["social"]["friendList"]["nameFont"]["size"] = 12 E.db["WT"]["social"]["friendList"]["textures"]["factionIcon"] = true -E.db["WT"]["social"]["friendList"]["textures"]["status"] = "Default" +E.db["WT"]["social"]["friendList"]["textures"]["status"] = "default" E.db["WT"]["social"]["smartTab"]["enable"] = false E.db["WT"]["tooltips"]["groupInfo"]["enable"] = false -E.private["WT"]["combat"]["talentManager"]["enable"] = false E.private["WT"]["maps"]["minimapButtons"]["backdrop"] = false E.private["WT"]["maps"]["minimapButtons"]["backdropSpacing"] = 0 E.private["WT"]["maps"]["minimapButtons"]["buttonSize"] = 20 @@ -83,6 +87,7 @@ E.private["WT"]["misc"]["lfgList"]["line"]["tex"] = "GennUI" E.private["WT"]["misc"]["moveSpeed"] = true E.private["WT"]["quest"]["objectiveTracker"]["cosmeticBar"]["offsetY"] = -13 E.private["WT"]["quest"]["objectiveTracker"]["cosmeticBar"]["texture"] = "GennUI" +E.private["WT"]["quest"]["objectiveTracker"]["cosmeticBar"]["width"] = 230 E.private["WT"]["quest"]["objectiveTracker"]["header"]["color"]["b"] = 0.93333333333333 E.private["WT"]["quest"]["objectiveTracker"]["header"]["color"]["g"] = 0.52156862745098 E.private["WT"]["quest"]["objectiveTracker"]["header"]["color"]["r"] = 0.32941176470588 @@ -107,6 +112,7 @@ E.private["WT"]["skins"]["widgets"]["treeGroupButton"]["enable"] = false E.private["WT"]["skins"]["widgets"]["treeGroupButton"]["selected"]["backdropClassColor"] = true E.private["WT"]["skins"]["widgets"]["treeGroupButton"]["selected"]["borderClassColor"] = true E.private["WT"]["skins"]["widgets"]["treeGroupButton"]["selected"]["texture"] = "GennUI" +E.private["WT"]["tooltips"]["covenant"] = false E.private["WT"]["tooltips"]["dominationRank"] = false E.private["WT"]["tooltips"]["factionIcon"] = false E.private["WT"]["tooltips"]["icon"] = false diff --git a/ElvUI_GennUI/core/movers.lua b/ElvUI_GennUI/core/movers.lua index 3a912ab..9935e87 100644 --- a/ElvUI_GennUI/core/movers.lua +++ b/ElvUI_GennUI/core/movers.lua @@ -15,9 +15,11 @@ E.db["movers"]["BNETMover"] = "BOTTOMLEFT,UIParent,BOTTOMLEFT,4,187" E.db["movers"]["BelowMinimapContainerMover"] = "TOPRIGHT,UIParent,TOPRIGHT,-369,-288" E.db["movers"]["BossButton"] = "BOTTOM,UIParent,BOTTOM,-288,86" E.db["movers"]["BossHeaderMover"] = "BOTTOMRIGHT,ElvUIParent,BOTTOMRIGHT,-326,403" +E.db["movers"]["BuffsMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-184,-4" E.db["movers"]["ClassBarMover"] = "BOTTOM,ElvUIParent,BOTTOM,-284,372" E.db["movers"]["DTPanelCoordsMover"] = "TOPRIGHT,UIParent,TOPRIGHT,-32,-159" E.db["movers"]["DTPanelMain DTMover"] = "BOTTOM,UIParent,BOTTOM,0,0" +E.db["movers"]["DebuffsMover"] = "TOPRIGHT,ElvUIParent,TOPRIGHT,-184,-186" E.db["movers"]["DurabilityFrameMover"] = "TOP,UIParent,TOP,330,-156" E.db["movers"]["ElvAB_1"] = "BOTTOM,ElvUIParent,BOTTOM,0,31" E.db["movers"]["ElvAB_2"] = "BOTTOM,ElvUIParent,BOTTOM,0,64" diff --git a/ElvUI_GennUI/core/nameplates.lua b/ElvUI_GennUI/core/nameplates.lua index dc4b5fb..9cc1dfc 100644 --- a/ElvUI_GennUI/core/nameplates.lua +++ b/ElvUI_GennUI/core/nameplates.lua @@ -186,6 +186,7 @@ E.db["nameplates"]["units"]["FRIENDLY_NPC"]["name"]["font"] = "GennUI" E.db["nameplates"]["units"]["FRIENDLY_NPC"]["name"]["fontSize"] = 14 E.db["nameplates"]["units"]["FRIENDLY_NPC"]["name"]["format"] = "[namecolor][name:abbrev:medium]" E.db["nameplates"]["units"]["FRIENDLY_NPC"]["name"]["yOffset"] = -12 +E.db["nameplates"]["units"]["FRIENDLY_NPC"]["nameOnly"] = true E.db["nameplates"]["units"]["FRIENDLY_NPC"]["questIcon"]["font"] = "GennUI" E.db["nameplates"]["units"]["FRIENDLY_NPC"]["title"]["enable"] = true E.db["nameplates"]["units"]["FRIENDLY_NPC"]["title"]["font"] = "GennUI" @@ -224,6 +225,7 @@ E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["name"]["font"] = "GennUI" E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["name"]["fontSize"] = 14 E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["name"]["format"] = "[namecolor][name:abbrev:medium]" E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["name"]["yOffset"] = -12 +E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["nameOnly"] = true E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["pvpclassificationindicator"]["enable"] = true E.db["nameplates"]["units"]["FRIENDLY_PLAYER"]["title"]["format"] = "[npctitle]" diff --git a/ElvUI_GennUI/init.lua b/ElvUI_GennUI/init.lua index 9ce0eea..b55ddf8 100644 --- a/ElvUI_GennUI/init.lua +++ b/ElvUI_GennUI/init.lua @@ -14,7 +14,7 @@ GNUI.Config = {} GNUI.Retail = WOW_PROJECT_ID == WOW_PROJECT_MAINLINE GNUI.Classic = WOW_PROJECT_ID == WOW_PROJECT_CLASSIC -GNUI.TBC = WOW_PROJECT_ID == WOW_PROJECT_BURNING_CRUSADE_CLASSIC +GNUI.Wrath = WOW_PROJECT_ID == WOW_PROJECT_WRATH_CLASSIC --[[ Default Options ]]-- P['GNUI'] = { diff --git a/ElvUI_GennUI/modules/customtags.lua b/ElvUI_GennUI/modules/customtags.lua index 838370c..54246b3 100644 --- a/ElvUI_GennUI/modules/customtags.lua +++ b/ElvUI_GennUI/modules/customtags.lua @@ -25,7 +25,7 @@ if GNUI.Retail then ElvUF.Tags.Methods['gnuihmana'] = function(unit) local min = UnitPower(unit, SPELL_POWER_MANA) local max = UnitPowerMax(unit, SPELL_POWER_MANA) - local CurPercent = (min/max)*100 + local CurPercent = (min/(max+1))*100 local CurRole = UnitGroupRolesAssigned(unit) if CurRole == 'HEALER' and min ~= 0 and min ~= max then