All pastes #391637 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-12 07:52 UTC
rendered paste body
method BalanceRoutine()
	{
		if !${Me.Attacking}
		{
			WoWScript AttackTarget()
		}
		
		if !${Me.InCombat}
		{
			if  ${Me.Action[Starfire].Usable}
			{
				This:CastSpell[Starfire]
			}
			elseif ${Me.Action[Wrath].Usable}
			{
				This:CastSpell[Wrath]
			}
		}
		elseif !${Target.Buff[Moonfire](exists)} && ${Me.Action[Moonfire].Usable}
		{
			This:CastInstantSpell[Moonfire]
		}
		elseif ${Me.Action[Force of Nature].Usable}
		{
			This:CastInstantSpell[Force of Nature]
		}
		elseif !${Target.Buff[Insect Swarm](exists)} && ${Me.Action[Insect Swarm].Usable}
		{
			This:CastInstantSpell[Insect Swarm]
		}
		elseif ${Spell["Nature's Grasp"].Usable} && ${Target.Distance} < 5
		{
			This:CastInstantSpell["Nature's Grasp"]
		}
		elseif ${Target.Buff["Nature's Grasp"](exists)} && ${Target.Distance} < 5
		{
			Navigator:Backup[5]
		}
		elseif ${Target.Buff["Nature's Grasp"](exists)} && ${Target.Distance} > 5 && ${Me.Action[Starfire].Usable}
		{
			This:CastSpell[Starfire]
		}
		elseif ${Me.Action[Wrath].Usable}
		{
			This:CastSpell[Wrath]
		}
	}