All pastes #389821 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-03-11 00:07 UTC
rendered paste body
	method Routine()
	{			
		if !${Me.Attacking}
		{
			WoWScript AttackTarget()
		}		
		elseif !${Me.Action[Counterspell].Usable} && ${Target.Casting.ID(exists)} && ${Target.CurrentMana} > 0
		{
			Cast "Counterspell"
		}
		elseif  ${Target.Distance} < 10 && ${Me.Action[Frost Nova].Usable}
		{
			Cast "Frost Nova"
		}
		elseif ${Target.Distance} < 20 && ${Me.Action[Fire Blast].Usable}
		{
			Cast "Fire Blast"
		}		
		elseif ${Me.Action[Scorch].Usable} && ${Target.Distance} < 15 && ${Target.PctHPs} < 30
		{
			This:CastSpell[Scorch]
		}
		elseif ${Me.Action[Fireball].Usable} && ${Target.Buff[Frost Nova](exists)} && ${Target.PctHPs} > 30
		{
			This:CastSpell[Fireball]
		}
	}