Code: Select all
#turbo
#Event Enrage "has become ENRAGED."
#Event UnEnrage "is no longer enraged."
#Event Invited "To join the group, click on the 'FOLLOW' option, or 'DISBAND' to cancel"
#Event Stunned "You are stunned"
#Event NotStunned "You are unstunned"
Sub Main
:MainLoop
/delay 0
/doevents
/if $combat==TRUE /call Attack
/goto :MainLoop
/return
Sub Attack
:TrackLoop
/doevents
/delay 0
/if $combat==FALSE /goto :EndAttack
/face nopredict fast
/if n $target(distance)>20 /sendkey down up
/if n $target(distance)<18 {
/sendkey up up
/goto :AttackLoop
}
/goto :TrackLoop
:AttackLoop
/doevents
/delay 0
/if $combat==FALSE /goto :EndAttack
/if n $target(distance)>5 /face nopredict fast
/if n $target(distance)>17 /sendkey down up
/if n $target(distance)<10 /sendkey up up
/if n $vStunned==0 {
/if n $char(ability,kick)>0 /doability kick
/if n $char(ability,bash)>0 /doability bash
/if n $char(ability,disarm)>0 /doability disarm
}
/if n $char(ability,taunt)>0 /doability taunt
/goto :AttackLoop
:EndAttack
/attack off
/return
Sub Event_Enrage
/attack off
/return
Sub Event_UnEnrage
/attack on
/return
Sub Event_Invited
/delay 20
/invite
/return
Sub Event_Stunned
/varset vStunned 1
/return
Sub Event_NotStunned
/varset vStunned 0
/return



