Guest User

Untitled

a guest
Apr 26th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. set %instrument MQF - Set the desired instrument
  2.  
  3. start:
  4. set %manacheck ( #MAXMANA * 5 / 10 ) - Set meditation range. In this case 40%
  5.  
  6. if #mana < %manacheck
  7. {
  8. medi:
  9. set #Lskill 46 - Sets meditation as the last skill used.
  10. event macro 14 - Use last skill.
  11. for %i 1 10 - Check if mana is full every second so you cast as soon as your full
  12. {
  13. if #mana = #MAXMANA
  14. {
  15. goto start
  16. }
  17.  
  18. wait 1s
  19. }
  20. goto medi
  21. }
  22.  
  23. casting:
  24. finditem %instrument C_ - These three lines are to play music
  25. set #LOBJECTID #FINDID
  26. event macro 17
  27. event macro 15 33 - casting the desired spell. Incognito in this case. Change 33 to desired spell
  28. wait 1s
  29. if #SYSMSG The_spell_fizzles.
  30. goto casting
  31. target
  32. event macro 23
  33. wait 1s
  34. goto start
Add Comment
Please, Sign In to add comment