Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set %instrument MQF - Set the desired instrument
- start:
- set %manacheck ( #MAXMANA * 5 / 10 ) - Set meditation range. In this case 40%
- if #mana < %manacheck
- {
- medi:
- set #Lskill 46 - Sets meditation as the last skill used.
- event macro 14 - Use last skill.
- for %i 1 10 - Check if mana is full every second so you cast as soon as your full
- {
- if #mana = #MAXMANA
- {
- goto start
- }
- wait 1s
- }
- goto medi
- }
- casting:
- finditem %instrument C_ - These three lines are to play music
- set #LOBJECTID #FINDID
- event macro 17
- event macro 15 33 - casting the desired spell. Incognito in this case. Change 33 to desired spell
- wait 1s
- if #SYSMSG The_spell_fizzles.
- goto casting
- target
- event macro 23
- wait 1s
- goto start
Add Comment
Please, Sign In to add comment