- Joined
- Jun 3, 2014
- RedCents
- 98¢
Trying to check if Xtarget has tepid deeds on it.. I have it working like this but it's annoying when it keeps targetting over and over to check. Is there some way to have it just check Xtarget[x].Buff[tepid deeds].ID? or do I need to store it in a varible so I can skip the /target
/if (${Target.ID} && ${Me.XTarget[1].ID} && ${Bool[${Spawn[${Me.XTarget[1].ID}]}]}) {
/target ${Spawn[${Me.XTarget[1].ID}]}
/if (!${Target.Buff[Tepid Deeds].ID} && ${Target.Distance} < 30) {
/casting "Tepid Deeds" -targetid|${Target.ID}
/delay ${Math.Calc[${Spell[Tepid Deeds].CastTime}/1000+4.5]}s
}
/if (${Target.Buff[Tepid Deeds].ID}) /keypress esc
}
/if (${Target.ID} && ${Me.XTarget[1].ID} && ${Bool[${Spawn[${Me.XTarget[1].ID}]}]}) {
/target ${Spawn[${Me.XTarget[1].ID}]}
/if (!${Target.Buff[Tepid Deeds].ID} && ${Target.Distance} < 30) {
/casting "Tepid Deeds" -targetid|${Target.ID}
/delay ${Math.Calc[${Spell[Tepid Deeds].CastTime}/1000+4.5]}s
}
/if (${Target.Buff[Tepid Deeds].ID}) /keypress esc
}