Commit 6c0bd778 authored by Merathilis's avatar Merathilis

Merge branch 'development'

parents 495889b2 14347501
[b][color=orange]v4.07[/color], 11.01.2019[/b][list]
[*]Fixed an error CombatFeedBack Text if UnitFrames are disabled.
[*]Fixed an error with LSM calls.
[*]Some NamePlateAuras fine tuning.
[*]The Notification dont show now if you are in a dungeon/raid etc.
[*]Added an own Armory (light) Mode.
[*]Updated some skins.[/list]
[b][color=orange]v4.06[/color], 08.01.2019[/b][list]
[*]Fixed an error in ItemSocketing skin.
[*]Added back my ShadowOverlay.
......
** v4.07, 11.01.2019**
* Fixed an error CombatFeedBack Text if UnitFrames are disabled.
* Fixed an error with LSM calls.
* Some NamePlateAuras fine tuning.
* The Notification dont show now if you are in a dungeon/raid etc.
* Added an own Armory (light) Mode.
* Updated some skins.
** v4.06, 08.01.2019**
* Fixed an error in ItemSocketing skin.
* Added back my ShadowOverlay.
......
## Interface: 80100
## Author: Merathilis
## Credits: Benik, Blazeflack, Azilroka, Simpy, Whiro, Darth Predator, fgprodigal, Elv & all AddOn Authors who inspired me.
## Version: 4.06
## Version: 4.07
## Title: |cFF00c0faElvUI|r |cffff7d0aMerathilisUI|r
## Notes: A decorative edit for ElvUI + additional features.
## Notes-deDE: Eine dekorative Erweiterung für ElvUI + einige zusätzliche Funktionen.
......@@ -11,7 +11,7 @@
## SavedVariablesPerCharacter: MERDataPerChar
## OptionalDeps: SharedMedia, AddOnSkins, BigWigs, ls_Toasts
## X-ElvVersion: 10.85
## X-Curse-Packaged-Version: 4.06
## X-Curse-Packaged-Version: 4.07
## X-Curse-Project-Name: MerathilisUI
## X-Curse-Project-ID: merathilis-ui
## X-Tukui-ProjectID: 1
......
......@@ -8,7 +8,6 @@
<script file="Masque.lua"/>
<script file="OzCooldown.lua"/>
<script file="ProjectAzilroka.lua"/>
<script file="ShadowandLight.lua"/>
<script file="Skada.lua"/>
<script file="template.lua"/>
</Ui>
\ No newline at end of file
</Ui>
......@@ -17,17 +17,19 @@ local CLOSE = CLOSE
local ChangeLogData = {
"Changes:",
"• Fixed an error in ItemSocketing skin.",
"• Added back my ShadowOverlay.",
"• Adjust font size for ScrappingMachine & FlyoutButton iLvL.",
"• Update the Minimap Glow appearance.",
"• Update RealmInfo.",
"• Simplify the NamePlate Auras.",
"• Change the default position for the Combat State.",
"• Fixed an error CombatFeedBack Text if UnitFrames are disabled.",
"• Fixed an error with LSM calls.",
"• Some NamePlateAuras fine tuning.",
"• The Notification dont show now if you are in a dungeon/raid etc.",
"• Added an own Armory (light) Mode.",
"• Updated some skins.",
-- "• ''",
" ",
"Notes:",
"• 'I'm not using Shadow&Light anymore. I only used the Armory Mode from it.",
"• 'I have now an own little Armory Mode which shows iLvL, enchants, gems.",
-- "• ''",
}
......
......@@ -2162,11 +2162,7 @@ function MER:SetupDts()
E.db["mui"]["datatexts"]["panels"]["ChatTab_Datatext_Panel"].left = "BfA Missions"
E.db["mui"]["datatexts"]["panels"]["ChatTab_Datatext_Panel"].middle = "Durability"
if IsAddOnLoaded("ElvUI_SLE") then
E.db["mui"]["datatexts"]["panels"]["ChatTab_Datatext_Panel"].right = "S&L Currency"
else
E.db["mui"]["datatexts"]["panels"]["ChatTab_Datatext_Panel"].right = "Gold"
end
E.db["mui"]["datatexts"]["panels"]["ChatTab_Datatext_Panel"].right = "Gold"
E.db["mui"]["datatexts"]["panels"]["mUIMiddleDTPanel"]["left"] = "Guild"
E.db["mui"]["datatexts"]["panels"]["mUIMiddleDTPanel"]["middle"] = "MUI System"
......@@ -2203,12 +2199,6 @@ function MER:SetupAddOns()
tinsert(addonNames, "AddOnSkins")
end
-- Shadow&Light
if MER:IsAddOnEnabled("ElvUI_SLE") then
MER:LoadShadowandLightProfile()
tinsert(addonNames, "ElvUI_SLE")
end
-- ProjectAzilroka
if MER:IsAddOnEnabled("ProjectAzilroka") then
MER:LoadPAProfile()
......
......@@ -35,8 +35,7 @@ Wenn du jedoch ein anderes Layout über meines installierst, musst du es manuell
L["Enable/Disable the Login Message in Chat"] = "Aktiviert/Deaktiviert die Login Nachricht im Chat"
-- Bags
L["Removed: "] = "Entfernt: "
L["Usable Items"] = "Benutzbare Gegenstände"
L["Transparent Slots"] = "Transparente Schaltflächen"
-- Chat
L["CHAT_AFK"] = "[AFK]"
......@@ -171,7 +170,7 @@ L["Event \"%s\" will end tomorrow."] = "Ereignis \"%s\" endet morgen."
L["Here you can enable/disable the different notification types."] = "Hier kannst du die verschiedenen Benachrichtigungstypen aktivieren/deaktivieren."
L["Enable Mail"] = "Aktiviere Post"
L["Enable Vignette"] = "Aktiviere Vignette"
L["If a Rar Mob or a treasure gets spotted on the minimap."] = "Wenn ein Rar Mob oder ein Schatz auf der Minikarte erscheint."
L["If a Rare Mob or a treasure gets spotted on the minimap."] = "Wenn ein Rar Mob oder ein Schatz auf der Minikarte erscheint."
L["Enable Invites"] = "Aktiviere Einladungen"
L["Enable Guild Events"] = "Aktiviere Gildenereignisse"
L["No Sounds"] = "Keine Sounds"
......@@ -227,6 +226,43 @@ L["Specialisation Bar"] = "Spezialisierungsleiste"
L["EquipSet Bar"] = "Ausrüstungsleiste"
L["Clean Boss Button"] = "Geskinnte Boss Taste"
-- Armory
L["Armory"] = "Arsenal"
L["Enable/Disable the |cffff7d0aMerathilisUI|r Armory Mode."] = "|cffff7d0aMerathilisUI|r Arsenal aktivieren/deaktivieren"
L["Azerite Buttons"] = "Azerittasten"
L["Enable/Disable the Azerite Buttons on the character window."] = "Die Azerittasten im Charakterfenster aktivieren/deaktivieren"
L["Durability"] = "Haltbarkeit"
L["Enable/Disable the display of durability information on the character window."] = "Haltbarkeit im Charakterfenster anzeigen/verbergen"
L["Damaged Only"] = "Nur beschädigt"
L["Only show durability information for items that are damaged."] = "Haltbarkeit nur bei beschädigten Gegenständen anzeigen"
L["Itemlevel"] = "Gegenstandsstufe"
L["Enable/Disable the display of item levels on the character window."] = "Gegenstandsstufen im Charakterfenster anzeigen/verbergen"
L["Level"] = "Stufe"
L["Full Item Level"] = "Vollständige Gegenstandsstufe"
L["Show both equipped and average item levels."] = "Ausgerüstete und durchschnittliche Gegenstandsstufe anzeigen"
L["Item Level Coloring"] = "Gegenstandsstufe färben"
L["Color code item levels values. Equipped will be gradient, average - selected color."] = "Färbt die Gegenstandsstufe ein. Ausgerüstete Stufe wird kombiniert, Maximalstufe entspricht der ausgewählten Farbe"
L["Color of Average"] = "Durchschnittsfarbe"
L["Sets the color of average item level."] = "Setzt die Farbe der durchschnittlichen Gegenstandsstufe"
L["Only Relevant Stats"] = "Nur relevante Attribute"
L["Show only those primary stats relevant to your spec."] = "Nur die relevanten, primären Attribute deiner Spezialisierung anzeigen"
L["Item Level"] = "Gegenstandsstufe"
L["Categories"] = "Kategorien"
L["Open head slot azerite powers."] = "Öffnet Kopfplatz Azerite Traits."
L["Open shoulder slot azerite powers."] = "Öffnet Schulterplatz Azerite Traits."
L["Open chest slot azerite powers."] = "Öffnet Brustplatz Azerite Traits."
L["Enchant Info"] = "Verzauberungsinfo"
L["Shows an indictor for enchanted/ not enchanted items."] = "Zeigt einen Indikator für verzauerte und unverzauberte Gegenstände."
L["Socket Info"] = "Sockelinfo"
L["Shows an indictor for socketed/ unsocketed items."] = "Zeigt einen Indikator für gesockelte / ungesockelte Gegenstände."
-- PRINTS
L["Equipped head is not an Azerite item."] = "Ausgerüsteter Kopf ist kein Azerite Gegenstand."
L["No head item is equipped."] = "Kein Kopf Gegenstand ausgerüstet."
L["Equipped shoulder is not an Azerite item."] = "Ausgerüstete Schulter ist kein Azerite Gegenstand."
L["No shoulder item is equipped."] = "Kein Schulter Gegenstand ausgerüstet."
L["Equipped chest is not an Azerite item."] = "Ausgerüstete Brust ist kein Azerite Gegenstand."
L["No chest item is equipped."] = "Kein Brust Gegenstand ausgerüstet."
-- Unitframes
L["UnitFrames"] = "Einheitenfenster"
L["Player Portrait"] = "Spieler Portrait"
......
......@@ -35,8 +35,7 @@ But if you install another Layout over mine, you must adjust it manually.]=]
L["Enable/Disable the Login Message in Chat"] = true
-- Bags
L["Removed: "] = true
L["Usable Items"] = true
L["Transparent Slots"] = true
-- Chat
L["CHAT_AFK"] = "[AFK]"
......@@ -171,7 +170,7 @@ L["Event \"%s\" will end tomorrow."] = true
L["Here you can enable/disable the different notification types."] = true
L["Enable Mail"] = true
L["Enable Vignette"] = true
L["If a Rar Mob or a treasure gets spotted on the minimap."] = true
L["If a Rare Mob or a treasure gets spotted on the minimap."] = true
L["Enable Invites"] = true
L["Enable Guild Events"] = true
L["No Sounds"] = true
......@@ -227,6 +226,43 @@ L["Specialisation Bar"] = true
L["EquipSet Bar"] = true
L["Clean Boss Button"] = true
-- Armory
L["Armory"] = true
L["Enable/Disable the |cffff7d0aMerathilisUI|r Armory Mode."] = true
L["Azerite Buttons"] = true
L["Enable/Disable the Azerite Buttons on the character window."] = true
L["Durability"] = true
L["Enable/Disable the display of durability information on the character window."] = true
L["Damaged Only"] = true
L["Only show durability information for items that are damaged."] = true
L["Itemlevel"] = true
L["Enable/Disable the display of item levels on the character window."] = true
L["Level"] = true
L["Full Item Level"] = true
L["Show both equipped and average item levels."] = true
L["Item Level Coloring"] = true
L["Color code item levels values. Equipped will be gradient, average - selected color."] = true
L["Color of Average"] = true
L["Sets the color of average item level."] = true
L["Only Relevant Stats"] = true
L["Show only those primary stats relevant to your spec."] = true
L["Item Level"] = true
L["Categories"] = true
L["Open head slot azerite powers."] = true
L["Open shoulder slot azerite powers."] = true
L["Open chest slot azerite powers."] = true
L["Enchant Info"] = true
L["Shows an indictor for enchanted/ not enchanted items."] = true
L["Socket Info"] = true
L["Shows an indictor for socketed/ unsocketed items."] = true
-- PRINTS
L["Equipped head is not an Azerite item."] = true
L["No head item is equipped."] = true
L["Equipped shoulder is not an Azerite item."] = true
L["No shoulder item is equipped."] = true
L["Equipped chest is not an Azerite item."] = true
L["No chest item is equipped."] = true
-- Unitframes
L["UnitFrames"] = true
L["Player Portrait"] = true
......
......@@ -35,8 +35,7 @@ But if you install another Layout over mine, you must adjust it manually.]=]
L["Enable/Disable the Login Message in Chat"] = true
-- Bags
L["Removed: "] = true
L["Usable Items"] = true
L["Transparent Slots"] = true
-- Chat
L["CHAT_AFK"] = "[AFK]"
......@@ -171,7 +170,7 @@ L["Event \"%s\" will end tomorrow."] = true
L["Here you can enable/disable the different notification types."] = true
L["Enable Mail"] = true
L["Enable Vignette"] = true
L["If a Rar Mob or a treasure gets spotted on the minimap."] = true
L["If a Rare Mob or a treasure gets spotted on the minimap."] = true
L["Enable Invites"] = true
L["Enable Guild Events"] = true
L["No Sounds"] = true
......@@ -227,6 +226,43 @@ L["Specialisation Bar"] = true
L["EquipSet Bar"] = true
L["Clean Boss Button"] = true
-- Armory
L["Armory"] = true
L["Enable/Disable the |cffff7d0aMerathilisUI|r Armory Mode."] = true
L["Azerite Buttons"] = true
L["Enable/Disable the Azerite Buttons on the character window."] = true
L["Durability"] = true
L["Enable/Disable the display of durability information on the character window."] = true
L["Damaged Only"] = true
L["Only show durability information for items that are damaged."] = true
L["Itemlevel"] = true
L["Enable/Disable the display of item levels on the character window."] = true
L["Level"] = true
L["Full Item Level"] = true
L["Show both equipped and average item levels."] = true
L["Item Level Coloring"] = true
L["Color code item levels values. Equipped will be gradient, average - selected color."] = true
L["Color of Average"] = true
L["Sets the color of average item level."] = true
L["Only Relevant Stats"] = true
L["Show only those primary stats relevant to your spec."] = true
L["Item Level"] = true
L["Categories"] = true
L["Open head slot azerite powers."] = true
L["Open shoulder slot azerite powers."] = true
L["Open chest slot azerite powers."] = true
L["Enchant Info"] = true
L["Shows an indictor for enchanted/ not enchanted items."] = true
L["Socket Info"] = true
L["Shows an indictor for socketed/ unsocketed items."] = true
-- PRINTS
L["Equipped head is not an Azerite item."] = true
L["No head item is equipped."] = true
L["Equipped shoulder is not an Azerite item."] = true
L["No shoulder item is equipped."] = true
L["Equipped chest is not an Azerite item."] = true
L["No chest item is equipped."] = true
-- Unitframes
L["UnitFrames"] = true
L["Player Portrait"] = true
......
......@@ -35,8 +35,7 @@ But if you install another Layout over mine, you must adjust it manually.]=]
L["Enable/Disable the Login Message in Chat"] = true
-- Bags
L["Removed: "] = true
L["Usable Items"] = true
L["Transparent Slots"] = true
-- Chat
L["CHAT_AFK"] = "[AFK]"
......@@ -227,6 +226,43 @@ L["Specialisation Bar"] = true
L["EquipSet Bar"] = true
L["Clean Boss Button"] = true
-- Armory
L["Armory"] = true
L["Enable/Disable the |cffff7d0aMerathilisUI|r Armory Mode."] = true
L["Azerite Buttons"] = true
L["Enable/Disable the Azerite Buttons on the character window."] = true
L["Durability"] = true
L["Enable/Disable the display of durability information on the character window."] = true
L["Damaged Only"] = true
L["Only show durability information for items that are damaged."] = true
L["Itemlevel"] = true
L["Enable/Disable the display of item levels on the character window."] = true
L["Level"] = true
L["Full Item Level"] = true
L["Show both equipped and average item levels."] = true
L["Item Level Coloring"] = true
L["Color code item levels values. Equipped will be gradient, average - selected color."] = true
L["Color of Average"] = true
L["Sets the color of average item level."] = true
L["Only Relevant Stats"] = true
L["Show only those primary stats relevant to your spec."] = true
L["Item Level"] = true
L["Categories"] = true
L["Open head slot azerite powers."] = true
L["Open shoulder slot azerite powers."] = true
L["Open chest slot azerite powers."] = true
L["Enchant Info"] = true
L["Shows an indictor for enchanted/ not enchanted items."] = true
L["Socket Info"] = true
L["Shows an indictor for socketed/ unsocketed items."] = true
-- PRINTS
L["Equipped head is not an Azerite item."] = true
L["No head item is equipped."] = true
L["Equipped shoulder is not an Azerite item."] = true
L["No shoulder item is equipped."] = true
L["Equipped chest is not an Azerite item."] = true
L["No chest item is equipped."] = true
-- Unitframes
L["UnitFrames"] = true
L["Player Portrait"] = true
......
......@@ -35,8 +35,7 @@ But if you install another Layout over mine, you must adjust it manually.]=]
L["Enable/Disable the Login Message in Chat"] = true
-- Bags
L["Removed: "] = true
L["Usable Items"] = true
L["Transparent Slots"] = true
-- Chat
L["CHAT_AFK"] = "[AFK]"
......@@ -171,7 +170,7 @@ L["Event \"%s\" will end tomorrow."] = true
L["Here you can enable/disable the different notification types."] = true
L["Enable Mail"] = true
L["Enable Vignette"] = true
L["If a Rar Mob or a treasure gets spotted on the minimap."] = true
L["If a Rare Mob or a treasure gets spotted on the minimap."] = true
L["Enable Invites"] = true
L["Enable Guild Events"] = true
L["No Sounds"] = true
......@@ -227,6 +226,43 @@ L["Specialisation Bar"] = true
L["EquipSet Bar"] = true
L["Clean Boss Button"] = true
-- Armory
L["Armory"] = true
L["Enable/Disable the |cffff7d0aMerathilisUI|r Armory Mode."] = true
L["Azerite Buttons"] = true
L["Enable/Disable the Azerite Buttons on the character window."] = true
L["Durability"] = true
L["Enable/Disable the display of durability information on the character window."] = true
L["Damaged Only"] = true
L["Only show durability information for items that are damaged."] = true
L["Itemlevel"] = true
L["Enable/Disable the display of item levels on the character window."] = true
L["Level"] = true
L["Full Item Level"] = true
L["Show both equipped and average item levels."] = true
L["Item Level Coloring"] = true
L["Color code item levels values. Equipped will be gradient, average - selected color."] = true
L["Color of Average"] = true
L["Sets the color of average item level."] = true
L["Only Relevant Stats"] = true
L["Show only those primary stats relevant to your spec."] = true
L["Item Level"] = true
L["Categories"] = true
L["Open head slot azerite powers."] = true
L["Open shoulder slot azerite powers."] = true
L["Open chest slot azerite powers."] = true
L["Enchant Info"] = true
L["Shows an indictor for enchanted/ not enchanted items."] = true
L["Socket Info"] = true
L["Shows an indictor for socketed/ unsocketed items."] = true
-- PRINTS
L["Equipped head is not an Azerite item."] = true
L["No head item is equipped."] = true
L["Equipped shoulder is not an Azerite item."] = true
L["No shoulder item is equipped."] = true
L["Equipped chest is not an Azerite item."] = true
L["No chest item is equipped."] = true
-- Unitframes
L["UnitFrames"] = true
L["Player Portrait"] = true
......
......@@ -35,8 +35,7 @@ But if you install another Layout over mine, you must adjust it manually.]=]
L["Enable/Disable the Login Message in Chat"] = true
-- Bags
L["Removed: "] = true
L["Usable Items"] = true
L["Transparent Slots"] = true
-- Chat
L["CHAT_AFK"] = "[AFK]"
......@@ -171,7 +170,7 @@ L["Event \"%s\" will end tomorrow."] = true
L["Here you can enable/disable the different notification types."] = true
L["Enable Mail"] = true
L["Enable Vignette"] = true
L["If a Rar Mob or a treasure gets spotted on the minimap."] = true
L["If a Rare Mob or a treasure gets spotted on the minimap."] = true
L["Enable Invites"] = true
L["Enable Guild Events"] = true
L["No Sounds"] = true
......@@ -227,6 +226,43 @@ L["Specialisation Bar"] = true
L["EquipSet Bar"] = true
L["Clean Boss Button"] = true
-- Armory
L["Armory"] = true
L["Enable/Disable the |cffff7d0aMerathilisUI|r Armory Mode."] = true
L["Azerite Buttons"] = true
L["Enable/Disable the Azerite Buttons on the character window."] = true
L["Durability"] = true
L["Enable/Disable the display of durability information on the character window."] = true
L["Damaged Only"] = true
L["Only show durability information for items that are damaged."] = true
L["Itemlevel"] = true
L["Enable/Disable the display of item levels on the character window."] = true
L["Level"] = true
L["Full Item Level"] = true
L["Show both equipped and average item levels."] = true
L["Item Level Coloring"] = true
L["Color code item levels values. Equipped will be gradient, average - selected color."] = true
L["Color of Average"] = true
L["Sets the color of average item level."] = true
L["Only Relevant Stats"] = true
L["Show only those primary stats relevant to your spec."] = true
L["Item Level"] = true
L["Categories"] = true
L["Open head slot azerite powers."] = true
L["Open shoulder slot azerite powers."] = true
L["Open chest slot azerite powers."] = true
L["Enchant Info"] = true
L["Shows an indictor for enchanted/ not enchanted items."] = true
L["Socket Info"] = true
L["Shows an indictor for socketed/ unsocketed items."] = true
-- PRINTS
L["Equipped head is not an Azerite item."] = true
L["No head item is equipped."] = true
L["Equipped shoulder is not an Azerite item."] = true
L["No shoulder item is equipped."] = true
L["Equipped chest is not an Azerite item."] = true
L["No chest item is equipped."] = true
-- Unitframes
L["UnitFrames"] = true
L["Player Portrait"] = true
......
......@@ -35,8 +35,7 @@ But if you install another Layout over mine, you must adjust it manually.]=]
L["Enable/Disable the Login Message in Chat"] = true
-- Bags
L["Removed: "] = true
L["Usable Items"] = true
L["Transparent Slots"] = true
-- Chat
L["CHAT_AFK"] = "[AFK]"
......@@ -171,7 +170,7 @@ L["Event \"%s\" will end tomorrow."] = true
L["Here you can enable/disable the different notification types."] = true
L["Enable Mail"] = true
L["Enable Vignette"] = true
L["If a Rar Mob or a treasure gets spotted on the minimap."] = true
L["If a Rare Mob or a treasure gets spotted on the minimap."] = true
L["Enable Invites"] = true
L["Enable Guild Events"] = true
L["No Sounds"] = true
......@@ -227,6 +226,43 @@ L["Specialisation Bar"] = true
L["EquipSet Bar"] = true
L["Clean Boss Button"] = true
-- Armory
L["Armory"] = true
L["Enable/Disable the |cffff7d0aMerathilisUI|r Armory Mode."] = true
L["Azerite Buttons"] = true
L["Enable/Disable the Azerite Buttons on the character window."] = true
L["Durability"] = true
L["Enable/Disable the display of durability information on the character window."] = true
L["Damaged Only"] = true
L["Only show durability information for items that are damaged."] = true
L["Itemlevel"] = true
L["Enable/Disable the display of item levels on the character window."] = true
L["Level"] = true
L["Full Item Level"] = true
L["Show both equipped and average item levels."] = true
L["Item Level Coloring"] = true
L["Color code item levels values. Equipped will be gradient, average - selected color."] = true
L["Color of Average"] = true
L["Sets the color of average item level."] = true
L["Only Relevant Stats"] = true
L["Show only those primary stats relevant to your spec."] = true
L["Item Level"] = true
L["Categories"] = true
L["Open head slot azerite powers."] = true
L["Open shoulder slot azerite powers."] = true
L["Open chest slot azerite powers."] = true
L["Enchant Info"] = true
L["Shows an indictor for enchanted/ not enchanted items."] = true
L["Socket Info"] = true
L["Shows an indictor for socketed/ unsocketed items."] = true
-- PRINTS
L["Equipped head is not an Azerite item."] = true
L["No head item is equipped."] = true
L["Equipped shoulder is not an Azerite item."] = true
L["No shoulder item is equipped."] = true
L["Equipped chest is not an Azerite item."] = true
L["No chest item is equipped."] = true
-- Unitframes
L["UnitFrames"] = true
L["Player Portrait"] = true
......
......@@ -35,8 +35,7 @@ But if you install another Layout over mine, you must adjust it manually.]=]
L["Enable/Disable the Login Message in Chat"] = true
-- Bags
L["Removed: "] = true
L["Usable Items"] = true
L["Transparent Slots"] = true
-- Chat
L["CHAT_AFK"] = "[AFK]"
......@@ -171,7 +170,7 @@ L["Event \"%s\" will end tomorrow."] = true
L["Here you can enable/disable the different notification types."] = true
L["Enable Mail"] = true
L["Enable Vignette"] = true
L["If a Rar Mob or a treasure gets spotted on the minimap."] = true
L["If a Rare Mob or a treasure gets spotted on the minimap."] = true
L["Enable Invites"] = true
L["Enable Guild Events"] = true
L["No Sounds"] = true
......@@ -227,6 +226,43 @@ L["Specialisation Bar"] = true
L["EquipSet Bar"] = true
L["Clean Boss Button"] = true
-- Armory
L["Armory"] = true
L["Enable/Disable the |cffff7d0aMerathilisUI|r Armory Mode."] = true
L["Azerite Buttons"] = true
L["Enable/Disable the Azerite Buttons on the character window."] = true
L["Durability"] = true
L["Enable/Disable the display of durability information on the character window."] = true
L["Damaged Only"] = true
L["Only show durability information for items that are damaged."] = true
L["Itemlevel"] = true
L["Enable/Disable the display of item levels on the character window."] = true
L["Level"] = true
L["Full Item Level"] = true
L["Show both equipped and average item levels."] = true
L["Item Level Coloring"] = true
L["Color code item levels values. Equipped will be gradient, average - selected color."] = true
L["Color of Average"] = true
L["Sets the color of average item level."] = true
L["Only Relevant Stats"] = true
L["Show only those primary stats relevant to your spec."] = true
L["Item Level"] = true
L["Categories"] = true
L["Open head slot azerite powers."] = true
L["Open shoulder slot azerite powers."] = true
L["Open chest slot azerite powers."] = true
L["Enchant Info"] = true
L["Shows an indictor for enchanted/ not enchanted items."] = true
L["Socket Info"] = true
L["Shows an indictor for socketed/ unsocketed items."] = true
-- PRINTS
L["Equipped head is not an Azerite item."] = true
L["No head item is equipped."] = true
L["Equipped shoulder is not an Azerite item."] = true
L["No shoulder item is equipped."] = true
L["Equipped chest is not an Azerite item."] = true
L["No chest item is equipped."] = true
-- Unitframes
L["UnitFrames"] = true
L["Player Portrait"] = true
......
This diff is collapsed.
local MER, E, L, V, P, G = unpack(select(2, ...))
local AZB = MER:NewModule("MERAzeriteButtons", "AceEvent-3.0")
local S = E:GetModule('Skins')
local LCG = LibStub('LibCustomGlow-1.0')
-- Cache global variables
-- Lua functions
local _G = _G
local unpack = unpack
-- WoW API / Variables
local CreateFrame = CreateFrame
local C_Item_DoesItemExist = C_Item.DoesItemExist
local C_AzeriteEmpoweredItem_IsAzeriteEmpoweredItem = C_AzeriteEmpoweredItem.IsAzeriteEmpoweredItem
local C_AzeriteEmpoweredItem_HasAnyUnselectedPowers = C_AzeriteEmpoweredItem.HasAnyUnselectedPowers
local IsAddOnLoaded = IsAddOnLoaded
--Global variables that we don't cache, list them here for the mikk's Find Globals script
-- GLOBALS:
function AZB:CreateAZbuttons()
if not E.db.mui.armory.azeritebtn then return end
local function Head_OnEnter(self)
GameTooltip:SetOwner(self, 'ANCHOR_TOPLEFT', 0, 4)
GameTooltip:ClearLines()
GameTooltip:AddLine(L["Open head slot azerite powers."])
GameTooltip:Show()
end
local function Head_OnLeave(self)
GameTooltip:Hide()
end
Hbtn = CreateFrame("Button", "headbtn", _G["PaperDollFrame"], "UIPanelButtonTemplate")
Hbtn.text = MER:CreateText(headbtn, "OVERLAY", 12, nil)
Hbtn.text:SetPoint("CENTER", 1, 0)
Hbtn.text:SetJustifyV("MIDDLE")
Hbtn.text:SetText(L["H"])
Hbtn:SetScript('OnEnter', Head_OnEnter)
Hbtn:SetScript('OnLeave', Head_OnLeave)
Hbtn:SetScript("OnClick", function() AZB:openHead() end)
S:HandleButton(headbtn)
local function Shoulder_OnEnter(self)
GameTooltip:SetOwner(self, 'ANCHOR_TOPLEFT', 0, 4)
GameTooltip:ClearLines()
GameTooltip:AddLine(L["Open shoulder slot azerite powers."])
GameTooltip:Show()
end
local function Shoulder_OnLeave(self)
GameTooltip:Hide()
end
Sbtn = CreateFrame("Button", "shoulderbtn", _G["PaperDollFrame"], "UIPanelButtonTemplate")
Sbtn.text = MER:CreateText(shoulderbtn, "OVERLAY", 12, nil)
Sbtn.text:SetPoint("CENTER", 1, 0)
Sbtn.text:SetJustifyV("MIDDLE")
Sbtn.text:SetText(L["S"])
Sbtn:SetScript('OnEnter', Shoulder_OnEnter)
Sbtn:SetScript('OnLeave', Shoulder_OnLeave)
Sbtn:SetScript("OnClick", function() AZB:openShoulder() end)
S:HandleButton(shoulderbtn)
local function Chest_OnEnter(self)
GameTooltip:SetOwner(self, 'ANCHOR_TOPLEFT', 0, 4)
GameTooltip:ClearLines()
GameTooltip:AddLine(L["Open chest slot azerite powers."])
GameTooltip:Show()
end
local function Chest_OnLeave(self)
GameTooltip:Hide()
end
Cbtn = CreateFrame("Button", "chestbtn", _G["PaperDollFrame"], "UIPanelButtonTemplate")
Cbtn.text = MER:CreateText(chestbtn, "OVERLAY", 12, nil)
Cbtn.text:SetPoint("CENTER", 1, 0)
Cbtn.text:SetJustifyV("MIDDLE")
Cbtn.text:SetText(L["C"])
Cbtn:SetScript('OnEnter', Chest_OnEnter)
Cbtn:SetScript('OnLeave', Chest_OnLeave)
Cbtn:SetScript("OnClick", function() AZB:openChest() end)
S:HandleButton(chestbtn)
headbtn:SetFrameStrata("HIGH")
headbtn:SetSize(20, 20)
shoulderbtn:SetFrameStrata("HIGH")
shoulderbtn:SetSize(20, 20)
chestbtn:SetFrameStrata("HIGH")
chestbtn:SetSize(20, 20)
if IsAddOnLoaded("ElvUI_SLE") then
headbtn:SetPoint("BOTTOMLEFT", _G["CharacterHeadSlot"], "TOPLEFT", -1, 4)