All pastes #482276 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-11 06:02 UTC
rendered paste body
	method PullPulse()
	{
		if !${Target.LineOfSight}
		{
			Toon:NeedTarget[1]
			return
		}
		; Stop moving before pull
		Move -stop
		; Make sure we have Ice Barrier on pull
		if ${Toon.CastSpellGUID[${Target.GUID},Ice Barrier]}
		{
			return
		}
		; Make sure we have our Water Elemental on pull
		if ${Toon.CastSpellGUID[${Target.GUID},Summon Water Elemental]}
		{
			return
		}
		; Cast our pull spell on the target
		if ${Toon.CastSpellGUID[${Targeting.TargetCollection.Get[1]},${PullSpell}]}
		{
			return
		}
		if ${Me.Pet(exists)} && !${Me.Pet.Aggro} && !${Me.Pet.Casting(exists)}
        {
            WoWScript PetAttack()
        }
	}