From 8f1df5e015c21ef19c4b47a9585a108f4c688892 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Sat, 12 Dec 2020 18:08:11 -0300 Subject: [PATCH] small bug fixes --- Libs/DF/spells.lua | 1 - Libs/LibRaidStatus/ThingsToMantain.lua | 1 - core/parser.lua | 5 ----- frames/window_options2_sections.lua | 11 +++++++++++ functions/spellcache.lua | 5 +++++ functions/spells.lua | 6 ------ 6 files changed, 16 insertions(+), 13 deletions(-) diff --git a/Libs/DF/spells.lua b/Libs/DF/spells.lua index 979ddbb2..45c5f529 100644 --- a/Libs/DF/spells.lua +++ b/Libs/DF/spells.lua @@ -387,7 +387,6 @@ DF.CooldownsBySpec = { --marksmanship [254] = { [193526] = 1, --Trueshot - [260402] = 1, --Double tap [186265] = 2, --Aspect of the Turtle [199483] = 2, --Camouflage (talent) [109304] = 2, --Exhilaration diff --git a/Libs/LibRaidStatus/ThingsToMantain.lua b/Libs/LibRaidStatus/ThingsToMantain.lua index f4fcb81c..a7cbe556 100644 --- a/Libs/LibRaidStatus/ThingsToMantain.lua +++ b/Libs/LibRaidStatus/ThingsToMantain.lua @@ -467,7 +467,6 @@ LIB_RAID_STATUS_COOLDOWNS_BY_SPEC = { --marksmanship [254] = { [193526] = 1, --Trueshot - [260402] = 1, --Double tap [186265] = 2, --Aspect of the Turtle [199483] = 2, --Camouflage (talent) [109304] = 2, --Exhilaration diff --git a/core/parser.lua b/core/parser.lua index 8ee97942..a6a83499 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -1730,11 +1730,6 @@ end end - --if (not absorb_spell_list [shieldid] and not gotit[shieldid]) then - -- local _, class = UnitClass (owner_name) - --print ("Shield Not Registered:", shieldid, shieldname, class) - --end - --> diminuir o escudo nas tabelas de escudos local shields_on_target = escudo [alvo_name] if (shields_on_target) then diff --git a/frames/window_options2_sections.lua b/frames/window_options2_sections.lua index b823c58c..82fefeb1 100644 --- a/frames/window_options2_sections.lua +++ b/frames/window_options2_sections.lua @@ -617,6 +617,17 @@ do desc = Loc ["STRING_OPTIONS_IGNORENICKNAME_DESC"], }, + {--remove realm name + type = "toggle", + get = function() return _detalhes.remove_realm_from_name end, + set = function (self, fixedparam, value) + _detalhes.remove_realm_from_name = value + afterUpdate() + end, + name = Loc ["STRING_OPTIONS_REALMNAME"], + desc = Loc ["STRING_OPTIONS_REALMNAME_DESC"], + }, + {type = "blank"}, {type = "label", get = function() return "Immersion" end, text_template = subSectionTitleTextTemplate}, --localize-me diff --git a/functions/spellcache.lua b/functions/spellcache.lua index bd906ba6..25dfd047 100644 --- a/functions/spellcache.lua +++ b/functions/spellcache.lua @@ -110,6 +110,11 @@ do [228649] = {name = GetSpellInfo (228649) .. " (Passive)"}, --Monk Mistweaver Blackout kick - Passive Teachings of the Monastery + [339538] = {name = GetSpellInfo (224266) .. " (Templar's Vindication)"}, -- + + --> shadowlands trinkets + [345020] = {name = GetSpellInfo (345020) .. " (Trinket)"}, + --> bfa trinkets [278155] = {name = GetSpellInfo (278155) .. " (Trinket)"}, --[Twitching Tentacle of Xalzaix] [279664] = {name = GetSpellInfo (279664) .. " (Trinket)"}, --[Vanquished Tendril of G'huun] diff --git a/functions/spells.lua b/functions/spells.lua index 1fa7efd8..bdc41fde 100644 --- a/functions/spells.lua +++ b/functions/spells.lua @@ -209,7 +209,6 @@ do -- Feral Druid: [132185] = 103, -- Predatory Swiftness - [571586] = 103, -- Incarnation: King of the Jungle [132242] = 103, -- Tiger's Fury [132278] = 103, -- Primal Fury [132141] = 103, -- Brutal Slash @@ -2880,11 +2879,6 @@ do } - _detalhes.DualSideSpells = { - [114165] = true,-- Holy Prism (paladin) - [47750] = true, -- Penance (priest) - } - _detalhes.AttackCooldownSpells = { --death knight --[49016] = true, -- Unholy Frenzy (attack cd)