forked from herotc/hero-rotation
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClass.lua
51 lines (40 loc) · 991 Bytes
/
Class.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- ============================ HEADER ============================
--- ======= LOCALIZE =======
-- Addon
local addonName, addonTable = ...
-- HeroLib
local HL = HeroLib
local Cache = HeroCache
local Unit = HL.Unit
local Player = Unit.Player
local Target = Unit.Target
local MouseOver = Unit.MouseOver
local Spell = HL.Spell
local Item = HL.Item
-- HeroRotation
local HR = HeroRotation
local Settings = HR.GUISettings.APL.Class.Commons
local Everyone = HR.Commons.Everyone
-- Lua
-- File Locals
local Commons = {}
--- ======= GLOBALIZE =======
HR.Commons.Class = Commons
--- ============================ CONTENT ============================
-- Spells
if not Spell.Class then Spell.Class = {} end
Spell.Class.Spec = {
-- Racials
-- Abilities
-- Talents
-- Trinkets
-- Covenants (Shadowlands)
-- Soulbinds/Conduits (Shadowlands)
-- Legendaries (Shadowlands)
-- Pool
Pool = Spell(999910)
}
-- Items
if not Item.Class then Item.Class = {} end
Item.Class.Spec = {
}