diff --git a/AethysCore/Class/Main.lua b/AethysCore/Class/Main.lua index 76e5d6f8..a5d17480 100644 --- a/AethysCore/Class/Main.lua +++ b/AethysCore/Class/Main.lua @@ -9,6 +9,7 @@ local setmetatable = setmetatable; local stringformat = string.format; -- File Locals + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Spell/Artifact.lua b/AethysCore/Class/Spell/Artifact.lua index 3ca8d27d..26ef2859 100644 --- a/AethysCore/Class/Spell/Artifact.lua +++ b/AethysCore/Class/Spell/Artifact.lua @@ -12,16 +12,10 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local error = error; - local mathmax = math.max; local pairs = pairs; - local print = print; - local select = select; - local tableinsert = table.insert; - local tostring = tostring; - local unpack = unpack; local wipe = table.wipe; -- File Locals + --- ============================ CONTENT ============================ @@ -49,7 +43,6 @@ -- GetPowerInfo() returns a table and not multiple values unlike most WoW API. -- offset, prereqsMet, cost, bonusRanks, maxRanks, linearIndex, position, isFinal, numMaxRankBonusFromTier, tier, isGoldMedal, isStart, currentRank, spellID PowerInfo = ArtifactUI.GetPowerInfo(Power); - --tableinsert(PowerTable, PowerInfo); PowerTableByPowerID[Power] = PowerInfo; PowerTableBySpellID[PowerInfo.spellID] = PowerInfo; end diff --git a/AethysCore/Class/Spell/Book.lua b/AethysCore/Class/Spell/Book.lua index a34d9ac1..dd5c4425 100644 --- a/AethysCore/Class/Spell/Book.lua +++ b/AethysCore/Class/Spell/Book.lua @@ -12,16 +12,9 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local error = error; - local mathmax = math.max; - local pairs = pairs; - local print = print; local select = select; - local tableinsert = table.insert; - local tostring = tostring; - local unpack = unpack; - local wipe = table.wipe; -- File Locals + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Spell/Cooldown.lua b/AethysCore/Class/Spell/Cooldown.lua index ea2c3bcb..33d2b26d 100644 --- a/AethysCore/Class/Spell/Cooldown.lua +++ b/AethysCore/Class/Spell/Cooldown.lua @@ -12,16 +12,10 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local error = error; local mathmax = math.max; - local pairs = pairs; - local print = print; - local select = select; - local tableinsert = table.insert; - local tostring = tostring; local unpack = unpack; - local wipe = table.wipe; -- File Locals + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Spell/Main.lua b/AethysCore/Class/Spell/Main.lua index 5555ed6d..d509d3fd 100644 --- a/AethysCore/Class/Spell/Main.lua +++ b/AethysCore/Class/Spell/Main.lua @@ -12,16 +12,11 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local error = error; - local mathmax = math.max; local pairs = pairs; - local print = print; - local select = select; - local tableinsert = table.insert; - local tostring = tostring; local unpack = unpack; local wipe = table.wipe; -- File Locals + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Spell/Travel.lua b/AethysCore/Class/Spell/Travel.lua index 8077aea3..af8d8d77 100644 --- a/AethysCore/Class/Spell/Travel.lua +++ b/AethysCore/Class/Spell/Travel.lua @@ -12,16 +12,9 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local error = error; - local mathmax = math.max; local pairs = pairs; - local print = print; - local select = select; - local tableinsert = table.insert; - local tostring = tostring; - local unpack = unpack; - local wipe = table.wipe; -- File Locals + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Unit/Aura.lua b/AethysCore/Class/Unit/Aura.lua index b8957ad1..5644da29 100644 --- a/AethysCore/Class/Unit/Aura.lua +++ b/AethysCore/Class/Unit/Aura.lua @@ -12,19 +12,7 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local mathfloor = math.floor; - local mathmin = math.min; - local mathrandom = math.random; - local pairs = pairs; - local select = select; - local tableinsert = table.insert; - local tableremove = table.remove; - local tablesort = table.sort; - local tonumber = tonumber; - local tostring = tostring; - local type = type; local unpack = unpack; - local wipe = table.wipe; -- File Locals diff --git a/AethysCore/Class/Unit/Cast.lua b/AethysCore/Class/Unit/Cast.lua index d37549c2..7d825077 100644 --- a/AethysCore/Class/Unit/Cast.lua +++ b/AethysCore/Class/Unit/Cast.lua @@ -12,19 +12,7 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local mathfloor = math.floor; - local mathmin = math.min; - local mathrandom = math.random; - local pairs = pairs; - local select = select; - local tableinsert = table.insert; - local tableremove = table.remove; - local tablesort = table.sort; - local tonumber = tonumber; - local tostring = tostring; - local type = type; local unpack = unpack; - local wipe = table.wipe; -- File Locals diff --git a/AethysCore/Class/Unit/Control.lua b/AethysCore/Class/Unit/Control.lua index f923d01c..90f0e5d1 100644 --- a/AethysCore/Class/Unit/Control.lua +++ b/AethysCore/Class/Unit/Control.lua @@ -12,21 +12,9 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local mathfloor = math.floor; - local mathmin = math.min; - local mathrandom = math.random; - local pairs = pairs; - local select = select; - local tableinsert = table.insert; - local tableremove = table.remove; - local tablesort = table.sort; - local tonumber = tonumber; - local tostring = tostring; - local type = type; - local unpack = unpack; - local wipe = table.wipe; + -- File Locals - + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Unit/List.lua b/AethysCore/Class/Unit/List.lua index 7d739a5a..60ca3e86 100644 --- a/AethysCore/Class/Unit/List.lua +++ b/AethysCore/Class/Unit/List.lua @@ -12,21 +12,9 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local mathfloor = math.floor; - local mathmin = math.min; - local mathrandom = math.random; - local pairs = pairs; - local select = select; - local tableinsert = table.insert; - local tableremove = table.remove; - local tablesort = table.sort; - local tonumber = tonumber; - local tostring = tostring; local type = type; - local unpack = unpack; - local wipe = table.wipe; -- File Locals - + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Unit/Main.lua b/AethysCore/Class/Unit/Main.lua index f9f1c1c0..61464bec 100644 --- a/AethysCore/Class/Unit/Main.lua +++ b/AethysCore/Class/Unit/Main.lua @@ -12,21 +12,9 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local mathfloor = math.floor; - local mathmin = math.min; - local mathrandom = math.random; - local pairs = pairs; - local select = select; - local tableinsert = table.insert; - local tableremove = table.remove; - local tablesort = table.sort; local tonumber = tonumber; - local tostring = tostring; - local type = type; - local unpack = unpack; - local wipe = table.wipe; -- File Locals - local BossUnits = Unit.Boss; + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Unit/Player/Aura.lua b/AethysCore/Class/Unit/Player/Aura.lua index 8c26cf2d..75fbe5fd 100644 --- a/AethysCore/Class/Unit/Player/Aura.lua +++ b/AethysCore/Class/Unit/Player/Aura.lua @@ -12,9 +12,6 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local pairs = pairs; - local select = select; - local tablesort = table.sort; local tostring = tostring; -- File Locals diff --git a/AethysCore/Class/Unit/Player/Equipment.lua b/AethysCore/Class/Unit/Player/Equipment.lua index 9f135c83..4876b36a 100644 --- a/AethysCore/Class/Unit/Player/Equipment.lua +++ b/AethysCore/Class/Unit/Player/Equipment.lua @@ -14,8 +14,6 @@ -- Lua local pairs = pairs; local select = select; - local tablesort = table.sort; - local tostring = tostring; -- File Locals diff --git a/AethysCore/Class/Unit/Player/Instance.lua b/AethysCore/Class/Unit/Player/Instance.lua index 4564d5e4..1ae73e7b 100644 --- a/AethysCore/Class/Unit/Player/Instance.lua +++ b/AethysCore/Class/Unit/Player/Instance.lua @@ -12,10 +12,7 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local pairs = pairs; - local select = select; - local tablesort = table.sort; - local tostring = tostring; + -- File Locals diff --git a/AethysCore/Class/Unit/Player/Main.lua b/AethysCore/Class/Unit/Player/Main.lua index ffdf22d8..7f48e0d9 100644 --- a/AethysCore/Class/Unit/Player/Main.lua +++ b/AethysCore/Class/Unit/Player/Main.lua @@ -12,10 +12,7 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local pairs = pairs; - local select = select; - local tablesort = table.sort; - local tostring = tostring; + -- File Locals @@ -120,7 +117,3 @@ end return false; end - - - - \ No newline at end of file diff --git a/AethysCore/Class/Unit/Player/MythicDungeon.lua b/AethysCore/Class/Unit/Player/MythicDungeon.lua index ebbbd88d..2c36e198 100644 --- a/AethysCore/Class/Unit/Player/MythicDungeon.lua +++ b/AethysCore/Class/Unit/Player/MythicDungeon.lua @@ -13,9 +13,6 @@ local Item = AC.Item; -- Lua local pairs = pairs; - local select = select; - local tablesort = table.sort; - local tostring = tostring; -- File Locals diff --git a/AethysCore/Class/Unit/Player/Power.lua b/AethysCore/Class/Unit/Player/Power.lua index 44ff5d26..ee96ad20 100644 --- a/AethysCore/Class/Unit/Player/Power.lua +++ b/AethysCore/Class/Unit/Player/Power.lua @@ -15,7 +15,6 @@ local pairs = pairs; local select = select; local tablesort = table.sort; - local tostring = tostring; -- File Locals diff --git a/AethysCore/Class/Unit/Player/Stat.lua b/AethysCore/Class/Unit/Player/Stat.lua index 6790cc41..6d2da4fa 100644 --- a/AethysCore/Class/Unit/Player/Stat.lua +++ b/AethysCore/Class/Unit/Player/Stat.lua @@ -12,10 +12,7 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local pairs = pairs; - local select = select; - local tablesort = table.sort; - local tostring = tostring; + -- File Locals diff --git a/AethysCore/Class/Unit/Power.lua b/AethysCore/Class/Unit/Power.lua index e0dad09a..7d3ee41c 100644 --- a/AethysCore/Class/Unit/Power.lua +++ b/AethysCore/Class/Unit/Power.lua @@ -12,21 +12,9 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local mathfloor = math.floor; - local mathmin = math.min; - local mathrandom = math.random; - local pairs = pairs; local select = select; - local tableinsert = table.insert; - local tableremove = table.remove; - local tablesort = table.sort; - local tonumber = tonumber; - local tostring = tostring; - local type = type; - local unpack = unpack; - local wipe = table.wipe; -- File Locals - + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Unit/Range.lua b/AethysCore/Class/Unit/Range.lua index b7f2cc3c..fa60b5e8 100644 --- a/AethysCore/Class/Unit/Range.lua +++ b/AethysCore/Class/Unit/Range.lua @@ -12,21 +12,14 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local mathfloor = math.floor; - local mathmin = math.min; local mathrandom = math.random; local pairs = pairs; - local select = select; local tableinsert = table.insert; - local tableremove = table.remove; local tablesort = table.sort; - local tonumber = tonumber; local tostring = tostring; local type = type; - local unpack = unpack; - local wipe = table.wipe; -- File Locals - + --- ============================ CONTENT ============================ diff --git a/AethysCore/Class/Unit/TimeToDie.lua b/AethysCore/Class/Unit/TimeToDie.lua index b51a968f..ab798977 100644 --- a/AethysCore/Class/Unit/TimeToDie.lua +++ b/AethysCore/Class/Unit/TimeToDie.lua @@ -12,16 +12,10 @@ local Spell = AC.Spell; local Item = AC.Item; -- Lua - local mathfloor = math.floor; local mathmin = math.min; - local mathrandom = math.random; local pairs = pairs; local select = select; local tableinsert = table.insert; - local tableremove = table.remove; - local tablesort = table.sort; - local tonumber = tonumber; - local tostring = tostring; local type = type; local unpack = unpack; local wipe = table.wipe;