yaeger wrote:Any luck on getting the ranges to work? I usually run with a lot of melee toons and the rooted mobs give me a lot of problems.
Like some of you posted, my melee toons either get too close to the rooted mob, even though I try to park the tank as close as possible to the center, and die. Or they just stand outside of melee range.
I have 4-5 different engage keys depending on what my tank finds as the attack radius of the mob.
I wrote this, which lets me set four different distances for my melee. Run the macro once for the shortest distance, then run it again within 1.5 seconds to set the next distance and so on up to max distance, then it cycles back to the beginning (it resets after 1.5 seconds).
So I click it four times to attack at 50 range.
Code: Select all
Sub Main
/declare fDistance float global
/declare n int local
/if (${fDistance}==0) /varset fDistance 15
|This macro doesn't need to be run for Ylaz
/if (${Me.DisplayName.Equal[Ylaz]}) /end
/stick ${fDistance} behind moveback
/attack on
|Now cycle through various distances with each run of the macro
/echo ${fDistance}
/if (${fDistance}==15) {
/varset fDistance 20
} else /if (${fDistance}==20) {
/varset fDistance 40
} else /if (${fDistance}==40) {
/varset fDistance 50
} else /if (${fDistance}==50) {
/varset fDistance 15
}
/delay 15
/varset fDistance 15
/return
It saves hotkeys.