Took a look at the enhance shaman, made an update. It should work now, let me know if you have any more problems with it.
works great
Took a look at the enhance shaman, made an update. It should work now, let me know if you have any more problems with it.
--====================================================================
@INITIALIZE
--====================================================================
Me.Message Paladin_Retribution last updated 22/11/2012.
Me.ClipTime 50
Me.Range 4.95
--====================================================================
@COMBAT
--====================================================================
-----------------------------------------------------------------------
-- Break free first
-----------------------------------------------------------------------
Me.Use Insignia of the Scourge
	Me.IsIncapacitated = 1
Me.Cast Every Man for Himself
	Me.IsIncapacitated = 1
Me.Cast Emancipate
	Me.IsIncapacitated = 1
Me.Cast Hand of Freedom
	Me.IsIncapacitated = 1
-----------------------------------------------------------------------
-- Healing spells 
-----------------------------------------------------------------------
Me.CastOnce Sacred Shield
	Me.Health < 100
Me.Cast Lay on Hands
	Me.Health < 30
Me.UseHealthPotion
	Me.Health < 40
Me.Cast Flash of Light
	Me.Health < 20
Me.Cast Divine Shield
	Me.Health < 60
Me.Cast Divine Protection
	Me.Health < 90
Me.Cast Word of Glory
	Me.HolyPower >= 2
	Me.Health < 75
-----------------------------------------------------------------------
-- Targeting
-----------------------------------------------------------------------
	
Me.FindBetterTarget
-----------------------------------------------------------------------
-- Ranged spells (cast while running)
-----------------------------------------------------------------------
Judgment
	Target.Distance > 10
--Speed of Light
--	Target.Distance > 10
-----------------------------------------------------------------------
-- Movement
-----------------------------------------------------------------------
Me.FollowTarget
-----------------------------------------------------------------------
-- AOE
-----------------------------------------------------------------------
Divine Storm
	Target.AddsCount > 3
	Me.HolyPower >= 3
Hammer of the Righteous
	Target.AddsCount > 4
--Holy Prism
--	Target.AddsCount > 1
--Light's Hammer
--	Target.AddsCount > 1
-----------------------------------------------------------------------
-- Combat Debuffs
-----------------------------------------------------------------------
--Repentance
--	Target.AddsCount > 1
--	Target.IsIncapacitated = 0
-----------------------------------------------------------------------
-- Combat buffs
-----------------------------------------------------------------------
Me.Cast Seal of Truth
	Me.HasAura("Seal of Truth") = 0
Me.Cast Inquisition
	Me.HasAura("Inquisition") = 0
	Me.HolyPower >= 3
Me.Cast Avenging Wrath
Me.Cast Blessing of Kings
	Me.HasAura("Legacy of the Emperor") = 0
	Me.HasAura("Mark of the Wild") = 0
	Me.HasAura("Blessing of Kings") = 0
Me.Cast Blessing of Might
	Me.HasAura("Blessing of Might") = 0
	Me.HasAura("Legacy of the Emperor") = 0
	Me.HasAura("Mark of the Wild") = 0
	Me.HasAura("Blessing of Kings") = 0
Me.Cast Cleanse
	Me.IsDiseased = 1
--Me.Cast Holy Avenger
Guardian of Ancient Kings
	Target.AddsCount > 3
Guardian of Ancient Kings
	Target.IsElite = 1
Me.Cast Devotion Aura
	Me.Health < 75
	Target.IsCasting = 1
-----------------------------------------------------------------------
-- Runners
-----------------------------------------------------------------------
Fist of Justice
	Target.IsFleeing = 1
	Target.Distance < 20
	Me.HasSpell("Fist of Justice") = 1
-----------------------------------------------------------------------
-- Interrupts
-----------------------------------------------------------------------
Target.CastNow Arcane Torrent
	Target.Distance < 8
	Target.IsCasting = 1
	Target.AddsCount > 2
Target.CastNow Rebuke
	Target.Distance < 5
	Target.IsCasting = 1
	Target.Interruptable = 1
Target.CastNow Fist of Justice
	Target.Distance < 20
	Target.IsHostile = 1
Target.CastNow Hammer of Justice
	Target.Distance < 20
	Target.IsHostile = 1
-----------------------------------------------------------------------
-- Freebies
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-- Normal attack rotation
-----------------------------------------------------------------------
Templar's Verdict
	Me.HolyPower >= 3
Execution Sentence
	Me.HasAura("Inquisition") = 1
Hammer of Wrath
Exorcism
Crusader Strike
Judgment
Me.AutoAttack
--====================================================================
@PULL
--====================================================================
Judgment
	Me.HasSpell("Judgment") = 1
	Target.Distance > 8
	Target.Distance < 30
Exorcism
	Me.HasSpell("Exorcism") = 1
	Target.Distance > 8
	Target.Distance < 30
Me.AutoAttack
Me.FollowTarget
--====================================================================
@REST
--====================================================================
Me.Cast Flash of Light
	Me.Health < 30
	Me.Mounted = 0
Me.Eat
	Me.Health < 20
Me.FollowTarget
	I can't figure out how to get Impending Victory to be used over anything else. I tried putting it in the single target area but now it just wants to use it all the time even if it's on CD and then it won't use anything else. Anyone know what to do?
-- IMPENDING VICTORYImpending Victory
    Me.HasSpell("Impending Victory") = 1
    Me.HasAura("Victorious") = 1
    Me.Health < 95
	--====================================================================@INITIALIZE
--====================================================================
Me.Message Warrior_Arms last updated November 1st 2012 by Blancharke.
Me.ClipTime 75
Me.Range 4.95
--====================================================================
@COMBAT
--====================================================================
-----------------------------------------------------------------------
-- Racials
-----------------------------------------------------------------------
-- UNDEAD RACIAL
Me.Cast Will of the Forsaken
	Me.IsIncapacitated = 1
	Me.HasSpell("Will of the Forsaken") = 1
-- HUMAN RACIAL	
Me.Cast Every Man for Himself
	Me.IsIncapacitated = 1
	Me.HasSpell("Every Man for Himself") = 1
-- BLOODELF RACIAL
Me.Cast Arcane Torrent
	Target.Distance <= 8
	Me.HasSpell("Arcane Torrent") = 1
	
-- DRAENEI RACIAL
Me.Cast Gift of the Naaru
	Me.Health < 60
	Me.HasSpell("Gift of the Naaru") = 1
-- DWARVEN RACIAL
Me.Cast Stoneform
	Me.IsDiseased = 1
	Me.HasSpell("Stoneform") = 1
	
-- NIGHT ELF RACIAL
Me.Cast Shadowmeld
	Me.Health < 15
	Me.InParty = 0
	Me.HasSpell("Shadowmeld") = 1
	
-- ORC RACIAL
Me.Cast Blood Fury
	Me.HasAura("Blood Fury") = 0
	Me.HasSpell("Blood Fury") = 1
	
-- PANDAREN RACIAL
Me.Cast Quaking Palm
	Target.AddsCount > 1
	Target.Distance <= 8
	Me.HasSpell("Quaking Palm") = 1
	
-- GNOME RACIAL
Me.Cast Escape Artist
	Me.HasSpell("Escape Artist") = 1
	Me.IsIncapacitated = 1
	
-- GOBLIN RACIAL
Target.Cast Rocket Barrage
	Me.HasSpell("Rocket Barrage") = 1
-- TROLL RACIAL
Me.Cast Berserking
	Me.HasAura("Berserking") = 0
	Me.HasSpell("Berserking") = 1
	
-- WORGEN RACIAL
Me.Cast Running Wild
	Target.Distance > 10
	Me.HasSpell("Running Wild") = 1
	
-- TAUREN RACIAL
Me.Cast War Stomp
	Target.AddsCount > 1
	Target.Distance <= 8
	Me.HasSpell("War Stomp") = 1
-----------------------------------------------------------------------
-- Healing spells 
-----------------------------------------------------------------------
-- IMPENDING VICTORY
Impending Victory
	Me.HasSpell("Impending Victory") = 1
	Me.HasAura("Victorious") = 1
	Me.Health < 95
-- VICTORY RUSH
Victory Rush
	Me.HasSpell("Victory Rush") = 1
	Me.HasSpell("Impending Victory") = 0
	Me.HasAura("Victorious") = 1
	Me.Health < 95
-----------------------------------------------------------------------
-- Targeting
-----------------------------------------------------------------------
Me.FindBetterTarget
-----------------------------------------------------------------------
-- Finisher
-----------------------------------------------------------------------
-- EXECUTE
Execute
	Me.HasSpell("Execute") = 1
	Target.Health < 20
	Me.Rage >= 30
-----------------------------------------------------------------------
-- Movement
-----------------------------------------------------------------------
Me.FollowTarget
Storm Bolt
	Me.HasSpell("Storm Bolt") = 1
Charge
	Me.HasSpell("Charge") = 1
	Target.Distance > 8
	Target.Distance < 26
	Me.InBattleground = 1
	
Heroic Leap
	Me.HasSpell("Heroic Leap") = 1
	Target.Distance > 8
	Target.Distance < 40
	Me.InBattleground = 1
-----------------------------------------------------------------------
-- AOE
-----------------------------------------------------------------------
-- SWEEPING STRIKES
Sweeping Strikes
	Target.AddsCount > 1
	Me.HasSpell("Sweeping Strikes") = 1
	Me.HasAura("Sweeping Strikes") = 0
	Me.Rage >= 30
-- DRAGON ROAR
Dragon Roar
	Me.HasSpell("Dragon Roar") = 1
	Target.AddsCount > 1
	Target.Distance < 8
-- DRAGON ROAR PVP
Dragon Roar
	Me.HasSpell("Dragon Roar") = 1
	Me.InBattleground = 1
	Target.Distance < 8
-- THUNDER CLAP PVP
Thunder Clap
	Me.HasSpell("Thunder Clap") = 1
	Target.HasAura("Weakened Blows") = 0
	Me.InBattleground = 1
	Me.Rage >= 20
	Target.Distance < 8
	
-- THUNDER CLAP
Thunder Clap
	Me.HasSpell("Thunder Clap") = 1
	Target.HasAura("Weakened Blows") = 0
	Target.AddsCount > 1
	Me.Rage >= 20
	Target.Distance < 8
-- WHIRLWIND
Whirlwind
	Me.HasSpell("Whirlwind") = 1
	Target.HasAura("Weakened Blows") = 0
	Target.AddsCount > 2
	Me.Rage > 29
	Target.Distance < 8	
-----------------------------------------------------------------------
-- Combat Debuffs
-----------------------------------------------------------------------
Hamstring
	Me.InBattleground = 1
	Target.HasAura("Hamstring") = 0
-----------------------------------------------------------------------
-- Combat buffs
-----------------------------------------------------------------------
-- BATTLE STANCE
Me.Cast Battle Stance
	Me.HasAura("Battle Stance") = 0
	Target.AddsCount < 3
	Me.InParty = 0
-- BATTLE STANCE DUNGEON
Me.Cast Battle Stance
	Me.HasAura("Battle Stance") = 0
	Me.InParty = 1	
-- BERSERKER STANCE
Me.Cast Berserker Stance
	Me.HasAura("Berserker Stance") = 0
	Me.HasSpell("Berserker Stance") = 1
	Target.AddsCount > 3
	Me.InParty = 0
-- BATTLE SHOUT
Me.Cast Battle Shout
-- DIE BY THE SWORD
Me.Cast Die by the Sword
	Target.AddsCount > 2
-- BERSERKER RAGE
Me.Cast Berserker Rage
	Me.HasSpell("Berserker Rage") = 1
-- RECKLESSNESS
Me.Cast Recklessness
	Me.HasSpell("Recklessness") = 1
-- DEADLY CALM
Me.Cast Deadly Calm
	Me.HasSpell("Deadly Calm") = 1
