All pastes #589614 Raw Edit

D

public text v1 · immutable
#589614 ·published 2007-06-26 02:34 UTC
rendered paste body
variable int MeAspect = 3 /* Which aspect would you like your hunter to use? 0-None # 1-Monkey # 2-Hawk # 3-Cheetah # 4-Viper */


	;------------------
	;--- Buff SetUp ---
	;------------------

	member NeedBuff()
	{		
		if ${MeAspect} == 1 && !${Me.Buff[Aspect of the Monkey](exists)}
			{
				return TRUE
			}
			
		if ${MeAspect} == 2 && !${Me.Buff[Aspect of the Hawk](exists)}
			{
				return TRUE
			}
		
		if ${MeAspect} == 3 && !${Me.Buff[Aspect of the Cheetah](exists)}
			{
				return TRUE
			}
		
		if ${MeAspect} == 3 && !${Me.Buff[Aspect of the Viper](exists)}
			{
				return TRUE
			}
		return FALSE
	}




	method BuffPulse()
	{
		if ${Movement.Speed}
			{
				Move -stop
			}
			
		if ${MeAspect} == 1 && !${Me.Buff[Aspect of the Monkey](exists)}
			{
				if ${Spell[Aspect of the Monkey](exists)} && !${Spell[Aspect of the Monkey].Cooldown}
					{
						Toon:CastSpell[Aspect of the Monkey]
					}
			}
			
		if ${MeAspect} == 2 && !${Me.Buff[Aspect of the Hawk](exists)}
			{
				if ${Spell[Aspect of the Hawk](exists)} && !${Spell[Aspect of the Hawk].Cooldown}
					{
						Toon:CastSpell[Aspect of the Hawk]
					}
			}
			
		if ${MeAspect} == 3 && !${Me.Buff[Aspect of the Cheetah](exists)}
			{
				if ${Spell[Aspect of the Cheetah](exists)} && !${Spell[Aspect of the Cheetah].Cooldown}
					{
						Toon:CastSpell[Aspect of the Cheetah]
					}
			}
			
		if ${MeAspect} == 4 && !${Me.Buff[Aspect of the Viper](exists)}
			{
				if ${Spell[Aspect of the Viper](exists)} && !${Spell[Aspect of the Viper].Cooldown}
					{
						Toon:CastSpell[Aspect of the Viper]
					}
			}
	}