smokedalot
New member
- Joined
- Jun 15, 2006
- RedCents
- 0¢
where can i get a auto attack macro for a ranger???
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub Main
:SuperDooperPooperLooper
/if (${Target.ID} && ${Target.Type.Equal[npc]}) {
/echo I'm SUPER RANGER!
/attack on
} Else {
/attack off
}
/goto :SuperDooperPooperLooper
/return
smokedalot said:i would prefer macro thaT doesnt say im using macroquest to box lol sinse it got the echo there
Sub Main
|=================================================
|===== CheckRadius: this checks for mobs within a certain radius of your MainTank
/declare CheckRadius int outer 40
|=================================================
|=================================================
|=================================================
|
| Don't screw with anything below here
|
|=================================================
|=================================================
/if (!{Target.ID} || ${Target.Type.NotEqual[pc]}) /call NONONO
/declare MainAssist int outer ${Target.ID}
/squelch /target clear
:MainLoop
/if (${Target.ID}!=${MainAssist} && ${Target.ID}) /squelch /target Clear
/if (${Spawn[loc ${Spawn[${MainAssist].X} ${Spawn[${MainAssist].Y}} npc radius ${CheckRadius}].ID}) {
/assist ${Spawn[${MainAssist}].CleanName}
/if (${Target.Type.Equal[npc]}) /call ATTACK
}
/delay 2s
/goto :MainLoop
/return
Sub ATTACK
:waitloop
/delay 1
/if (${Target.PctHPs}>95) /goto :waitloop
/echo SUPER RANJA ATTACK!!!!
:attackloop
/attack on
/if (${Target.Distance}>15) /keypress up hold
/if (${Target.Distance}<15) /keypress up
/face fast
/delay 2
/if (${Target.ID} && ${Target.Type.Equal[npc]}) /goto :attackloop
/return
Sub NONONO
/echo Target the motherfucking main assist before starting this macro.
/endmac
/return