This is a macro I created to do exactly what I need. I am sharing it with the community here in case anyone else needs something this simple. I use it in instances with the hunter macro. That is why I use single target instead of group buffs. It is also used indoors, so no mount...it will also gate and came you if you leave the zone you started the macro in. Heres the instructions...
1. Change the heal over time spell to the spell you use. Currently Pious Elxir.
2. If you use clarity potions set the keypress to whatever you like. Currently commented out.
3. Make sure you start it in the zone your going to run it in.
4. Change the self only hp mana regen buff to whatever you use. Currently Armor of the Pious.
It will heal over time and complete heal. Redo Blessing of the Pious and Conviction. It will also use clarity potions when needed. /gates and camps when you leave the zone you started it in.
It will also start buffing the group right away, so make sure group is close when you start it.
Enjoy, I will update it from time to time adding more, but for now it serves the purpose. Also, I added in the /if group member without testing it yet, so if that code is wrong when I get a working compile I will fix it up. If anyone has any ideas to condense the code here let me know.
Enjoy
N
1. Change the heal over time spell to the spell you use. Currently Pious Elxir.
2. If you use clarity potions set the keypress to whatever you like. Currently commented out.
3. Make sure you start it in the zone your going to run it in.
4. Change the self only hp mana regen buff to whatever you use. Currently Armor of the Pious.
It will heal over time and complete heal. Redo Blessing of the Pious and Conviction. It will also use clarity potions when needed. /gates and camps when you leave the zone you started it in.
It will also start buffing the group right away, so make sure group is close when you start it.
Enjoy, I will update it from time to time adding more, but for now it serves the purpose. Also, I added in the /if group member without testing it yet, so if that code is wrong when I get a working compile I will fix it up. If anyone has any ideas to condense the code here let me know.
Rich (BB code):
#event HPBuffs "#*#Your Conviction spell has worn off of#*#
Sub Main
/echo Hunter Healbot V1.1
/declare StartZone int outer ${Zone.ID}
/call event_HPBuffs
:loop
/doevents
/call GMCheck
/if (${Zone.ID}!=${StartZone}) /call Done
/call BuffCheck
/if (${Group.Member[1].PctHPs}<50) /call CHeal
/if (${Group.Member[2].PctHPs}<50) /call CHeal
/if (${Group.Member[3].PctHPs}<50) /call CHeal
/if (${Group.Member[4].PctHPs}<50) /call CHeal
/if (${Group.Member[5].PctHPs}<50) /call CHeal
/if (${Group.Member[6].PctHPs}<50) /call CHeal
/if (${Group.Member[1].PctHPs}<75) /call HOT
/if (${Group.Member[2].PctHPs}<75) /call HOT
/if (${Group.Member[3].PctHPs}<75) /call HOT
/if (${Group.Member[4].PctHPs}<75) /call HOT
/if (${Group.Member[5].PctHPs}<75) /call HOT
/if (${Group.Member[6].PctHPs}<75) /call HOT
/goto :loop
|----------------------------------------------------------
|Sub HPBuffs: Buffs and Re-Buffs Group
|----------------------------------------------------------
Sub event_HPBuffs
/target ${Group.Member[1]}
/cast Conviction
/delay 10s
/target ${Group.Member[2]}
/cast Conviction
/delay 10s
/target ${Group.Member[3]}
/cast Conviction
/delay 10s
/target ${Group.Member[4]}
/cast Conviction
/delay 10s
/target ${Group.Member[5]}
/cast Conviction
/delay 10s
/target ${Group.Member[6]}
/cast Conviction
/delay 10s
/sit
/doevents flush
/return
|-------------------------------------------------------------
|Sub HOT: Casts Heal over Time on target
|-------------------------------------------------------------
Sub HOT
/echo Casting Heal Over Time
/cast "Pious Elixir"
/cast "Pious Elixir"
/cast "Pious Elixir"
/delay 7s
/sit
/return
|-------------------------------------------------------------
|Sub Cheal: Casts Complete Gealing on target
|-------------------------------------------------------------
Sub Cheal
/echo Casting Complete Healing
/cast "Complete Healing"
/cast "Complete Healing"
/cast "Complete Healing"
/delay 13s
/sit
/return
|----------------------------------------------------------
|Sub BuffCheck: Buffs and Re-Buffs Cleric
|----------------------------------------------------------
Sub BuffCheck
/if (${Me.Buff["Armor of the Pious"].Duration} !> ${MF_BuffTicks}) {
/cast "Armor of the Pious"
/delay 6s
/sit
}
|/if (${Me.Buff["Elixir of Clarity X"].Duration} !> ${MF_BuffTicks}) {
| /keypress 2
|/delay 3s
|/sit
|}
/return
|-----------------------------------------------------------
|Sub Done: Gates and Camps if not i nthe zone it started in
|-----------------------------------------------------------
Sub Done
/echo Not in starting zone, camping and ending macro...
/echo You have 15 seconds to abort...
/delay 15s
/gate
/delay 90s
/camp desktop
/end
|--------------------------------------------------------------------------------
|SUB: GM Check
|--------------------------------------------------------------------------------
Sub GMCheck
/if (${Spawn[gm].ID}) {
/beep
/beep
/beep
/echo GM has entered the zone!
/echo FUCK HIM but ending the macro...
/endmacro
}
/return
Enjoy
N

