All pastes #836220 Raw Edit

Untitled

public text v1 · immutable
#836220 ·published 2007-12-29 08:43 UTC
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}]
				}
			}