Commit 7d2154a6 authored by Merathilis's avatar Merathilis
Browse files

Merge branch 'development'

parents 2b22291d 989c5ba2
[b][color=orange]v4.77[/color], 06.08.2021[/b][list]
[*]Take account for the latest ElvUI Tags + Aura changes
[*]Take account for new Chat Bubble changes
[*]Add more openable items to AutoButtons
[b][color=orange]v4.76[/color], 09.07.2021[/b][list]
[*]Fix Chat install.
[*]Updated BigWigs Profile (Codewise)[/list]
......
** v4.77, 06.08.2021**
* Take account for the latest ElvUI Tags + Aura changes
* Take account for new Chat Bubble changes
* Add more openable items to AutoButtons
** v4.76, 09.07.2021**
* Fix Chat install.
* Updated BigWigs Profile (Codewise)
......
local MER, E, L, V, P, G = unpack(select(2, ...))
local _G = _G
local twipe = table.wipe
local IsAddOnLoaded = IsAddOnLoaded
local LoadAddOn = LoadAddOn
local BigWigs3DB = _G.BigWigs3DB
function MER:LoadBigWigsProfile()
--[[----------------------------------
......@@ -207,6 +210,5 @@ function MER:LoadBigWigsProfile()
}
-- Set the profile
BigWigs.db:SetProfile(main)
_G.BigWigs.db:SetProfile(main)
end
......@@ -183,12 +183,14 @@ function MER:SetupLayout(layout)
--]]----------------------------------
E.private["general"]["pixelPerfect"] = true
E.private["general"]["chatBubbles"] = "backdrop_noborder"
E.private["general"]["chatBubbleFontSize"] = 9
E.private["general"]["chatBubbleFontSize"] = 13
E.private["general"]["chatBubbleFontOutline"] = "OUTLINE"
E.private["general"]["chatBubbleName"] = true
E.private["general"]["classColorMentionsSpeech"] = true
E.private["general"]["normTex"] = "RenAscensionL"
E.private["general"]["glossTex"] = "RenAscensionL"
E.private["general"]["nameplateFont"] = "Expressway"
E.private["general"]["nameplateLargeFont"] = "Expressway"
if IsAddOnLoaded("XLoot") then
E.private["general"]["loot"] = false
......@@ -603,7 +605,8 @@ function MER:SetupLayout(layout)
E.db["nameplates"]["units"]["ENEMY_NPC"]["power"]["enable"] = false
E.db["nameplates"]["units"]["ENEMY_NPC"]["power"]["text"]["font"] = "Merathilis Gotham Narrow Black"
E.db["nameplates"]["units"]["ENEMY_NPC"]["power"]["text"]["fontSize"] = 9
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["size"] = 20
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["size"] = 26
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["height"] = 18
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["yOffset"] = 13
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["font"] = "Expressway"
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["fontSize"] = 11
......@@ -613,8 +616,9 @@ function MER:SetupLayout(layout)
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["durationPosition"] = 'CENTER'
E.db["nameplates"]["units"]["ENEMY_NPC"]["buffs"]["priority"] = 'Blacklist,RaidBuffsElvUI,PlayerBuffs,TurtleBuffs,CastByUnit'
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["numAuras"] = 8
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["size"] = 24
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["spacing"] = 3
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["size"] = 26
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["height"] = 18
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["spacing"] = 2
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["yOffset"] = 33
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["font"] = "Merathilis Gotham Narrow Black"
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["fontSize"] = 10
......@@ -622,6 +626,7 @@ function MER:SetupLayout(layout)
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["countFontOutline"] = 'OUTLINE'
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["countFontSize"] = 8
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["durationPosition"] = 'CENTER'
E.db["nameplates"]["units"]["ENEMY_NPC"]["debuffs"]["keepSizeRatio"] = false
E.db["nameplates"]["units"]["ENEMY_NPC"]["level"]["enable"] = true
E.db["nameplates"]["units"]["ENEMY_NPC"]["level"]["font"] = "Merathilis Gotham Narrow Black"
E.db["nameplates"]["units"]["ENEMY_NPC"]["level"]["fontSize"] = 10
......@@ -1352,6 +1357,9 @@ function MER:SetupUnitframes(layout)
E.db["unitframe"]["units"]["player"]["buffs"]["countFont"] = "Expressway"
E.db["unitframe"]["units"]["player"]["buffs"]["countFontSize"] = 9
E.db["unitframe"]["units"]["player"]["buffs"]["durationPosition"] = "TOP"
E.db["unitframe"]["units"]["player"]["buffs"]["keepSizeRatio"] = false
E.db["unitframe"]["units"]["player"]["buffs"]["height"] = 18
E.db["unitframe"]["units"]["player"]["buffs"]["spacing"] = 1
E.db["unitframe"]["units"]["player"]["raidicon"]["enable"] = true
E.db["unitframe"]["units"]["player"]["raidicon"]["position"] = "TOP"
E.db["unitframe"]["units"]["player"]["raidicon"]["size"] = 18
......@@ -1418,6 +1426,9 @@ function MER:SetupUnitframes(layout)
E.db["unitframe"]["units"]["target"]["debuffs"]["countFontSize"] = 9
E.db["unitframe"]["units"]["target"]["debuffs"]["spacing"] = 3
E.db["unitframe"]["units"]["target"]["debuffs"]["durationPosition"] = "TOP"
E.db["unitframe"]["units"]["target"]["debuffs"]["keepSizeRatio"] = false
E.db["unitframe"]["units"]["target"]["debuffs"]["height"] = 18
E.db["unitframe"]["units"]["target"]["debuffs"]["spacing"] = 2
E.db["unitframe"]["units"]["target"]["smartAuraPosition"] = "DISABLED"
E.db["unitframe"]["units"]["target"]["aurabar"]["enable"] = false
E.db["unitframe"]["units"]["target"]["aurabar"]["attachTo"] = "BUFFS"
......@@ -1497,6 +1508,9 @@ function MER:SetupUnitframes(layout)
E.db["unitframe"]["units"]["target"]["buffs"]["countFont"] = "Expressway"
E.db["unitframe"]["units"]["target"]["buffs"]["countFontSize"] = 9
E.db["unitframe"]["units"]["target"]["buffs"]["durationPosition"] = "TOP"
E.db["unitframe"]["units"]["target"]["buffs"]["keepSizeRatio"] = false
E.db["unitframe"]["units"]["target"]["buffs"]["height"] = 18
E.db["unitframe"]["units"]["target"]["buffs"]["spacing"] = 1
E.db["unitframe"]["units"]["target"]["raidicon"]["enable"] = true
E.db["unitframe"]["units"]["target"]["raidicon"]["position"] = "TOP"
E.db["unitframe"]["units"]["target"]["raidicon"]["size"] = 18
......
......@@ -7,14 +7,11 @@ local translitMark = "!"
-- Credits Blazeflack (CustomTags)
-- Cache global variables
local abs, ceil = math.abs, ceil
local format, match, sub, gsub = string.format, string.match, string.sub, string.gsub
local strfind, strlower, strmatch, strsub, strsplit, utf8lower, utf8sub, utf8len = strfind, strlower, strmatch, strsub, strsplit, string.utf8lower, string.utf8sub, string.utf8len
local assert, tonumber, type = assert, tonumber, type
local gmatch, gsub = gmatch, gsub
local abs, ceil, type, tonumber = math.abs, ceil, type, tonumber
local format, gsub, gmatch = string.format, string.gsub, string.gmatch
local strfind, strmatch, strsplit, utf8lower, utf8sub, utf8len = strfind, strmatch, strsplit, string.utf8lower, string.utf8sub, string.utf8len
-- WoW API / Variables
local UnitIsDead = UnitIsDead
local UnitClass = UnitClass
local UnitIsGhost = UnitIsGhost
local UnitIsConnected = UnitIsConnected
local UnitHealth, UnitHealthMax = UnitHealth, UnitHealthMax
......@@ -22,25 +19,7 @@ local UnitName = UnitName
local UnitPower = UnitPower
local IsResting = IsResting
-- GLOBALS: Hex, _COLORS
local textFormatStyles = {
["CURRENT"] = "%.1f",
["CURRENT_MAX"] = "%.1f - %.1f",
["CURRENT_PERCENT"] = "%.1f - %.1f%%",
["CURRENT_MAX_PERCENT"] = "%.1f - %.1f | %.1f%%",
["PERCENT"] = "%.1f%%",
["DEFICIT"] = "-%.1f"
}
local textFormatStylesNoDecimal = {
["CURRENT"] = "%s",
["CURRENT_MAX"] = "%s - %s",
["CURRENT_PERCENT"] = "%s - %.0f%%",
["CURRENT_MAX_PERCENT"] = "%s - %s | %.0f%%",
["PERCENT"] = "%.0f%%",
["DEFICIT"] = "-%s"
}
-- GLOBALS: Hex, _COLORS, _TAGS
local function shortenNumber(number)
if type(number) ~= "number" then
......@@ -76,8 +55,7 @@ local function shortenNumber(number)
end
-- Displays current HP --(2.04B, 2.04M, 204k, 204)--
ElvUF.Tags.Events["health:current-mUI"] = "UNIT_HEALTH UNIT_MAXHEALTH UNIT_CONNECTION PLAYER_FLAGS_CHANGED"
ElvUF.Tags.Methods["health:current-mUI"] = function(unit)
E:AddTag("health:current-mUI", "UNIT_HEALTH UNIT_MAXHEALTH UNIT_CONNECTION PLAYER_FLAGS_CHANGED", function(unit)
local status = UnitIsDead(unit) and L["Dead"] or UnitIsGhost(unit) and L["Ghost"] or not UnitIsConnected(unit) and L["Offline"]
if (status) then
return status
......@@ -85,18 +63,16 @@ ElvUF.Tags.Methods["health:current-mUI"] = function(unit)
local currentHealth = UnitHealth(unit)
return shortenNumber(currentHealth)
end
end
end)
-- Max Health shorted
ElvUF.Tags.Events["health:max-mUI"] = 'UNIT_MAXHEALTH'
ElvUF.Tags.Methods["health:max-mUI"] = function(unit)
E:AddTag("health:max-mUI", 'UNIT_MAXHEALTH', function(unit)
local maxH = UnitHealthMax(unit)
return shortenNumber(maxH)
end
end)
ElvUF.Tags.Events['mUI-name:health:abbrev'] = 'UNIT_NAME_UPDATE UNIT_FACTION UNIT_HEALTH UNIT_MAXHEALTH'
ElvUF.Tags.Methods['mUI-name:health:abbrev'] = function(unit, _, args)
E:AddTag('mUI-name:health:abbrev', 'UNIT_NAME_UPDATE UNIT_FACTION UNIT_HEALTH UNIT_MAXHEALTH', function(unit, _, args)
local name = UnitName(unit)
if not name then
return ''
......@@ -111,11 +87,10 @@ ElvUF.Tags.Methods['mUI-name:health:abbrev'] = function(unit, _, args)
local base = E.TagFunctions.NameHealthColor(_TAGS, bco, unit, '|cFFffffff')
return to > 0 and (base..utf8sub(name, 0, to)..fill..utf8sub(name, to+1, -1)) or fill..name
end
end)
-- Displays current power and 0 when no power instead of hiding when at 0, Also formats it like HP tag
ElvUF.Tags.Events["power:current-mUI"] = "UNIT_DISPLAYPOWER UNIT_POWER_FREQUENT UNIT_MAXPOWER"
ElvUF.Tags.Methods["power:current-mUI"] = function(unit)
E:AddTag("power:current-mUI", "UNIT_DISPLAYPOWER UNIT_POWER_FREQUENT UNIT_MAXPOWER", function(unit)
local CurrentPower = UnitPower(unit)
local String
......@@ -125,16 +100,15 @@ ElvUF.Tags.Methods["power:current-mUI"] = function(unit)
return nil
end
return String
end
end)
ElvUF.Tags.Events["mUI-resting"] = "PLAYER_UPDATE_RESTING"
ElvUF.Tags.Methods["mUI-resting"] = function(unit)
E:AddTag("mUI-resting", "PLAYER_UPDATE_RESTING", function(unit)
if(unit == "player" and IsResting()) then
return "zZz"
else
return nil
end
end
end)
local function abbrev(name)
local letters, lastWord = '', strmatch(name, '.+%s(.+)$')
......@@ -150,8 +124,7 @@ local function abbrev(name)
return name
end
ElvUF.Tags.Events['name:abbrev-translit'] = 'UNIT_NAME_UPDATE INSTANCE_ENCOUNTER_ENGAGE_UNIT'
ElvUF.Tags.Methods['name:abbrev-translit'] = function(unit)
E:AddTag('name:abbrev-translit', 'UNIT_NAME_UPDATE INSTANCE_ENCOUNTER_ENGAGE_UNIT', function(unit)
local name = Translit:Transliterate(UnitName(unit), translitMark)
if name and strfind(name, '%s') then
......@@ -159,7 +132,7 @@ ElvUF.Tags.Methods['name:abbrev-translit'] = function(unit)
end
return name ~= nil and E:ShortenString(name, 20) or '' --The value 20 controls how many characters are allowed in the name before it gets truncated. Change it to fit your needs.
end
end)
E:AddTagInfo("health:current-mUI", "MerathilisUI", "Displays current HP (2.04B, 2.04M, 204k, 204)")
E:AddTagInfo("power:current-mUI", "MerathilisUI", "Displays current power and 0 when no power instead of hiding when at 0, Also formats it like HP tag")
......
## Interface: 90100
## Author: Merathilis
## Version: 4.76
## Version: 4.77
## Title: |cFF1784d1ElvUI|r |cffffffffMerathilis|r|cffff7d0aUI|r
## Notes: A decorative edit for ElvUI + additional features.
## Notes-deDE: Eine dekorative Erweiterung für ElvUI + einige zusätzliche Funktionen.
......@@ -10,8 +10,8 @@
## SavedVariablesPerCharacter: MERDataPerChar
## OptionalDeps: SharedMedia, BigWigs, ls_Toasts
## X-Credits: Benik, Blazeflack, Azilroka, Simpy, Nihilistzsche, Darth Predator, fgprodigal, siweia, Solor, Elv, fang2hou & all AddOn Authors who inspired me.
## X-ElvVersion: 12.34
## X-Curse-Packaged-Version: 4.76
## X-ElvVersion: 12.40
## X-Curse-Packaged-Version: 4.77
## X-Curse-Project-Name: MerathilisUI
## X-Curse-Project-ID: merathilis-ui
## X-Tukui-ProjectID: 1
......
......@@ -67,7 +67,7 @@ MER.PVP = MER:NewModule('MER_PVP', 'AceEvent-3.0')
MER.RaidBuffs = MER:NewModule('MER_RaidBuffs')
MER.RaidCD = MER:NewModule('MER_RaidCD', 'AceEvent-3.0', 'AceTimer-3.0')
MER.RaidManager = MER:NewModule('MER_RaidManager', 'AceEvent-3.0', 'AceTimer-3.0')
MER.RaidMarkers = MER:NewModule('MER_RaidMarkers')
MER.RaidMarkers = MER:NewModule('MER_RaidMarkers', 'AceHook-3.0')
MER.RandomToy = MER:NewModule('MER_RandomToy', 'AceEvent-3.0')
MER.Reminder = MER:NewModule('MER_Reminder', 'AceEvent-3.0', 'AceTimer-3.0')
MER.Skins = MER:NewModule('MER_Skins', 'AceHook-3.0', 'AceEvent-3.0')
......
......@@ -274,6 +274,8 @@ L["If a Rare Mob or a treasure gets spotted on the minimap."] = "Zeigt an, wenn
L["Enable Invites"] = "Aktiviere Einladungen"
L["Enable Guild Events"] = "Aktiviere Gildenereignisse"
L["No Sounds"] = "Keine Sounds"
L["Domination Rank"] = "Splitter der Herrschaft Rang"
L["Show the rank of shards."] = "Zeigt den Rang vom Splitter."
-- DataTexts
-- DataBars
......
......@@ -251,6 +251,8 @@ L["Use the new style tooltip."] = "Use the new style tooltip."
L["Display in English"] = "Display in English"
L["Show icon"] = "Show icon"
L["Show the spell icon along with the name."] = "Show the spell icon along with the name."
L["Domination Rank"] = true
L["Show the rank of shards."] = true
-- Notification
L["Notification"] = true
......
......@@ -250,6 +250,8 @@ L["Use the new style tooltip."] = "Utiliser le nouveau style d'infobulle."
L["Display in English"] = "Afficher en Anglais"
L["Show icon"] = "Afficher l'icône"
L["Show the spell icon along with the name."] = "Montrer l'icône du sort avec le nom."
L["Domination Rank"] = true
L["Show the rank of shards."] = true
-- Notification
L["Notification"] = true
......
......@@ -249,6 +249,8 @@ L["Use the new style tooltip."] = "Use the new style tooltip."
L["Display in English"] = "Display in English"
L["Show icon"] = "Show icon"
L["Show the spell icon along with the name."] = "Show the spell icon along with the name."
L["Domination Rank"] = true
L["Show the rank of shards."] = true
-- Notification
L["Notification"] = true
......
......@@ -250,6 +250,8 @@ L["Use the new style tooltip."] = "Use the new style tooltip."
L["Display in English"] = "Display in English"
L["Show icon"] = "Show icon"
L["Show the spell icon along with the name."] = "Show the spell icon along with the name."
L["Domination Rank"] = true
L["Show the rank of shards."] = true
-- Notification
L["Notification"] = "알림 표시"
......
......@@ -252,6 +252,8 @@ L["III"] = "3 ур."
L["Display in English"] = "Отображать английские названия"
L["Show icon"] = "Показать значок"
L["Show the spell icon along with the name."] = "Показать значок заклинания вместе с названием."
L["Domination Rank"] = true
L["Show the rank of shards."] = true
-- Notification
L["Notification"] = true
......
......@@ -258,6 +258,8 @@ L["Use the new style tooltip."] = "使用新的鼠标提示外观,将腐蚀特
L["Display in English"] = "显示英语腐化特效名称"
L["Show icon"] = "显示图标"
L["Show the spell icon along with the name."] = "在腐化特效名称前显示其图标。"
L["Domination Rank"] = "統御等級"
L["Show the rank of shards."] = "显示统御碎片的等级."
-- Notification
L["Notification"] = "通知"
......
......@@ -247,6 +247,8 @@ L["Use the new style tooltip."] = "使用新型態提示。"
L["Display in English"] = "顯示為英文"
L["Show icon"] = "顯示圖示"
L["Show the spell icon along with the name."] = "顯示法術圖示以及名稱。"
L["Domination Rank"] = "統御等級"
L["Show the rank of shards."] = "顯示統御碎片的等級."
-- Notification
L["Notification"] = "通知"
......
......@@ -348,97 +348,132 @@ local torghastItems = {
176331, -- Obscuring Essence Potion
176409, -- Rejuvenating Siphoned Essence
176443, -- Fleeting Frenzy Potion
184652, -- Phantasmic Infusor
184662, -- Requisitioned Anima Cell
185946, --Long Tail Dynarats
185947, --Draught of Leeching Strikes
185950, --Draught of Temporal Rush
186043, --Torghast Portal Manipulator
186614, --Soul Jar
186615, --Mirror of the Conjured Twin
186636, --Cage of Mawrats
186678, --Mawforged Weapons Cache
186679, --Scroll of Domination
}
local openableItems = {
171209,
171210,
171211,
174652,
178040,
178078,
178128,
178513,
178965,
178966,
178967,
178968,
178969,
180085,
180355,
180378,
180379,
180380,
180386,
180442,
180646,
180647,
180648,
180649,
180875,
180974,
180975,
180976,
180977,
180979,
180980,
180981,
180983,
180984,
180985,
180988,
180989,
181767,
181372,
181475,
181476,
181556,
181557,
181732,
181733,
181741,
182590,
182591,
183699,
183701,
183702,
183703,
184045,
184046,
184047,
184048,
184158,
184395,
184444,
184522,
184589,
184630,
184631,
184632,
184633,
184634,
184635,
184636,
184637,
184638,
184639,
184640,
184641,
184642,
184643,
184644,
184645,
184646,
184647,
184648,
184810,
184811,
184812,
184843,
184868,
184869,
171209, --Blood bag
171210, --a bag of natural gifts
171211, --Pan Hill's Wallet
174652, --a bag of forgotten heirlooms
178040, --Condensed Hades
178078, --Rebirth Spirit Treasure Chest
178128, --A bag full of glittering treasures
178513, -- Anniversary gift
178965, --Small gardener's bag
178966, --The gardener's bag
178967, --Large gardener's bag
178968, -- Weekly gardener's bag
180085, --Kirian Souvenir
180355, --Gorgeous Holy Box
180378, --Master Blacksmith's Box
180379, --Exquisite textile carpet
180380, --fine netting
180386, -- Herbalist Pouch
180442, --a bag of sin stones
180646, --Undead Legion Supplies
180647, --Promoted supplies
180648, --Reaper Tingwei Supplies
180649, --Supplies for Wilderness Hunters
180875, -- Cargo Cargo
180974, --Apprentice's bag
180975, --The bag of the cook
180976, --Expert's bag
180977, --Soul Keeper's Bag
180979, --Expert's large bag
180980, --A large bag of a skilled craftsman
180981, --The apprentice's large bag
180983, --A bag full of experts
180984, --A bag full of skilled workers
180985, --The apprentice's full bag
180988, --The bag overflowing by the cooked workers
180989, --The apprentice's overflowing bag
181372, --A gift for the promoted
181475, --The Woodland Watcher's Reward
181476, --A gift to the hunter in the wilderness
181556, --Ting Wei's gift
181557, --Ting Wei's gift
181732, --A gift from a careerist
181733, --A gift from the conscientious
181741, --A gift of a model
181767, --small wallet
182590, --Climbing a coin purse
182591, --Vine-covered Ruby
183699, ---selected materials
183701, -- Purification ritual materials
183702, --Natural light
183703, --Bone Artisan Backpack
184045, --The military tax of Tingwei the Harvester
184046, --Undead Legion Weapon Case
184047, --Promoted Weapon Case
184048, --Wild Hunter Weapon Bag
184158, --Slimy necromancer roe
184395, --Death adventurer's storage box
184444, --Road to Promotion Supply
184522, --Cooperating Dim Cloth Bag
184589, --Potion bag
184630, --Adventurer's Cloth Box
184631, --Adventurer Enchanting Box
184632, --Warrior Fish Box
184633, --Warrior Meat Box
184634, --Adventurer's Herbal Box
184635, --Adventurer's Ore Box
184636, --Adventurer's Leather Box
184637, --Hero Meat Box
184638, --Hero Fish Box
184639, --Warrior Cloth Box
184640, --Warrior Leather Box
184641, --Warrior Ore Box
184642, --Warrior Herbal Box
184643, --Warrior Enchant Box
184644, -- Hero Cloth Box
184645, --Hero Leather Box
184646, --Heroic Ore Box
184647, --Hero Herbal Box
184648, --Hero Enchanting Box
184810, -- looted supplies
184811, --Artemide's gift
184812, --Apollon's Gift
184843, --Recovered supplies
184868, --Nasaya Treasure Chest
184869, --Nasaya Treasure Chest
185765, -- a batch of heavy and hardened animal skins
185832, --a batch of Erechium ore
185833, --a batch of matte silk cloth
185972, --The tormentor's treasure chest
185990, --Reaper's War Chest
185991, -- Wilderness Hunter War Chest
185992, --Undead Legion War Treasure Chest
185993, --Promoted War Treasure Chest
186196, --Death Vanguard War Treasure Box
187029, --Venari's mysterious gift
187221, --Soul Ash Cache
187222, --Stygic Singularity
187254, --Arrangement of Anima
187278, --The Deep Oath Treasure Chest Passed Through
187354, --Abandoned Intermediary Backpack
187440, --Feather-Stuffed Helm
187543, --Death Vanguard War Treasure Box
187551, --Small Cosia Supply Box
187569, --Intermediary Cloth Potential Particles
187570, --Intermediary leather potential particles
187571, --Intermediary Ore Potential Particles
187572, --Intermediary Herbal Potential Particles
187573, --Intermediary Enchanting Potential Particles
187574, --The intermediary's overflowing food barrel
187575, --Cosia Fishing Box
187576, --Cosia Leather Box
187577, --Cosia Meat Box
187817, --Korthite Crystal Geode
}
local questItemList = {}
......
......@@ -30,8 +30,8 @@ function module:PostUpdateAura(unit, button)
local spell = E.global.unitframe.aurafilters.CCDebuffs.spells[button.spellID]
-- Size
local width = E.db.mui.nameplates.enhancedAuras.width or 26
local height = E.db.mui.nameplates.enhancedAuras.height or 18
local width = button:GetWidth() or 26
local height = button:GetHeight() or 18
if spell and spell ~= "" then
width = 32
......@@ -82,9 +82,6 @@ function module:Construct_Auras(nameplate)
nameplate.Buffs.PostUpdateIcon = module.PostUpdateAura
nameplate.Debuffs.PostUpdateIcon = module.PostUpdateAura
nameplate.Buffs.SetPosition = module.SetPosition
nameplate.Debuffs.SetPosition = module.SetPosition
hooksecurefunc(nameplate.Debuffs, 'PostUpdateIcon', MUF.PostUpdateDebuffs)
end
......@@ -103,39 +100,6 @@ function module:Construct_AuraIcon(button)
button.db = auras and NP.db.units and NP.db