cabbiethefirst

Untitled

Feb 16th, 2024
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5.  
  6.  
  7. multiplier:= 1.6
  8.  
  9. ;cast plasma orb
  10. ~XButton2::
  11. While (GetKeyState("XButton2", "P"))
  12. {
  13. Send {w}
  14. sleep (271 * 1/multiplier)
  15. Send {w}
  16. sleep (271 * 1/multiplier)
  17. Send {w}
  18. sleep (242 * 1/multiplier)
  19. Send {r}
  20. sleep (500 * 1/multiplier)
  21. }
  22. Return
  23.  
  24. ;cast aegis shield
  25. ~MButton::
  26. {
  27. Send {e}
  28. sleep (220 * 1/multiplier)
  29. Send {space}
  30. sleep (271 * 1/multiplier)
  31. Send {e}
  32. sleep (220 * 1/multiplier)
  33. Send {r}
  34. sleep (300 * 1/multiplier)
  35. }
  36. Return
  37.  
  38. ;rebind walk
  39. ~Rbutton::f13
  40.  
  41. ;hotkeys for fine tuning the cast speed multiplier
  42. [::
  43. {
  44. multiplier:= multiplier - .05
  45.  
  46. roundedmulti := Round(multiplier, 2)
  47. ToolTip, %roundedmulti%
  48. SetTimer, RemoveToolTip, 1000
  49. }
  50. Return
  51.  
  52. ;hotkeys for fine tuning the cast speed multiplier
  53. ]::
  54. {
  55. multiplier:= multiplier + .05 ;
  56.  
  57. roundedmulti := Round(multiplier, 2)
  58. ToolTip, %roundedmulti%
  59. SetTimer, RemoveToolTip, 1000
  60. }
  61. Return
  62.  
  63.  
  64.  
  65.  
  66. RemoveToolTip:
  67. SetTimer, RemoveToolTip, Off
  68. ToolTip
  69. return
Advertisement
Add Comment
Please, Sign In to add comment