Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function main()
- local ap_dur, _, _ = GetActionCooldown(62); -- https://imgur.com/VGArn use correct number instead of 62
- if not buffed('Vanish', 'player') then
- if ap_dur == 0 and not buffed('Stealth', 'player' ) then
- cast('Eviscerate')
- -- xdxdxd
- else
- cast('Cheap Shot')
- end
- else
- if not buffed('Vanish') then
- --if not buffed('Stealth') then
- local tk_cd = GetInventoryItemCooldown('player', 2)
- if tk_cd == 0 then
- use('test')
- use('test')
- else
- presence_of_mind(ap_dur)
- end
- else
- presence_of_mind(ap_dur)
- end
- end
- end
- function presence_of_mind(ap_dur)
- if GetTime() - ap_dur > 0 and not buffed('Presence of Mind', 'player') then
- cast("Cheap shot")
- else
- cast("Eviscerate")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement