rendered paste body if ${Me.PctHPs} <= ${HpPotion} && ${Consumable.HasHPot}
{
if ${me.PctMana} < 10 && !${Me.Buff[Divine Protection](exists)} && !${Me.Buff[Divine Shield](exists)} && !${Me.Buff[Blessing of Protection](exists)}
{
WowScript SpellStopCasting()
This:TakePot[HPot,${Me.GlobalCooldown}]
}
elseif !${Toon.canCast[Divine Protection]} && !${Toon.canCast[Blessing of Protection]}
{
if ${Me.Buff[Divine Protection](exists)} || ${Me.Buff[Blessing of Protection](exists)} || ${Me.Buff[Divine Shield](exists)}
{
return
}
else
{
This:TakePot[HPot,${Me.GlobalCooldown}]
}
}