diff --git a/Classic/TitanCritical.lua b/Classic/TitanCritical.lua index c9e5493..00dc5e0 100644 --- a/Classic/TitanCritical.lua +++ b/Classic/TitanCritical.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "Titan_CTCM" local critDmg = 0 diff --git a/Classic/TitanHitChance.lua b/Classic/TitanHitChance.lua index 4bcbf17..5e44b28 100644 --- a/Classic/TitanHitChance.lua +++ b/Classic/TitanHitChance.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_HTCHM" local hitChance = 0 diff --git a/Classic/TitanIntellect-ClassicEra.lua b/Classic/TitanIntellect-ClassicEra.lua index d47890d..c14b8ee 100644 --- a/Classic/TitanIntellect-ClassicEra.lua +++ b/Classic/TitanIntellect-ClassicEra.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_INLLM" local int = 0 diff --git a/Classic/TitanManaRegen-ClassicEra.lua b/Classic/TitanManaRegen-ClassicEra.lua index ba65c13..281c5e9 100644 --- a/Classic/TitanManaRegen-ClassicEra.lua +++ b/Classic/TitanManaRegen-ClassicEra.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_MARGM" local MnC, MC = 0, 0 diff --git a/Classic/TitanMastery.lua b/Classic/TitanMastery.lua index 7e6f325..cc81ffa 100644 --- a/Classic/TitanMastery.lua +++ b/Classic/TitanMastery.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_MSYM" local MY = 0 diff --git a/Classic/TitanQuests.lua b/Classic/TitanQuests.lua index c0cb474..73afe9a 100644 --- a/Classic/TitanQuests.lua +++ b/Classic/TitanQuests.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_QUESSM" local quests = 0 diff --git a/Classic/TitanSpirit.lua b/Classic/TitanSpirit.lua index d18398b..fa87815 100644 --- a/Classic/TitanSpirit.lua +++ b/Classic/TitanSpirit.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_SPRTM" local sprt = 0 diff --git a/Classic/TitanStamina.lua b/Classic/TitanStamina.lua index bd1fce2..828dc37 100644 --- a/Classic/TitanStamina.lua +++ b/Classic/TitanStamina.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_STMNM" local STAM = 0 diff --git a/Classic/TitanStrength-ClassicEra.lua b/Classic/TitanStrength-ClassicEra.lua index d862a98..d698684 100644 --- a/Classic/TitanStrength-ClassicEra.lua +++ b/Classic/TitanStrength-ClassicEra.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_STGTHM" local strn = 0 diff --git a/Classic/TitanXP-Classic.lua b/Classic/TitanXP-Classic.lua index c630e93..cdd0ef9 100644 --- a/Classic/TitanXP-Classic.lua +++ b/Classic/TitanXP-Classic.lua @@ -7,6 +7,7 @@ Special Thanks to Eliote. local ADDON_NAME, L = ...; local ACE = LibStub("AceLocale-3.0"):GetLocale("TitanClassic", true) +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_XPRCTM" local AXP diff --git a/Classic/TitanXP-ClassicEra.lua b/Classic/TitanXP-ClassicEra.lua index cb38ef3..e737d29 100644 --- a/Classic/TitanXP-ClassicEra.lua +++ b/Classic/TitanXP-ClassicEra.lua @@ -7,6 +7,7 @@ Special Thanks to Eliote. local ADDON_NAME, L = ...; local ACE = LibStub("AceLocale-3.0"):GetLocale("TitanClassic", true) +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_XPRCTM" local AXP diff --git a/Misc/TitanAchievement.lua b/Misc/TitanAchievement.lua index 2646466..15b0998 100644 --- a/Misc/TitanAchievement.lua +++ b/Misc/TitanAchievement.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_ACHEVM" local achiev = 0 diff --git a/Misc/TitanDeath.lua b/Misc/TitanDeath.lua index 5f2ccf3..b251f71 100644 --- a/Misc/TitanDeath.lua +++ b/Misc/TitanDeath.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_PYDTHM" local dth = 0 diff --git a/Misc/TitanHonor.lua b/Misc/TitanHonor.lua index 2b77ac1..7f80217 100644 --- a/Misc/TitanHonor.lua +++ b/Misc/TitanHonor.lua @@ -7,6 +7,7 @@ Special Thanks to Eliote. local ADDON_NAME, L = ...; local ACE = LibStub("AceLocale-3.0"):GetLocale("Titan", true) +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_HNRLLM" local honor = 0 diff --git a/Misc/TitanHonorableKills.lua b/Misc/TitanHonorableKills.lua index d9c7798..cf692fc 100644 --- a/Misc/TitanHonorableKills.lua +++ b/Misc/TitanHonorableKills.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_HONKLM" local hkill = 0 diff --git a/Misc/TitanILVL.lua b/Misc/TitanILVL.lua index dfe11c8..1cc17a3 100644 --- a/Misc/TitanILVL.lua +++ b/Misc/TitanILVL.lua @@ -5,6 +5,7 @@ Author: Eliote, Canettieri --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_ILEM" local playerilvl = 0.0 diff --git a/Misc/TitanQuests.lua b/Misc/TitanQuests.lua index fbfaf3b..a820ec9 100644 --- a/Misc/TitanQuests.lua +++ b/Misc/TitanQuests.lua @@ -7,6 +7,7 @@ Special Thanks to Eliote. local ADDON_NAME, L = ...; local ACE = LibStub("AceLocale-3.0"):GetLocale("Titan", true) +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_QUESSM" local activeQuests = 0 -- Questas ativas diff --git a/Misc/TitanXP.lua b/Misc/TitanXP.lua index 19637f1..caa66fb 100644 --- a/Misc/TitanXP.lua +++ b/Misc/TitanXP.lua @@ -7,6 +7,7 @@ Special Thanks to Eliote. local ADDON_NAME, L = ...; local ACE = LibStub("AceLocale-3.0"):GetLocale("Titan", true) +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_XPRCTM" local AXP diff --git a/Stats/TitanAgility.lua b/Stats/TitanAgility.lua index 73aa3d1..022bd81 100644 --- a/Stats/TitanAgility.lua +++ b/Stats/TitanAgility.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_AGLTYM" local aglty = 0 diff --git a/Stats/TitanArmor.lua b/Stats/TitanArmor.lua index d575f76..d7246db 100644 --- a/Stats/TitanArmor.lua +++ b/Stats/TitanArmor.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_ARMRM" local amr = 0 diff --git a/Stats/TitanBlock.lua b/Stats/TitanBlock.lua index af3f472..49da04f 100644 --- a/Stats/TitanBlock.lua +++ b/Stats/TitanBlock.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_BLKM" local BK = 0 diff --git a/Stats/TitanCritical.lua b/Stats/TitanCritical.lua index c50b6e2..4d4a4da 100644 --- a/Stats/TitanCritical.lua +++ b/Stats/TitanCritical.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "Titan_CTCM" local critDmg = 0 diff --git a/Stats/TitanDodge.lua b/Stats/TitanDodge.lua index 4b2bae5..a052456 100644 --- a/Stats/TitanDodge.lua +++ b/Stats/TitanDodge.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_DDGM" local DG = 0 diff --git a/Stats/TitanHaste.lua b/Stats/TitanHaste.lua index 68a22a6..2da1faa 100644 --- a/Stats/TitanHaste.lua +++ b/Stats/TitanHaste.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_HSTM" local HA = 0 diff --git a/Stats/TitanIntellect.lua b/Stats/TitanIntellect.lua index 2538311..3a66cf1 100644 --- a/Stats/TitanIntellect.lua +++ b/Stats/TitanIntellect.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_INLLM" local int = 0 diff --git a/Stats/TitanManaRegen.lua b/Stats/TitanManaRegen.lua index dfa29d3..1050e3b 100644 --- a/Stats/TitanManaRegen.lua +++ b/Stats/TitanManaRegen.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_MARGM" local manaReg = 0 diff --git a/Stats/TitanMastery.lua b/Stats/TitanMastery.lua index c003e65..4d1a997 100644 --- a/Stats/TitanMastery.lua +++ b/Stats/TitanMastery.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_MSYM" local MY = 0 diff --git a/Stats/TitanMeleePower.lua b/Stats/TitanMeleePower.lua index da216c4..f891265 100644 --- a/Stats/TitanMeleePower.lua +++ b/Stats/TitanMeleePower.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_MLAM" local MP = 0 diff --git a/Stats/TitanParry.lua b/Stats/TitanParry.lua index 8e817de..edaae19 100644 --- a/Stats/TitanParry.lua +++ b/Stats/TitanParry.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_PRRM" local PR = 0 diff --git a/Stats/TitanRangedPower.lua b/Stats/TitanRangedPower.lua index 1e2393a..4a6ac08 100644 --- a/Stats/TitanRangedPower.lua +++ b/Stats/TitanRangedPower.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_RAPM" local RP = 0 diff --git a/Stats/TitanSpellPower.lua b/Stats/TitanSpellPower.lua index 66c02d4..3919459 100644 --- a/Stats/TitanSpellPower.lua +++ b/Stats/TitanSpellPower.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_SLLM" local SP = 0 diff --git a/Stats/TitanStamina.lua b/Stats/TitanStamina.lua index 025250d..eae8a5c 100644 --- a/Stats/TitanStamina.lua +++ b/Stats/TitanStamina.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_STMNM" local STAM = 0 diff --git a/Stats/TitanStrength.lua b/Stats/TitanStrength.lua index c498908..6ceeafa 100644 --- a/Stats/TitanStrength.lua +++ b/Stats/TitanStrength.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_STGTHM" local strn = 0 diff --git a/Stats/TitanVersatility.lua b/Stats/TitanVersatility.lua index 3cd9f2e..c815f2b 100644 --- a/Stats/TitanVersatility.lua +++ b/Stats/TitanVersatility.lua @@ -6,6 +6,7 @@ Special Thanks to Eliote. --]] local ADDON_NAME, L = ...; +local GetAddOnMetadata = C_AddOns and C_AddOns.GetAddOnMetadata or GetAddOnMetadata local version = GetAddOnMetadata(ADDON_NAME, "Version") local ID = "TITAN_VERTM" local VD, VT = 0, 0 diff --git a/TitanAttributesMulti.toc b/TitanAttributesMulti.toc index 08eac33..d4647fe 100644 --- a/TitanAttributesMulti.toc +++ b/TitanAttributesMulti.toc @@ -1,4 +1,4 @@ -## Interface: 110000 +## Interface: 110002 ## Title: Titan Panel [|cff336699Attributes|r] Multi! |cff00aa00@project-version@|r ## Notes: Track your attributes values! Right-click on Titan Panel, go to "Combat" tab and enjoy. ## Notes-ptBR: Rastreie o valor de seus atributos! Clique com o botão direito no Painel Titan, vá na aba "Combate" e aproveite.