Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. function main()
  2. local ap_dur, _, _ = GetActionCooldown(62); -- https://imgur.com/VGArn use correct number instead of 62
  3.  
  4. if not buffed('Vanish', 'player') then
  5. if ap_dur == 0 and not buffed('Stealth', 'player' ) then
  6. cast('Eviscerate')
  7. -- xdxdxd
  8. else
  9. cast('Cheap Shot')
  10. end
  11. else
  12. if not buffed('Vanish') then
  13. --if not buffed('Stealth') then
  14. local tk_cd = GetInventoryItemCooldown('player', 2)
  15. if tk_cd == 0 then
  16. use('test')
  17. use('test')
  18. else
  19. presence_of_mind(ap_dur)
  20. end
  21. else
  22. presence_of_mind(ap_dur)
  23. end
  24. end
  25. end
  26.  
  27. function presence_of_mind(ap_dur)
  28. if GetTime() - ap_dur > 0 and not buffed('Presence of Mind', 'player') then
  29. cast("Cheap shot")
  30. else
  31. cast("Eviscerate")
  32. end
  33. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement