Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function determine_haste_group()
- classes.CustomMeleeGroups:clear()
- if buffactive.haste then
- if buffactive.haste == 2 or buffactive[604] or buffactive[228] or buffactive.march then
- classes.CustomMeleeGroups:append('MaxHaste')
- add_to_chat(3,'Max Haste Mode')
- else
- classes.CustomMeleeGroups:append('HighHaste')
- add_to_chat(3,'High Haste Mode')
- end
- elseif buffactive[604] then
- if buffactive.march == 1 and buffactive[228] then
- classes.CustomMeleeGroups:append('MaxHaste')
- add_to_chat(3,'Max Haste Mode')
- elseif buffactive.march == 2 or buffactive[228] then
- classes.CustomMeleeGroups:append('MaxHaste')
- add_to_chat(3,'Max Haste Mode')
- elseif buffactive.march == 1 then
- classes.CustomMeleeGroups:append('HighHaste')
- add_to_chat(3,'High Haste Mode')
- else
- classes.CustomMeleeGroups:append('LowHaste')
- end
- elseif buffactive[228] then
- if buffactive.march then
- classes.CustomMeleeGroups:append('MaxHaste')
- add_to_chat(3,'Max Haste Mode')
- else
- classes.CustomMeleeGroups:append('HighHaste')
- add_to_chat(3,'High Haste Mode')
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement