;--- Pull ---; method PullPulse() { echo "Pulling" if ${Me.Target.Dead} || !${Target.Attackable} { WoWScript ClearTarget() return } move -stop Navigator:FaceXYZ[${Target.X},${Target.Y},${Target.Z}] if ${Me.Target.Dead} { WoWScript ClearTarget() This:Output["Oops target is dead, lets get rid of him..."] return } if ${Me.Sitting} { Toon:Standup This:Output["Standing up] } if ${Target.PctHPs}>99 { ArcaneImmune:Set[FALSE] FireImmune:Set[FALSE] FrostImmune:Set[FALSE] } if ${This.Pulled} && ${This.TwoPull} { Toon:CastSpell[${PullSecond}] } if ${This.detectMobAdd} { This:Output["Woohoo you are about to pull a mob with another mob nearby, too bad I havn't learned to poly pull... that would be helpful here lol"] } if !${This.RandPull} { if ${Spell[${This.PullWith}](exists)} { Toon:CastSpell[${This.PullWith}] This:Output["Pulling with ${This.PullWith}"] } if !${Spell[${This.PullWith}](exists)} { Toon:CastSpell[Fireball] This:Output["Pulling with Fireball because ${This.PullWith} does not exist"] } } if ${This.RandPull} { This.detectTimer:Set[${LavishScript.RunningTime}] RandVar:Set[${Math.Rand[3]}] if ${This.RandVar} == 0 { RandPullSpell:Set[Pyroblast] This:Output["Pulling Random: Pryoblast"] } if ${This.RandVar} == 1 { RandPullSpell:Set[Fireball] This:Output["Pulling Random: Fireball"] } if ${This.RandVar} == 2 { RandPullSpell:Set[Frostbolt] This:Output["Pulling Random: Frostbolt"] } Target ${Targeting.TargetCollection.Get[1]} if ${Spell[${This.RandPullSpell}](exists)} { Toon:CastSpell[${This.RandPullSpell}] } if !${Spell[${This.RandPullSpell}](exists)} { Toon:CastSpell[Fireball] } } if ${Me.Casting[${This.PullWith}]} { Pulled:Set[TRUE] } if ${WaterElemental} && ${Me.Pet(exists)} { WoWScript PetAttack() } }