|SOS barebones healer.mac
|Edited by Unity0110
#Include spell_routines.inc
#Event temp "Your #${hpbuff}# spell has worn off of #${tankname}#."
Sub Main
/declare tankname string outer ${Target}
/declare healspell string outer Complete Healing
/declare hpbuff string outer Temperance
/declare selfhealpoint int outer 50
/declare tankhealpoint int outer 88
/declare healwho string outer
/Echo Simple cleric target heal has loaded.
:Mainloop
/doevents
/if (${Me.PctMana}<=7) /call lom
/if (${Target.PctHPs}<=${tankhealpoint}) {
/varset healwho ${tankname}
/call heal
}
/if (${Me.PctHPs}<=${selfhealpoint}) {
/varset healwho ${Me}
/call heal
}
/goto :Mainloop
/return
Sub Event_temp
/target ${tankname}
/g Im casting ${hpbuff} on <<<< ${Target} >>>>
/call cast ${hpbuff}
/return
Sub heal
/target ${healwho}
/g inc CH to <<<< ${Target} >>>>
/call Cast ${healspell}
/target ${tankname}
/return
sub lom
/tell ${tankname} im low on mana
/sit
:lomloop
/if (${Me.PctMana}>50) {
/return
}
/goto :lomloop
/return