Moderator: MacroQuest Developers
Code: Select all
#turbo
Sub Main
:train
/call EnterAgroRange
/if n $char(hp,pct)<"40" {
/call LeaveAgroRange
/call HealUp
}
/goto :train
/return
sub EnterAgroRange
/if n $target(distance)<=13 {
/face fast look nopredict
/goto :Engage
}
:Movementloop
/sendkey down up
/face fast look nopredict
/if n $target(distance)<=13 {
/face fast look nopredict
/sendkey up up
/goto :Engage
}
/if n $target(distance)>13 /goto :MovementLoop
| /stopsong
| /cast 1
:Engage
/if $combat==FALSE /at
/if n $char(ability,"begging")==3 {
/if $combat==TRUE /at
/delay 0
/doability begging
/if $combat==FALSE /at
}
| /if n $char(gem,"Warsong of Zek")!=-2 {
| /stopsong
| /cast 2
}
/return
Sub LeaveAgroRange
:moveplz
/if $combat==TRUE /at
/if n $distance(-3300,-1260)<2 /goto :done
/sendkey down up
/face loc -3300,-1260
/delay 0
/goto :moveplz
:done
/sendkey up up
/return
Sub HealUp
/if $combat==TRUE /at
| /stopsong
| /cast 3
/sit
:regenloop
/face look nopredict
/delay 1
/if $char(hp,pct)!=100 /goto :regenloop
/sit off
/returnDoes this work?Likwid wrote:...send in their pet's to attack the character needing defense...
