Downshit check buffs on target

Third party software discussion goes here.
mezzerin
Posts: 11

Downshit check buffs on target

Post#1 » Thu May 07, 2015 5:51 pm

Hi,

I want my cleric to cast HOT Pious Elixir on target when target is 85-98% life. The below works. But i want it to check for the HOT buff and not cast it when its on the target. Now it keeps recasting the HOT on target.

I believed !${Target.Buff[Pious Elixir].ID} would fix it but it doesnt.

Code: Select all

downshit2=/if (${Target.PctHPs}<98 && ${Target.PctHPs}>85 && !${Target.Buff[Pious Elixir].ID} && ${Spell[Pious Elixir].Stacks} && ${Cast.Ready[Pious Elixir]} && !${Me.Moving} && !${Me.Invis}) /cast "Pious Elixir" Gem2


Anyone that can fix the code?

Thanks!
Beyondreason

User avatar
rasjaziz
Posts: 156

Re: Downshit check buffs on target

Post#2 » Thu May 07, 2015 7:03 pm

I go about it from another direction. Instead of making a downshit for your cleric, I made a holyshit for my tanks:

holyshit3=/if (${Me.PctHPs}<90 && ${Spell[Pious Elixir].Stacks} && !${Me.Buff[Pious Elixir].ID}) /bct Neoheals //casting "Pious Elixir" -targetid|${Spawn[Neowall].ID}

This will tell my cleric to cast Pious Elixir on me if my hps are less than 90%, the spell will stack on me and I don't already have it on me.
The Neo army of guild <There Is No Spoon>

mezzerin
Posts: 11

Re: Downshit check buffs on target

Post#3 » Thu May 07, 2015 7:40 pm

rasjaziz wrote:I go about it from another direction. Instead of making a downshit for your cleric, I made a holyshit for my tanks:

holyshit3=/if (${Me.PctHPs}<90 && ${Spell[Pious Elixir].Stacks} && !${Me.Buff[Pious Elixir].ID}) /bct Neoheals //casting "Pious Elixir" -targetid|${Spawn[Neowall].ID}

This will tell my cleric to cast Pious Elixir on me if my hps are less than 90%, the spell will stack on me and I don't already have it on me.


Nice one and that will fix it. But i also have my necro donor pet setup as tank. Should i run the holyshit from my necro? How do i get it to target my pet? Thanks!

Return to “Third party software”

Who is online

Users browsing this forum: No registered users and 1 guest

cron