Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include ninjadvloot.inc
- Sub Main
- /call SetupAdvLootVars
- /declare DoLoot int local 1
- /declare i int local
- :Mainloop
- /doevents
- | Check for a target to fight
- /if (!${Me.Combat}) {
- | if there is any NPC in our xtarget assist the tank
- /for i 1 to 10
- | ${Me.XTarget[1].Type.Equal[NPC]}
- /if (${Me.XTarget[${i}].Type.Equal[NPC]}) {
- /echo Something found on XTarget, attempting to target tank
- /target ID ${Group.MainTank.ID}
- /delay 1s
- /if (${Target.ID}==${Group.MainTank.ID}) {
- /echo Group Tank targeted, assisting
- /assist
- /delay 1s
- }
- /if (${Target.Type.Equal[NPC]} && !${Target.Type.Equal[Mercenary]}) {
- /killthis
- /casting "Festering Darkness" gem5 -maxtries|3
- /delay 5s
- /goto :MainLoop
- }
- } else {
- | - nothing found to assist check for loot.
- /if (${i} == 10 && ${DoLoot} && !${Me.Moving}) {
- /call LootMobs
- } else {
- /if (${Me.Standing} && !${Me.Moving}) /sit
- }
- }
- /delay 5
- /next i
- }
- /delay 1s
- /goto :Mainloop
- /return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement