Skip to content

Commit

Permalink
[ver. 3.42] - 28.06.2024 (#105)
Browse files Browse the repository at this point in the history
## [ver. 3.42] - 28.06.2024
### FIX
- FIX - Removed debug print.
- FIX - Portraits Optimized code and fixed flipped drop texture (black
background)
### Update
- UPDATE - Add Stone of the Hearth and Draenic Hologem to TP datatext
(thx to Merathilis)
### NEW
- NEW - Add general TOC file for WOTLK Version in China
  • Loading branch information
mBlinkii authored Jun 29, 2024
2 parents 8596adb + d2d3084 commit 25129c8
Show file tree
Hide file tree
Showing 26 changed files with 363 additions and 238 deletions.
14 changes: 14 additions & 0 deletions Addon/!mMT_MediaPack/!mMT_MediaPack.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Interface: 30403
## Author: Blinkii
## Version: 1.19
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFFFF06A2M|r|CFFFF108Ce|r|CFFFF197Ad|r|CFFFF216Bi|r|CFFFF275Da|r |CFFFF3441P|r|CFFFF3F2Ca|r|CFFFF461Cc|r|CFFFF4E0Ck|r
## Notes: mMT Media Pack by Blinkii | Support: [email protected]
## IconTexture: Interface\AddOns\!mMT_MediaPack\media\logo\mmt_icon
## SavedVariables: mMTSettings
## DefaultState: Enabled
## OptionalDeps: LibStub, LibSharedMedia-3.0
## X-Curse-Project-ID: 289502
## X-Wago-ID: 9rN48AND

embeds.xml
media\core.lua
2 changes: 1 addition & 1 deletion Addon/!mMT_MediaPack/!mMT_MediaPack_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 40400
## Author: Blinkii
## Version: 1.18
## Version: 1.19
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFFFF06A2M|r|CFFFF108Ce|r|CFFFF197Ad|r|CFFFF216Bi|r|CFFFF275Da|r |CFFFF3441P|r|CFFFF3F2Ca|r|CFFFF461Cc|r|CFFFF4E0Ck|r
## Notes: mMT Media Pack by Blinkii | Support: [email protected]
## IconTexture: Interface\AddOns\!mMT_MediaPack\media\logo\mmt_icon
Expand Down
2 changes: 1 addition & 1 deletion Addon/!mMT_MediaPack/!mMT_MediaPack_Classic.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 11502
## Author: Blinkii
## Version: 1.18
## Version: 1.19
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFFFF06A2M|r|CFFFF108Ce|r|CFFFF197Ad|r|CFFFF216Bi|r|CFFFF275Da|r |CFFFF3441P|r|CFFFF3F2Ca|r|CFFFF461Cc|r|CFFFF4E0Ck|r
## Notes: mMT Media Pack by Blinkii | Support: [email protected]
## IconTexture: Interface\AddOns\!mMT_MediaPack\media\logo\mmt_icon
Expand Down
2 changes: 1 addition & 1 deletion Addon/!mMT_MediaPack/!mMT_MediaPack_Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 100207
## Author: Blinkii
## Version: 1.18
## Version: 1.19
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFFFF06A2M|r|CFFFF108Ce|r|CFFFF197Ad|r|CFFFF216Bi|r|CFFFF275Da|r |CFFFF3441P|r|CFFFF3F2Ca|r|CFFFF461Cc|r|CFFFF4E0Ck|r
## Notes: mMT Media Pack by Blinkii | Support: [email protected]
## IconTexture: Interface\AddOns\!mMT_MediaPack\media\logo\mmt_icon
Expand Down
26 changes: 26 additions & 0 deletions Addon/ElvUI_mMediaTag/ElvUI_mMediaTag.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Interface: 30403
## Author: Blinkii
## Version: 3.42
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFF6559F1m|r|CFF7A4DEFM|r|CFF8845ECe|r|CFFA037E9d|r|CFFA435E8i|r|CFFB32DE6a|r|CFFBC26E5T|r|CFFCB1EE3a|r|CFFDD14E0g|r |CFFFF006C&|r |CFFFF4C00T|r|CFFFF7300o|r|CFFFF9300o|r|CFFFFA800l|r|CFFFFC900s|r
## Notes: mMediaTag & Tools is a plugin for ElvUI. mMediaTag adds many media files like textures/ fonts/ icons and some tools to ElvUI.
## Notes-deDE: mMediaTag & Tools ist ein Plugin für ElvUI. mMediaTag fügt viele Mediendateien wie Texturen/ Schriften/ Symbole und einige Tools zu ElvUI hinzu.
## IconTexture: Interface\AddOns\ElvUI_mMediaTag\media\logo\mmt_icon
## AddonCompartmentFunc: ElvUI_mMediaTag_OnAddonCompartmentClick
## AddonCompartmentFuncOnEnter: ElvUI_mMediaTag_OnAddonCompartmentOnEnter
## AddonCompartmentFuncOnLeave: ElvUI_mMediaTag_OnAddonCompartmentOnLeave
## SavedVariables: mMTDB
## RequiredDeps: ElvUI
## DefaultState: Enabled
## X-Curse-Project-ID: 289502
## X-Wago-ID: 9rN48AND

lib\load_libs.xml
lib\LibAddonCompat-1.0.lua

localization\load_localization.xml

init.lua
core\load_core.xml
media\load_media.xml
modules\load_modules_classic.xml
modules\classic\load_classic.xml
2 changes: 1 addition & 1 deletion Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 40400
## Author: Blinkii
## Version: 3.41
## Version: 3.42
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFF6559F1m|r|CFF7A4DEFM|r|CFF8845ECe|r|CFFA037E9d|r|CFFA435E8i|r|CFFB32DE6a|r|CFFBC26E5T|r|CFFCB1EE3a|r|CFFDD14E0g|r |CFFFF006C&|r |CFFFF4C00T|r|CFFFF7300o|r|CFFFF9300o|r|CFFFFA800l|r|CFFFFC900s|r
## IconTexture: Interface\AddOns\ElvUI_mMediaTag\media\logo\mmt_icon
## AddonCompartmentFunc: ElvUI_mMediaTag_OnAddonCompartmentClick
Expand Down
2 changes: 1 addition & 1 deletion Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Classic.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 11502
## Author: Blinkii
## Version: 3.41
## Version: 3.42
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFF6559F1m|r|CFF7A4DEFM|r|CFF8845ECe|r|CFFA037E9d|r|CFFA435E8i|r|CFFB32DE6a|r|CFFBC26E5T|r|CFFCB1EE3a|r|CFFDD14E0g|r |CFFFF006C&|r |CFFFF4C00T|r|CFFFF7300o|r|CFFFF9300o|r|CFFFFA800l|r|CFFFFC900s|r
## Notes: mMediaTag & Tools is a plugin for ElvUI. mMediaTag adds many media files like textures/ fonts/ icons and some tools to ElvUI.
## Notes-deDE: mMediaTag & Tools ist ein Plugin für ElvUI. mMediaTag fügt viele Mediendateien wie Texturen/ Schriften/ Symbole und einige Tools zu ElvUI hinzu.
Expand Down
2 changes: 1 addition & 1 deletion Addon/ElvUI_mMediaTag/ElvUI_mMediaTag_Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Interface: 100207
## Author: Blinkii
## Version: 3.41
## Version: 3.42
## Title: |CFF6559F1m|r|CFFA037E9M|r|CFFDD14E0T|r - |CFF6559F1m|r|CFF7A4DEFM|r|CFF8845ECe|r|CFFA037E9d|r|CFFA435E8i|r|CFFB32DE6a|r|CFFBC26E5T|r|CFFCB1EE3a|r|CFFDD14E0g|r |CFFFF006C&|r |CFFFF4C00T|r|CFFFF7300o|r|CFFFF9300o|r|CFFFFA800l|r|CFFFFC900s|r
## Notes: ElvUI Plugin from Blinkii | Support: [email protected]
## IconTexture: Interface\AddOns\ElvUI_mMediaTag\media\logo\mmt_icon
Expand Down
99 changes: 79 additions & 20 deletions Addon/ElvUI_mMediaTag/core/core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,26 @@ end

function mMT:Update_MP_Settings()
if IsAddOnLoaded("!mMT_MediaPack") then
mMTSettings.all = E.db.mMT.mp_textures.all
mMTSettings.a = E.db.mMT.mp_textures.a
mMTSettings.b = E.db.mMT.mp_textures.b
mMTSettings.c = E.db.mMT.mp_textures.c
mMTSettings.d = E.db.mMT.mp_textures.d
mMTSettings.e = E.db.mMT.mp_textures.e
mMTSettings.f = E.db.mMT.mp_textures.f
mMTSettings.g = E.db.mMT.mp_textures.g
mMTSettings.h = E.db.mMT.mp_textures.h
mMTSettings.i = E.db.mMT.mp_textures.i
mMTSettings.j = E.db.mMT.mp_textures.j
mMTSettings.k = E.db.mMT.mp_textures.k
mMTSettings.l = E.db.mMT.mp_textures.l
mMTSettings.n = E.db.mMT.mp_textures.n
mMTSettings.m = E.db.mMT.mp_textures.m
mMTSettings.o = E.db.mMT.mp_textures.o
mMTSettings.p = E.db.mMT.mp_textures.p
mMTSettings.q = E.db.mMT.mp_textures.q
mMTSettings.r = E.db.mMT.mp_textures.r
mMTSettings.s = E.db.mMT.mp_textures.s
mMTSettings.all = E.db.mMT.mp_textures.all
mMTSettings.a = E.db.mMT.mp_textures.a
mMTSettings.b = E.db.mMT.mp_textures.b
mMTSettings.c = E.db.mMT.mp_textures.c
mMTSettings.d = E.db.mMT.mp_textures.d
mMTSettings.e = E.db.mMT.mp_textures.e
mMTSettings.f = E.db.mMT.mp_textures.f
mMTSettings.g = E.db.mMT.mp_textures.g
mMTSettings.h = E.db.mMT.mp_textures.h
mMTSettings.i = E.db.mMT.mp_textures.i
mMTSettings.j = E.db.mMT.mp_textures.j
mMTSettings.k = E.db.mMT.mp_textures.k
mMTSettings.l = E.db.mMT.mp_textures.l
mMTSettings.n = E.db.mMT.mp_textures.n
mMTSettings.m = E.db.mMT.mp_textures.m
mMTSettings.o = E.db.mMT.mp_textures.o
mMTSettings.p = E.db.mMT.mp_textures.p
mMTSettings.q = E.db.mMT.mp_textures.q
mMTSettings.r = E.db.mMT.mp_textures.r
mMTSettings.s = E.db.mMT.mp_textures.s
end
end

Expand Down Expand Up @@ -91,6 +91,65 @@ function mMT:CheckEltruism()
return elt_tbl
end

function mMT:CheckMerathilisUI()
local mui_tbl = {
loaded = IsAddOnLoaded("ElvUI_MerathilisUI"),
gradient = false,
custom = false,
colors = nil,
}



if mui_tbl.loaded then
mui_tbl.gradient = E.db.mui.gradient and E.db.mui.gradient.enable
mui_tbl.custom = E.db.mui.gradient and E.db.mui.gradient.customColor.enableClass
local c = mui_tbl.custom and E.db.mui.gradient.customColor or _G.ElvUI_MerathilisUI[2].ClassGradient

if mui_tbl.custom then
mui_tbl.colors = {
["WARRIOR"] = { a = { r = c.warriorcolorR1, g = c.warriorcolorG1, b = c.warriorcolorB1, a = 1 }, b = { r = c.warriorcolorR2, g = c.warriorcolorG2, b = c.warriorcolorB2, a = 1 } },
["PALADIN"] = { a = { r = c.paladincolorR1, g = c.paladincolorG1, b = c.paladincolorB1, a = 1 }, b = { r = c.paladincolorR2, g = c.paladincolorG2, b = c.paladincolorB2, a = 1 } },
["HUNTER"] = { a = { r = c.huntercolorR1, g = c.huntercolorG1, b = c.huntercolorB1, a = 1 }, b = { r = c.huntercolorR2, g = c.huntercolorG2, b = c.huntercolorB2, a = 1 } },
["ROGUE"] = { a = { r = c.roguecolorR1, g = c.roguecolorG1, b = c.roguecolorB1, a = 1 }, b = { r = c.roguecolorR2, g = c.roguecolorG2, b = c.roguecolorB2, a = 1 } },
["PRIEST"] = { a = { r = c.priestcolorR1, g = c.priestcolorG1, b = c.priestcolorB1, a = 1 }, b = { r = c.priestcolorR2, g = c.priestcolorG2, b = c.priestcolorB2, a = 1 } },
["DEATHKNIGHT"] = { a = { r = c.deathknightcolorR1, g = c.deathknightcolorG1, b = c.deathknightcolorB1, a = 1 }, b = { r = c.deathknightcolorR2, g = c.deathknightcolorG2, b = c.deathknightcolorB2, a = 1 } },
["SHAMAN"] = { a = { r = c.shamancolorR1, g = c.shamancolorG1, b = c.shamancolorB1, a = 1 }, b = { r = c.shamancolorR2, g = c.shamancolorG2, b = c.shamancolorB2, a = 1 } },
["MAGE"] = { a = { r = c.magecolorR1, g = c.magecolorG1, b = c.magecolorB1, a = 1 }, b = { r = c.magecolorR2, g = c.magecolorG2, b = c.magecolorB2, a = 1 } },
["WARLOCK"] = { a = { r = c.warlockcolorR1, g = c.warlockcolorG1, b = c.warlockcolorB1, a = 1 }, b = { r = c.warlockcolorR2, g = c.warlockcolorG2, b = c.warlockcolorB2, a = 1 } },
["MONK"] = { a = { r = c.monkcolorR1, g = c.monkcolorG1, b = c.monkcolorB1, a = 1 }, b = { r = c.monkcolorR2, g = c.monkcolorG2, b = c.monkcolorB2, a = 1 } },
["DRUID"] = { a = { r = c.druidcolorR1, g = c.druidcolorG1, b = c.druidcolorB1, a = 1 }, b = { r = c.druidcolorR2, g = c.druidcolorG2, b = c.druidcolorB2, a = 1 } },
["DEMONHUNTER"] = { a = { r = c.demonhuntercolorR1, g = c.demonhuntercolorG1, b = c.demonhuntercolorB1, a = 1 }, b = { r = c.demonhuntercolorR2, g = c.demonhuntercolorG2, b = c.demonhuntercolorB2, a = 1 } },
["EVOKER"] = { a = { r = c.evokercolorR1, g = c.evokercolorG1, b = c.evokercolorB1, a = 1 }, b = { r = c.evokercolorR2, g = c.evokercolorG2, b = c.evokercolorB2, a = 1 } },
["friendly"] = { a = { r = c.npcfriendlyR1, g = c.npcfriendlyG1, b = c.npcfriendlyB1, a = 1 }, b = { r = c.npcfriendlyR2, g = c.npcfriendlyG2, b = c.npcfriendlyB2, a = 1 } },
["neutral"] = { a = { r = c.npcneutralR1, g = c.npcneutralG1, b = c.npcneutralB1, a = 1 }, b = { r = c.npcneutralR2, g = c.npcneutralG2, b = c.npcneutralB2, a = 1 } },
["enemy"] = { a = { r = c.npchostileR1, g = c.npchostileG1, b = c.npchostileB1, a = 1 }, b = { r = c.npchostileR2, g = c.npchostileG2, b = c.npchostileB2, a = 1 } },
}
else
mui_tbl.colors = {
["WARRIOR"] = { a = { r = c.WARRIOR.r1, g = c.WARRIOR.g1, b = c.WARRIOR.b1, a = 1 }, b = { r = c.WARRIOR.r2, g = c.WARRIOR.g2, b = c.WARRIOR.b2, a = 1 } },
["PALADIN"] = { a = { r = c.PALADIN.r1, g = c.PALADIN.g1, b = c.PALADIN.b1, a = 1 }, b = { r = c.PALADIN.r2, g = c.PALADIN.g2, b = c.PALADIN.b2, a = 1 } },
["HUNTER"] = { a = { r = c.HUNTER.r1, g = c.HUNTER.g1, b = c.HUNTER.b1, a = 1 }, b = { r = c.HUNTER.r2, g = c.HUNTER.g2, b = c.HUNTER.b2, a = 1 } },
["ROGUE"] = { a = { r = c.ROGUE.r1, g = c.ROGUE.g1, b = c.ROGUE.b1, a = 1 }, b = { r = c.ROGUE.r2, g = c.ROGUE.g2, b = c.ROGUE.b2, a = 1 } },
["PRIEST"] = { a = { r = c.PRIEST.r1, g = c.PRIEST.g1, b = c.PRIEST.b1, a = 1 }, b = { r = c.PRIEST.r2, g = c.PRIEST.g2, b = c.PRIEST.b2, a = 1 } },
["DEATHKNIGHT"] = { a = { r = c.DEATHKNIGHT.r1, g = c.DEATHKNIGHT.g1, b = c.DEATHKNIGHT.b1, a = 1 }, b = { r = c.DEATHKNIGHT.r2, g = c.DEATHKNIGHT.g2, b = c.DEATHKNIGHT.b2, a = 1 } },
["SHAMAN"] = { a = { r = c.SHAMAN.r1, g = c.SHAMAN.g1, b = c.SHAMAN.b1, a = 1 }, b = { r = c.SHAMAN.r2, g = c.SHAMAN.g2, b = c.SHAMAN.b2, a = 1 } },
["MAGE"] = { a = { r = c.MAGE.r1, g = c.MAGE.g1, b = c.MAGE.b1, a = 1 }, b = { r = c.MAGE.r2, g = c.MAGE.g2, b = c.MAGE.b2, a = 1 } },
["WARLOCK"] = { a = { r = c.WARLOCK.r1, g = c.WARLOCK.g1, b = c.WARLOCK.b1, a = 1 }, b = { r = c.WARLOCK.r2, g = c.WARLOCK.g2, b = c.WARLOCK.b2, a = 1 } },
["MONK"] = { a = { r = c.MONK.r1, g = c.MONK.g1, b = c.MONK.b1, a = 1 }, b = { r = c.MONK.r2, g = c.MONK.g2, b = c.MONK.b2, a = 1 } },
["DRUID"] = { a = { r = c.DRUID.r1, g = c.DRUID.g1, b = c.DRUID.b1, a = 1 }, b = { r = c.DRUID.r2, g = c.DRUID.g2, b = c.DRUID.b2, a = 1 } },
["DEMONHUNTER"] = { a = { r = c.DEMONHUNTER.r1, g = c.DEMONHUNTER.g1, b = c.DEMONHUNTER.b1, a = 1 }, b = { r = c.DEMONHUNTER.r2, g = c.DEMONHUNTER.g2, b = c.DEMONHUNTER.b2, a = 1 } },
["EVOKER"] = { a = { r = c.EVOKER.r1, g = c.EVOKER.g1, b = c.EVOKER.b1, a = 1 }, b = { r = c.EVOKER.r2, g = c.EVOKER.g2, b = c.EVOKER.b2, a = 1 } },
["friendly"] = { a = { r = c.NPCFRIENDLY.r1, g = c.NPCFRIENDLY.g1, b = c.NPCFRIENDLY.b1, a = 1 }, b = { r = c.NPCFRIENDLY.r2, g = c.NPCFRIENDLY.g2, b = c.NPCFRIENDLY.b2, a = 1 } },
["neutral"] = { a = { r = c.NPCNEUTRAL.r1, g = c.NPCNEUTRAL.g1, b = c.NPCNEUTRAL.b1, a = 1 }, b = { r = c.NPCNEUTRAL.r2, g = c.NPCNEUTRAL.g2, b = c.NPCNEUTRAL.b2, a = 1 } },
["enemy"] = { a = { r = c.NPCHOSTILE.r1, g = c.NPCHOSTILE.g1, b = c.NPCHOSTILE.b1, a = 1 }, b = { r = c.NPCHOSTILE.r2, g = c.NPCHOSTILE.g2, b = c.NPCHOSTILE.b2, a = 1 } },
}
end
end

return mui_tbl
end

function mMT:JiberishIcons()
local jib_tbl = {
version = nil,
Expand Down
6 changes: 5 additions & 1 deletion Addon/ElvUI_mMediaTag/core/options/changelog.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ local change_log_important = {
"This update will reset the Spell DB.",
}

local releasdate = "27.06.2024"
local releasdate = "28.06.2024"

local change_log_new = {
"Portraits can now use custom textures.",
"Portraits can now show cast icon, available for player, target, focus, party, boss, and arena.",
"Portraits setting to force reaction colors on Player Units.",
"TAGs: mLevel:hidecombat, mLevelSmart:hidecombat, mHealth:onlypercent-with-absorbs:ndp, mHealth:short:absorbs, mColor:absorbs.",
"TAGs: mHealth:current-percent:absorbs, mHealth:current-percent:ndp:absorbs, mHealth:current-percent:short:absorbs, mHealth:current-percent:short:ndp:absorbs.",
"Add general TOC file for WOTLK Version in China",
}

local change_log_update = {
Expand All @@ -32,6 +33,7 @@ local change_log_update = {
"NEW: Icon for Teleports data text.",
"Portraits texture names.",
"Removed Portraits texture simple square and added flipped Versions for Drop texture.",
"Add Stone of the Hearth and Draenic Hologem to TP datatext (thx to Merathilis)",
}

local change_log_fix = {
Expand All @@ -43,6 +45,8 @@ local change_log_fix = {
"Removed empty data text entry.",
"Add S Pack to mMT Settings DB.",
"Datatext Durability/ Ilevel: Durability color values.",
"Removed debug print.",
"Portraits Optimized code and fixed flipped drop texture (black background)",
}

local function Concatenation(tbl, icon, color)
Expand Down
48 changes: 34 additions & 14 deletions Addon/ElvUI_mMediaTag/core/options/portraits.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,20 +148,8 @@ local function configTable()
mMT.Modules.Portraits:Initialize()
end,
},
toggle_gradien_eltr = {
order = 2,
type = "toggle",
name = L["Use Eltruism colors"],
get = function(info)
return E.db.mMT.portraits.general.eltruism
end,
set = function(info, value)
E.db.mMT.portraits.general.eltruism = value
mMT.Modules.Portraits:Initialize()
end,
},
select_gradient = {
order = 3,
order = 2,
type = "select",
name = L["Gradient Orientation"],
disabled = function()
Expand All @@ -179,6 +167,39 @@ local function configTable()
VERTICAL = "VERTICAL",
},
},
spacer_texture1 = {
order = 3,
type = "description",
name = "\n\n",
},
toggle_gradien_eltr = {
order = 4,
type = "toggle",
name = L["Use Eltruism colors"],
get = function(info)
return E.db.mMT.portraits.general.eltruism
end,
set = function(info, value)
E.db.mMT.portraits.general.eltruism = value
E.db.mMT.portraits.general.mui = false
mMT.ElvUI_EltreumUI = mMT:CheckEltruism()
mMT.Modules.Portraits:Initialize()
end,
},
toggle_gradien_mui = {
order = 5,
type = "toggle",
name = L["Use MerathilisUI colors"],
get = function(info)
return E.db.mMT.portraits.general.mui
end,
set = function(info, value)
E.db.mMT.portraits.general.mui = value
E.db.mMT.portraits.general.eltruism = false
mMT.ElvUI_MerathilisUI = mMT:CheckMerathilisUI()
mMT.Modules.Portraits:Initialize()
end,
},
},
},
},
Expand Down Expand Up @@ -680,7 +701,6 @@ local function configTable()
return E.db.mMT.portraits.player.flippe and E.db.mMT.portraits.player.texture .. "T" or E.db.mMT.portraits.player.texture
end,
set = function(info, value)
mMT:Print(value, (value == "SQT" or value == "ROT"))
E.db.mMT.portraits.player.flippe = (value == "SQT" or value == "ROT")
if value == "SQT" then
E.db.mMT.portraits.player.texture = "SQ"
Expand Down
3 changes: 2 additions & 1 deletion Addon/ElvUI_mMediaTag/core/settings/defaultSettings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ P.mMT = {
castbar = { enable = false, texture = "mMediaTag A8" },
altpower = { enable = false, texture = "mMediaTag A8" },
},
customtextures= {
customtextures = {
health = { enable = false, texture = "mMediaTag A8" },
power = { enable = false, texture = "mMediaTag A8" },
castbar = { enable = false, texture = "mMediaTag A8" },
Expand Down Expand Up @@ -718,6 +718,7 @@ P.mMT = {
enable = false,
reaction = false,
eltruism = false,
mui = false,
gradient = true,
default = false,
corner = true,
Expand Down
3 changes: 3 additions & 0 deletions Addon/ElvUI_mMediaTag/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ mMT.Config = {}
mMT.DB = {}
mMT.ClassColor = {}
mMT.ElvUI_EltreumUI = {}
mMT.ElvUI_MerathilisUI = {}
mMT.ElvUI_JiberishIcons = {}
mMT.DEVNames = {}
mMT.DevMode = false
Expand Down Expand Up @@ -201,6 +202,7 @@ function mMT:Initialize()

-- update defaults
mMT.ElvUI_EltreumUI = mMT:CheckEltruism()
mMT.ElvUI_MerathilisUI = mMT:CheckMerathilisUI()
mMT.ClassColor = mMT:UpdateClassColor()
mMT.ElvUI_JiberishIcons = mMT:JiberishIcons()
mMT.DEVNames = mMT:GetDevNames()
Expand Down Expand Up @@ -273,6 +275,7 @@ end
function mMT:PLAYER_ENTERING_WORLD(event)
-- update defaults
mMT.ElvUI_EltreumUI = mMT:CheckEltruism()
mMT.ElvUI_MerathilisUI = mMT:CheckMerathilisUI()
mMT.ClassColor = mMT:UpdateClassColor()
mMT.ElvUI_JiberishIcons = mMT:JiberishIcons()
mMT.DEVNames = mMT:GetDevNames()
Expand Down
3 changes: 3 additions & 0 deletions Addon/ElvUI_mMediaTag/localization/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -709,3 +709,6 @@ L["|cffFFFFFFControl + Left Click:|r Change Loadout"] = "|cffFFFFFFStrg + Linksk
L["|cffFFFFFFLeft Click:|r Change Talent Specialization"] = "|cffFFFFFFLinks Klick:|r Talent Spezialisierung ändern"
L["|cffFFFFFFRight Click:|r Change Loot Specialization"] = "|cffFFFFFFRechtsklick:|r Beutespezialisierung ändern"
L["|cffFFFFFFShift + Left Click:|r Show Talent Specialization UI"] = "|cffFFFFFFShift + Links Klick:|r Zeige Talent Spezialisierungs Interface"

-- new
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,3 +712,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,3 +712,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -711,3 +711,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,3 +712,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,3 +712,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,3 +712,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,3 +712,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,3 +712,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
1 change: 1 addition & 0 deletions Addon/ElvUI_mMediaTag/localization/zhTW.lua
Original file line number Diff line number Diff line change
Expand Up @@ -712,3 +712,4 @@ L["Absorbs color."] = true
L["Other Colors"] = true
L["Drop flipped"] = true
L["Drop round flipped"] = true
L["Use MerathilisUI colors"] = true
Loading

0 comments on commit 25129c8

Please sign in to comment.