forked from Logitech2k17/ogasaiTBC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.lua
68 lines (47 loc) · 1.92 KB
/
menu.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
menu = {
--Setup
isSetup = false
}
function menu:reload()
self.isSetup = false;
menu:draw();
end
function menu:draw()
if (self.isSetup == false) then
self.isSetup = true;
-- Include scripts
include("core.lua");
include("scripts\\db\\hotspotDB.lua");
include("scripts\\db\\vendorDB.lua");
-- Mode scripts
LoadScript("Grinder", "scripts\\script_grind.lua");
AddScriptToMode("Grinder", "script_grind");
LoadScript("Rotation", "scripts\\script_rotation.lua");
AddScriptToMode("Rotation", "script_rotation");
LoadScript("Follow", "scripts\\script_follow.lua");
AddScriptToMode("Follow", "script_follow");
LoadScript("Gather", "scripts\\script_gatherMode.lua");
AddScriptToMode("Gather", "script_gatherMode");
LoadScript("Fish", "scripts\\script_fish.lua");
AddScriptToMode("Fishing", "script_fish");
-- Combat scripts
LoadScript("Mage", "scripts\\combat\\script_mage.lua");
AddScriptToCombat("Mage - Frost", "script_mage");
LoadScript("Hunter", "scripts\\combat\\script_hunter.lua");
AddScriptToCombat("Hunter - Beastmaster", "script_hunter");
LoadScript("Warlock", "scripts\\combat\\script_warlock.lua");
AddScriptToCombat("Warlock - Afflic/Demo", "script_warlock");
LoadScript("Paladin", "scripts\\combat\\script_paladin.lua");
AddScriptToCombat("Paladin - Retribution", "script_paladin");
LoadScript("Druid", "scripts\\combat\\script_druid.lua");
AddScriptToCombat("Druid - Feral", "script_druid");
LoadScript("Priest", "scripts\\combat\\script_priest.lua");
AddScriptToCombat("Priest - Shadow", "script_priest");
LoadScript("Warrior", "scripts\\combat\\script_warrior.lua");
AddScriptToCombat("Warrior - Fury", "script_warrior");
LoadScript("Rogue", "scripts\\combat\\script_rogue.lua");
AddScriptToCombat("Rogue - Combat", "script_rogue");
LoadScript("Shaman", "scripts\\combat\\script_shaman.lua");
AddScriptToCombat("Shaman - Enhance", "script_shaman");
end
end