-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathloaded.lua
More file actions
32 lines (29 loc) · 1.32 KB
/
Copy pathloaded.lua
File metadata and controls
32 lines (29 loc) · 1.32 KB
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
local ModName, Sequences = ...
local GSE = GSE
if GSE == nil then
print("This mod depends on GSE 2.0 or higher.")
return;
end
local L = GSE.L
local Statics = GSE.Static
local GSEPlugin = LibStub("AceAddon-3.0"):NewAddon(ModName, "AceEvent-3.0")
local function processAddonLoaded(event, arg)
if arg == ModName then
GSE.ImportMacroCollection(Sequences)
GSE.Print("HP Macros loaded. This set currently contains macros for ", ModName)
GSE.Print(" - Enhancement Shaman ", ModName)
GSE.Print(" - Fury Warriors", ModName)
GSE.Print(" - Beast Master Hunters", ModName)
GSE.Print(" - Unholy , Blood and Frost Death Knights", ModName)
GSE.Print(" - Affliction and Demonology Warlock", ModName)
GSE.Print(" - Shadow Priest", ModName)
GSE.Print("You can find help and also nominate other macros for this set at https://www.wowlazymacros.com", ModName)
if GSE.GetCurrentSpecID () == 253 then
GSE.Print("Note: The Beast Master hunter macros have been updated. A number of macros have been consolidated into the HP_TBMain and HP_TBAOE macros.", ModName)
end
end
end
if GSE.RegisterAddon(ModName, GetAddOnMetadata(ModName, "Version"), GSE.GetSequenceNamesFromLibrary(Sequences)) then
processAddonLoaded("Load", ModName)
end
GSEPlugin:RegisterMessage(Statics.ReloadMessage, processAddonLoaded)