Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- |emp_taunt.mac
- Sub Main
- /declare Mobs[4] int local
- /declare i int local 0
- /if (${Spawn[npc Skzik the Tormentor].ID}) /varset Mobs[1] ${Spawn[npc Nilasz].ID}
- /if (${Spawn[npc Grziz the Tormentor].ID}) /varset Mobs[2] ${Spawn[npc Yasiz].ID}
- /if (${Spawn[npc Klazaz the Slayer].ID}) /varset Mobs[3] ${Spawn[npc Heriz].ID}
- /if (${Spawn[npc Zlakas the Slayer].ID}) /varset Mobs[4] ${Spawn[npc Nilasz].ID}
- /for i 1 to 4
- /if (!${i}) {
- /echo Failed to find of of the taunt mobs. Exiting.
- /endmacro
- }
- /next i
- /echo All 4 taunt targets located, pausing macro. When you are ready to begin type /mqp.
- /mqp
- /echo Now begining to taunt.
- :TauntAgain
- /for i 1 to 4
- /if (${Spawn[${Mobs[${i}]}].Distance3D}<200) {
- /target ID ${Mobs[${i}]}
- /delay 7s ${Me.AbilityReady["Taunt"]}
- /if (${Me.AbilityReady["Taunt"]}) /doability "Taunt"
- }
- /next i
- /goto :TauntAgain
- /return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement