#include spell_routines.inc
#turbo
Sub Main
/declare fastheal string outer Healing Burst III
/declare fasthealgem string outer gem2
/declare hotspell string outer Divine Infusion II
/declare hotspellgem string outer gem6
:CheckHP
/if (${Group.Member[0].PctHPs} <= 60) /target ${Group.Member[0]}
/call cast "${fastheal}" ${fasthealgem}
/if (${Group.Member[1].PctHPs} <= 60) /target ${Group.Member[1]}
/call cast "${fastheal}" ${fasthealgem}
/if (${Group.Member[2].PctHPs} <= 60) /target ${Group.Member[2]}
/call cast "${fastheal}" ${fasthealgem}
/if (${Group.Member[3].PctHPs} <= 60) /target ${Group.Member[3]}
/call cast "${fastheal}" ${fasthealgem}
/if (${Group.Member[4].PctHPs} <= 60) /target ${Group.Member[4]}
/call cast "${fastheal}" ${fasthealgem}
/if (${Group.Member[5].PctHPs} <= 60) /target ${Group.Member[5]}
/call cast "${fastheal}" ${fasthealgem}
/goto :CheckHP
/return