|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 Heal"
/declare hpbuff string outer "Temperance"
/declare selfhealpoint int outer 50
/declare tankhealpoint int outer 50
/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}
/call Cast "Complete Heal"
/echo Casting "${healspell}"
/target ${tankname}
/return
sub lom
/tell ${tankname} im low on mana
/sit
:lomloop
/if (${Me.PctMana}>50) {
/gsay I'm at ${Me.PctMana}% mana
/return
}
/goto :lomloop
/return
/sit
:lomloop
/if (${Me.PctMana}>50) {
/return
}
/goto :lomloop
/return