Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function m_action(action)
- for index,target in pairs(action['targets']) do
- if (action['targets'] ~= nil) then
- for target_index,target in pairs(action['targets']) do
- for action_index,action in pairs(target['actions']) do
- if (action['message'] == 75) then
- return;
- end
- end
- end
- end
- -- if (action['category'] == 12) then
- -- if (message_id == 94) then
- -- add_to_chat(167, ' wowzer')
- -- Range_Delay = Range_Delay + 1
- -- send_command('@wait 2; input /ra <t>')
- -- return
- -- end
- -- end
- if (target['id'] == player['id']) then
- -- spells that are applied to you --
- if (action['category'] == 4) then
- if (action['param'] == 845) then -- flurry
- Flurry = "f1";
- elseif (action['param'] == 846) then -- flurry II
- Flurry = "f2"; -- can make it a 2 and add another snapshot set with more rapid shot
- end
- end -- make embrava turn flurry to 1
- end
- end
- end
- windower.register_event('action', m_action);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement