-
Notifications
You must be signed in to change notification settings - Fork 157
/
Motenten-Globals.lua
31 lines (22 loc) · 1.13 KB
/
Motenten-Globals.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
-------------------------------------------------------------------------------------------------------------------
-- An example of setting up user-specific global handling of certain events.
-- This is for personal globals, as opposed to library globals.
-------------------------------------------------------------------------------------------------------------------
sets.reive = {neck="Arciela's Grace +1"}
-- Global intercept on midcast.
function user_post_midcast(spell, action, spellMap, eventArgs)
if buffactive['Reive Mark'] and (spell.skill == 'Elemental Magic' or spellMap == 'Cure' or spellMap == 'Curaga') then
equip(sets.reive)
end
end
function user_customize_idle_set(idleSet)
if buffactive['Reive Mark'] then
idleSet = set_combine(idleSet, sets.reive)
end
return idleSet
end
-------------------------------------------------------------------------------------------------------------------
-- Test function to use to avoid modifying library files.
-------------------------------------------------------------------------------------------------------------------
function user_test(params)
end