-
Notifications
You must be signed in to change notification settings - Fork 1
/
M_B_BRD.lua
30 lines (27 loc) · 764 Bytes
/
M_B_BRD.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
EEex_AddResetListener(function()
Infinity_DoFile("M_B_BRD")
end)
--------------------------------------------------
-- bard --
--------------------------------------------------
outerConfig = 0
function EEex_ActionbarListener(config)
outerConfig = config
local actorID = EEex_GetActorIDSelected()
if
config == 4
then
EEex_SetActionbarButton(0x5, EEex_ACTIONBAR_TYPE.FIND_TRAPS)
end
end
EEex_AddActionbarListener(EEex_ActionbarListener)
--no need to do a replace_textually
function EEex_HookBardThieving()
local actorID = EEex_GetActorIDSelected()
local class = EEex_GetActorClass(actorID)
if class == 5 then
return 4 -- I'm totally a thief
else
return class
end
end