-- AVATAR
Me.Cast Avatar
	Me.HasSpell("Avatar") = 1
	Target.Distance <= 15
-- SKULL BANNER
Skull Banner
	Me.HasSpell("Skull Banner") = 1
	Me.HasAura("Skull Banner") = 0
	Target.AddsCount > 2
-----------------------------------------------------------------------
-- Runners
-----------------------------------------------------------------------
Hamstring
	Target.IsFleeing = 1
	Me.HasSpell("Hamstring") = 1
-----------------------------------------------------------------------
-- Interrupts
-----------------------------------------------------------------------
Target.InterruptAny Pummel
	Me.HasSpell("Pummel") = 1
Target.CastOnce Disarm
	Target.IsHumanoid = 1
	Target.HasAura("Disarm") = 0
	Me.HasSpell("Disarm") = 1
Disrupting Shout
	Me.HasSpell("Disrupting Shout") = 1
	Target.Distance <= 8
Intimidating Shout
	Me.HasSpell("Intimidating Shout") = 1
	Target.AddsCount > 1
	Target.Distance <= 8
	Me.InBattleground = 1
-----------------------------------------------------------------------
-- Freebies
-----------------------------------------------------------------------
Overpower
	Me.HasSpell("Overpower") = 1
-- TASTE FOR BLOOD PROC
Heroic Strike
	Me.StackCount("Taste for Blood") > 1
-- DEADLY CALM BUFF
Heroic Strike
	Me.HasAura("Deadly Calm") = 1
-----------------------------------------------------------------------
-- Quest/Grind rotation
-----------------------------------------------------------------------
-- COLOSSUS SMASH
Colossus Smash
	Target.HasAura("Colossus Smash") = 0
	Me.HasSpell("Colossus Smash") = 1
-- MORTAL STRIKE
Mortal Strike
	Me.HasSpell("Mortal Strike") = 1
-- SLAM
Slam
	Me.HasSpell("Slam") = 1
	Me.Rage >= 30
	Target.AddsCount < 2
	
-- CLEAVE
Cleave
	Target.AddsCount > 1
	Me.Rage >= 30
-- RAGE DUMP
	Target.Health > 20
	Target.AddsCount < 1
	Me.Rage > 80
Cleave
	Target.Health > 20
	Target.AddsCount > 1
	Me.Rage > 80
Heroic Strike
	Target.Health > 20
	Me.Rage > 80
-- USE WHEN DON'T KNOW SLAM YET
Heroic Strike
	Target.Health > 20
	Me.Rage >= 30
	Me.HasSpell("Slam") = 0
-- MORTAL STRIKE
Mortal Strike
--====================================================================
@PULL
--====================================================================
Heroic Leap
	Me.HasSpell("Heroic Leap") = 1
	Target.Distance > 8
	Target.Distance < 40
Charge
	Me.HasSpell("Charge") = 1
	Target.Distance > 8
	Target.Distance < 26
	Me.OnCooldown("Heroic Leap")
Heroic Throw
	Me.HasSpell("Heroic Throw") = 1
	Me.OnCooldown("Charge")
Taunt
	Me.HasSpell("Taunt") = 1
	Me.InParty = 0
	Me.OnCooldown("Heroic Throw")
Me.AutoAttack
Me.FollowTarget
--====================================================================
@REST
--====================================================================
-- BATTLE STANCE
Me.Cast Battle Stance
	Me.HasAura("Battle Stance") = 0
	Me.InParty = 0
Me.Eat
	Me.Health < 80
	Me.MovementDisabled = 0
	Me.InParty = 0
Me.UseBandage
	Me.Health < 70
	Me.MovementDisabled = 0
	Me.InParty = 0
Me.FollowTarget
	Yeah it was, thanks a lot.Created an ExecuteAny. Works the same as InteruptAny but for executing. Usage is Target.ExecuteAny <spell name>. Works on targets below 25% health in the range of the execute spell. I think that is what you were getting at anyways. Added it in for Fury Warrior, will let other classes use at their discretion.






