Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. |emp_taunt.mac
  2.  
  3. Sub Main
  4. /declare Mobs[4] int local
  5. /declare i int local 0
  6.  
  7. /if (${Spawn[npc Skzik the Tormentor].ID}) /varset Mobs[1] ${Spawn[npc Nilasz].ID}
  8. /if (${Spawn[npc Grziz the Tormentor].ID}) /varset Mobs[2] ${Spawn[npc Yasiz].ID}
  9. /if (${Spawn[npc Klazaz the Slayer].ID}) /varset Mobs[3] ${Spawn[npc Heriz].ID}
  10. /if (${Spawn[npc Zlakas the Slayer].ID}) /varset Mobs[4] ${Spawn[npc Nilasz].ID}
  11.  
  12. /for i 1 to 4
  13. /if (!${i}) {
  14. /echo Failed to find of of the taunt mobs. Exiting.
  15. /endmacro
  16. }
  17. /next i
  18. /echo All 4 taunt targets located, pausing macro. When you are ready to begin type /mqp.
  19. /mqp
  20. /echo Now begining to taunt.
  21.  
  22. :TauntAgain
  23. /for i 1 to 4
  24. /if (${Spawn[${Mobs[${i}]}].Distance3D}<200) {
  25. /target ID ${Mobs[${i}]}
  26. /delay 7s ${Me.AbilityReady["Taunt"]}
  27. /if (${Me.AbilityReady["Taunt"]}) /doability "Taunt"
  28. }
  29. /next i
  30. /goto :TauntAgain
  31. /return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement