Hello,
may i ask for some help with a macropart -> beginner here.
I want to slow all (aggroed) mobs in my Xtarget window (aggro list).
If all Targets on the Xtargets have different name it works fine.
But as soon as the Xtarget have the same name the macro will slow the first mob multiple times (as many times as Xtarget counts) and wont fetch/target the next Xtarget.
Any advice is welcome ! Thank you
/if (${Me.XTarget}) {
/declare i int local 0
/for i 1 to ${Me.XTarget}
/echo Name ${Spawn[${Me.XTarget[${i}]}].CleanName}, ID ${Spawn[${Me.XTarget[${i}]}].ID}
/casting "Slow" -targetid|${Spawn[${Me.XTarget[${i}]}].ID}
/next i
}
may i ask for some help with a macropart -> beginner here.
I want to slow all (aggroed) mobs in my Xtarget window (aggro list).
If all Targets on the Xtargets have different name it works fine.
But as soon as the Xtarget have the same name the macro will slow the first mob multiple times (as many times as Xtarget counts) and wont fetch/target the next Xtarget.
Any advice is welcome ! Thank you
/if (${Me.XTarget}) {
/declare i int local 0
/for i 1 to ${Me.XTarget}
/echo Name ${Spawn[${Me.XTarget[${i}]}].CleanName}, ID ${Spawn[${Me.XTarget[${i}]}].ID}
/casting "Slow" -targetid|${Spawn[${Me.XTarget[${i}]}].ID}
/next i
}

