Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.

${Me.Song[SORT BUFF HERE].ID}
holyshit3=/if (${Target.Named} && ${Target.PctHPs}<97 && !${Me.Song[Vampiric Aura].ID} && ${Cast.Ready[Blood Drinker's Coating]}) /casting "Blood Drinker's Coating"|Item
holyshit1=/if (${Target.Named} && ${Target.PctHPs}<98 && !${Me.Song[Blessing of Unity].ID} && ${Cast.Ready[Miniature Horn of Unity]}) /casting "Miniature Horn of Unity"|Item
[DPS]
DPSOn=2
DPSSkip=20
DPSInterval=5
DPS1=Elixir of the Seas|98|MA <grp hot but same principle
DPS2=Vicious Rabbit|97|Weave
DPS3=Ardent Hammer of Zeal|96
DPS4=Amulet of the Drowned Mariner|95|Weave
DPS5=Olsif's Retort|94|MA
DPS6=Necromantic Dragon Bone|93|Weave
DPS7=Ardent Contravention|92
DPS8=Mystical Intervention|91|MA
holyshit3=/if (!${Me.Song[HoT Spell name].ID}) /multiline ; /bct Cleric Name //Target Tank Name ; /bct Cleric name //Cast HoT Spell
For HP, you can use ${Me.XTarget[5].Spawn.PctHPs} if he's only on xtarget. You could also use ${Group.Member[${Group.Member[tanksnamehere]}].PctHPs} if he's in group.
For the buff check, you can only see that data on your cleric while you have your tank targeted. You can use netbots to get the buff information in real time without targeting your tank too. If using NetBots, I'm pretty sure you can use ${NetBots[TankNameHere].ShortBuff[whatbuffyoucheckfor]}
/bct ClericNameHere //casting "HoTSpellName" -targetid|${Spawn[pc TankNameHere].ID}
/if (${Target.Name.Equal[TankNameHere]} && !${Target.Song[HoT Name]} && !${Me.Casting.Spell}) /casting HoTSpellName
The only issue you may run into there is that you're going to be spamming your cleric on EQBC whenever you don't have the HoT, sometimes multiple times before he's able to cast it on you. You can also get rid of the multiline and make it a bit cleaner by just using /casting there.
Rich (BB code):/bct ClericNameHere //casting "HoTSpellName" -targetid|${Spawn[pc TankNameHere].ID}
I know you're on TLP, so is your cleric really doing much more than healing during fights? Do you have him set up to DPS, or is he mostly a heal bot? If mostly a healbot, you can just have a target check since the cleric will have tank targeted majority of the time.
Rich (BB code):/if (${Target.Name.Equal[TankNameHere]} && !${Target.Song[HoT Name]} && !${Me.Casting.Spell}) /casting HoTSpellName
/if (${Me.XTarget[5].Spawn.PctHPs}<90 && !${Me.XTarget[5].Spawn.Song[Celestial Elixir]} && !${Me.Casting.Spell}) /casting "Celestial Elixir"



downshit#=/if (!${Defined[MyTankHoTStatus]}) /declare MyTankHoTStatus global
holyshit#=/if (!${Me.Song["HoT Name Here"].ID} && ${MyTankHoTStatus.Equal[0]}) /multiline ; /varset MyTankHoTStatus 1 ; /bct ClericName //varset MyTankHoTStatus 1
holyshit#=/if (${Me.Song["HoT Name Here"].ID} && ${MyTankHoTStatus.Equal[1]}) /multiline ; /varset MyTankHoTStatus 0 ; /bct ClericNameHere //varset MyTankHoTStatus 0
downshit#=/if ${MyTankHoTStatus.Equal[1]} && !${Me.Invis] && !${Me.Casting} && !${Me.Moving}) /casting "HoT Name Here" -targetid|${Spawn[pc TankNameHere].ID}
Rich (BB code):/if (${Target.Name.Equal[TankNameHere]} && !${Target.Song[HoT Name]} && !${Me.Casting.Spell}) /casting HoTSpellName
/if (${Target.Name.Equal[mytanksname]} && !${Target.Song["Celestial Elixir"]} && !${Me.Casting.Spell}) /casting "Celestial Elixir"
Looks like Target doesn't have access to Song, but it does have access to Buff. You can try replacing Song with Buff and see if the data is available, but the song info isn't available through the UI in target buff section, so I'm a bit doubtful. You also need to add in the HP check for your tank. the ${Me.XTarget[5].Spawn.PctHPs}<90 that was referenced above.
[DPS]
DPSOn=2
DPSSkip=20 <-set this to what lvl HP on MOB you want cleric to stop casting HoT on tank (0 would cast right to end of combat).
DPSInterval=5 <-Set this for duration of HoT (18 for 18 sec, 30 for 30 sec, etc), Set at half HoT duration if 2 spells in DPS area, set for 1/3 if 3, and so on....
DPS1=Celestial Elixir|98|MA <HoT spell
DPS2=NULL
I would still suggest then you put it in your DPS section of the KA.ini
This assumes you are using KA on your cleric...Rich (BB code):[DPS] DPSOn=2 DPSSkip=20 <-set this to what lvl HP on MOB you want cleric to stop casting HoT on tank (0 would cast right to end of combat). DPSInterval=5 <-Set this for duration of HoT (18 for 18 sec, 30 for 30 sec, etc), Set at half HoT duration if 2 spells in DPS area, set for 1/3 if 3, and so on.... DPS1=Celestial Elixir|98|MA <HoT spell DPS2=NULL
/if (${Me.XTarget[5].Spawn.PctHPs}<90 && !${NetBots[${Me.XTarget[5].Name].ShortBuff.Find[1444]} && !${Me.Casting.Spell}) /casting "Celestial Elixir" -targetid|${Me.XTarget[5].ID}
