Is there are way to make my cleric detect if another of my toons has a certain buff/defuff?
I am wanting to set up my cleric so that if one of my guys gets cursed, he will cast RGC on them.
Code: Select all
/declare i int local
/declare n int local
/declare myBuff[3] int local
/varset myBuff[1] 5381
/varset myBuff[2] 5388
/varset myBuff[3] 5393
|- Checking for buffs and buffing if missing. Change the declare myBuff[x] line to add more buffs, and varset the individual buffs
/for i 1 to ${NetBots.Counts}
/for n 1 to 3
/if (!${NetBots[${NetBots.Client.Token[${i}, ]}].Buff.Find[${myBuff[${n}]}]} && ${Group.Member[${i}].Type.Equal[PC]}) {
/casting ${myBuff[${n}]} -targetid|${Spawn[${NetBots.Client.Token[${i}, ]}].ID}
/delay ${Cast.Ready[${myBuff[${n}]}]}
}
/next n
/next i
Return to “Third party software”
Users browsing this forum: No registered users and 2 guests