I am trying to get my chanter to buff NPT on my group members pets when it wears off. I have it working now but its a bit janky, the Enchanter needs to target each pet when they are medding over and over, checking there buffs.
I am pretty sure there is a way to get the buff info without targeting because in MQ2Bot the chanter rebuffs the pet without ever targeting it until it needs the buff.
This is what I am doing right now:
I use that for each group member and its clunky but works.
I am hoping there is something like this I can replace it with, this doesn't work:
!${Group.Member[1].Pet.Buff[Night's Terror].ID}
Any help is appreciated.
I am pretty sure there is a way to get the buff info without targeting because in MQ2Bot the chanter rebuffs the pet without ever targeting it until it needs the buff.
This is what I am doing right now:
Code:
/if (${Cast.Ready[4]}) {
/squelch /target id ${Spawn[${Group.Member[1]}].Pet.ID}
/delay 5
/if (${Target.Type.Equal[Pet]}) {
/if (!${Target.MyBuff[Night's Terror].ID} && ${Me.PctMana}>5 && !${Me.Invis} && ${Target.Distance}<100) {
/cast 4
/delay 2s
/squelch /target clear
/return
}
}
}
I use that for each group member and its clunky but works.
I am hoping there is something like this I can replace it with, this doesn't work:
!${Group.Member[1].Pet.Buff[Night's Terror].ID}
Any help is appreciated.