Untitled
public text v1 · immutable if ${Me.PctHPs} <= ${HpPotion} && ${Consumable.HasHPot}
{
if ( !${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)})
{
//do nothing
}
else
{
;WowScript SpellStopCasting()
This:TakePot[HPot,${Me.GlobalCooldown}]
}
}
elseif ${me.PctMana} < 10
{
WowScript SpellStopCasting()
This:TakePot[HPot,${Me.GlobalCooldown}]
}