Fury Warrior Lua Script menu

User Tag List

Results 1 to 13 of 13
  1. #1
    CrazyCactuaR's Avatar Contributor
    Reputation
    84
    Join Date
    Sep 2008
    Posts
    201
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fury Warrior Lua Script

    Requires: Hack addon

    [Donate]

    Single Target Macro
    Code:
    /run Hack.Run("Warrior.Fury","0")
    AoE Group Macro
    Code:
    /run Hack.Run("Warrior.Fury","1")

    Code Block
    Code:
    local AoEMode = ...
    cast=CastSpellByName
    function check(sp,unit)
       unit = unit or "target";
       spell = string.format("%s",sp)
       if GetSpellCooldown(spell)==0 and IsUsableSpell(spell) then 
          if SpellHasRange(spell)==1 then
             if IsSpellInRange(spell,unit)~=1 then
                return false
             end
          end
       else 
          return false
       end
       return true
    end
    
    local PartyNum = GetNumPartyMembers()
    if PartyNum~=0 then
       if check("Commanding Shout") then cast("Commanding Shout") return end
    else
       if check("Battle Shout") then cast("Battle Shout") return end
    end 
    
    --- INTERCEPT/HEROIC FURY ---
    if GetSpellCooldown("Heroic Fury")>2 and GetSpellCooldown("Intercept")>2 and GetSpellCooldown("Heroic Throw")==0 and check("Heroic Throw") then cast("Heroic Throw") return end
    if GetSpellCooldown("Heroic Fury")==0 and IsSpellInRange("Raging Blow", "target")==0 and GetSpellCooldown("Intercept")~=0 and UnitPower("player")>10 then cast("Heroic Fury") return end
    if check("Intercept") and UnitPower("player")>10 then cast("Intercept") return end
    ---
    
    -- DO NOT CONTINUE IF OUT OF COMBAT --
    if UnitAffectingCombat("player")~=1 then return end
    --------------------------------------
    
    --- TRINKETS + SURVIVAL ---
    if GetInventoryItemCooldown(13)==0 then UseInventoryItem(13) end
    if GetInventoryItemCooldown(14)==0 then UseInventoryItem(14) end
    if (UnitHealth("player")/UnitHealthMax("player")<=0.2) and check("Rallying Cry") then cast("Rallying Cry") return end
    ---------------------------
    
    --- INTERUPTION ----------------------------
    local uch={UnitChannelInfo("target")}
    local uca={UnitCastingInfo("target")}
    -- Cho'gall Interuption
    if UnitDebuff("target", "Worshipping")=="Worshipping" and check("Pummel") then cast("Pummel") return end
    -- BWD Interuption
    if UnitName("target")=="Maloriak" and (uca[1]=="Arcane Storm" or uch[1]=="Arcane Storm") and check("Pummel") then cast ("Pummel") return end
    -- ZulGurub Interuption
    if (UnitName("target")=="High Priest Venoxis" or UnitName("target")=="Venomancer Mauri" or UnitName("target")=="Venomancer T'Kulu")==true and (uca[1]=="Whispers of Hethiss" or uch[1]=="Whispers of Hethiss") and check("Pummel") then cast("Pummel") return end
    -- General Interupt
    if (UnitName("target")~="Maloriak" and UnitName("target")~="High Priest Venoxis" and UnitName("target")~="Venomancer Mauri" and UnitName("target")~="Venomancer T'Kulu")==true and (uca[9]==false or uch[8]==false) and check("Pummel") then cast("Pummel") return end
    -- Nefarian Debuff
    if (UnitName("target")=="Nefarian" or UnitName("target")=="Onyxia") and UnitDebuff("target", "Demoralizing Shout")~="Demoralizing Shout" and check("Demoralizing Shout") then cast("Demoralizing Shout") return end
    ------------------------------------------------------------------------------------------------
    
    -- Victory Rush before anything
    if check("Victory Rush") then cast("Victory Rush") return end
    -- Prioritise Bloodthirst before anything else for Single target
    if AoEMode=="0" then
    	if check("Bloodthirst") then cast("Bloodthirst") return end
    end
    -- Prioritise Whirlwind before anything else for AOE
    if AoEMode=="1" then
    	if check("Whirlwind") then cast("Whirlwind") return end
    end 
    if check("Recklessness") then cast("Recklessness") return end
    if check("Enraged Regeneration") and (UnitHealth("player")/UnitHealthMax("player")<=0.5) then cast("Enraged Regeneration") return end
    if check("Death Wish") then cast("Death Wish") return end
    if check("Inner Rage") then cast("Inner Rage") return end
    if check("Berserker Rage") then cast("Berserker Rage") return end
    
    local _, BTCD, _ =GetSpellCooldown("Bloodthirst")
    local targetHealth=UnitHealth("target")/UnitHealthMax("target")
    -- Single target Execute spam < 20%
    if AoEMode=="0" and targetHealth<=0.2 then
    	if check("Raging Blow") then cast("Raging Blow") return end
    	if UnitBuff("player", "Bloodsurge")=="Bloodsurge" then cast("Slam") return end
    	if check("Colossus Smash") then cast("Colossus Smash") return end
    	if check("Execute") then cast("Execute") return end
    end 
    -- Single target 
    if AoEMode=="0" and BTCD>2 and targetHealth>0.2 then
    	if check("Raging Blow") then cast("Raging Blow") return end
    	if UnitBuff("player", "Bloodsurge")=="Bloodsurge" then cast("Slam") return end
    	if check("Colossus Smash") then cast("Colossus Smash") return end
    
    	i=1 d=90
    	local isElite=UnitClassification("target")
    	local isPlayer=UnitIsPlayer("target")
    	if isPlayer==1 and db("target", "Hamstring")~="Hamstring" and check("Hamstring") then cast("Hamstring") return end
    	
    	if (isElite=="elite" or isElite=="worldboss" or isPlayer=="1") then 
    		if check("Sunder Armor") then 
    			while(i<=40) do a={UnitDebuff("target",i)} 
    				if a[1]=="Sunder Armor" and a[8]=="player" then 
    					d=a[7]-GetTime() 
    					if a[4]==3 then break end 
    				end 
    				i=i+1 
    			end
    		end
    		if i>40 or d<10 then cast("Sunder Armor") return end
    	end
    	local PartyNum=GetNumPartyMembers()
    	if PartyNum~=0 then
    			if (UnitPower("player")/UnitPowerMax("player")>0.4) and check("Heroic Strike") and BTCD>=2 then cast("Heroic Strike") return end
    		else
    			if check("Heroic Strike") and BTCD>=2 then cast("Heroic Strike") return end
    	end
    end
    
    if AoEMode=="1" then
    	local _, WWCD,_ =GetSpellCooldown("Whirlwind")
    	local _, CLCD,_ =GetSpellCooldown("Cleave")
    	if check("Whirlwind") then cast("Whirlwind") return end
    	if check("Cleave") and WWCD>=2 and IsSpellInRange("Heroic Strike")==1 then cast("Cleave") return end
    	if WWCD>2 and CLCD>2 and check("Bloodthirst") then cast("Bloodthirst") return end
    end
    Last edited by CrazyCactuaR; 07-13-2011 at 05:35 AM.
    (╯°□°)╯︵┻━┻ ლ(ಠ益ಠლ

    Fury Warrior Lua Script
  2. #2
    jereminion's Avatar Active Member
    Reputation
    28
    Join Date
    Jun 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    may as ask, is this more updated than the fury (superdupermacro) version on your own forum? i notice the other one didnt use some abilities, but they were in the code
    my artist web sizzle www.jeremynative.com

  3. #3
    Arakbuzir's Avatar Member
    Reputation
    1
    Join Date
    Aug 2007
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, how to do ? ^^

  4. #4
    Arakbuzir's Avatar Member
    Reputation
    1
    Join Date
    Aug 2007
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <Hack>: runtime error in "Warrior.Fury" at line 26:
    [string "Warrior.Fury"]:26: attempt to compare number with nil

    I have this error.

  5. #5
    jereminion's Avatar Active Member
    Reputation
    28
    Join Date
    Jun 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    are you working on prot
    my artist web sizzle www.jeremynative.com

  6. #6
    Ehnoah's Avatar Elite User
    Reputation
    398
    Join Date
    Sep 2006
    Posts
    1,028
    Thanks G/R
    16/96
    Trade Feedback
    7 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Arakbuzir View Post
    <Hack>: runtime error in "Warrior.Fury" at line 26:
    [string "Warrior.Fury"]:26: attempt to compare number with nil

    I have this error.

    Same just make before the IF and after the END --- to remove this. Then no error comes

  7. #7
    jereminion's Avatar Active Member
    Reputation
    28
    Join Date
    Jun 2007
    Posts
    308
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    these are nice macros i get 17k dps with 371 ilvl mostly pvp gear.

    if you decide to use this i would use two one handers instead of two two handers

    i did 17k with one handers and 13k with two handers, but based my stat priorities on elitist jerks 8% hit 26 expertise.
    my artist web sizzle www.jeremynative.com

  8. #8
    tsien's Avatar Private
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have an error on this line : if isPlayer==1 and db("target", "Hamstring")~="Hamstring" and check("Hamstring") then cast("Hamstring") return end

    db nill value something like that.

    Thanks ^^

  9. #9
    Ultraviolence's Avatar Active Member
    Reputation
    15
    Join Date
    Aug 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Change db to UnitDebuff.

  10. #10
    tsien's Avatar Private
    Reputation
    1
    Join Date
    Jul 2011
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Always the same error : Runtime error in Fury at line 90 : [string "Fury"]:90: atempt to call global 'UnitDebuff' (a nill value)

  11. #11
    Canbus's Avatar Active Member
    Reputation
    27
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't work for me, I get blocked by Blizzard UI.
    ░█▀▀ ░█▀█ ░█ ░█▀▀ ░░█▀▀ ░█▀█ ░█ ░█
    ░█▀▀ ░█▀▀ ░█ ░█ ░░░░█▀▀ ░█▀█ ░█ ░█
    ░▀▀▀ ░▀ ░░░▀ ░▀▀▀ ░░▀ ░░░▀░▀ ░▀ ░▀▀

  12. #12
    sed-'s Avatar ★ Elder ★
    Reputation
    1114
    Join Date
    Mar 2010
    Posts
    1,563
    Thanks G/R
    52/151
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Canbus View Post
    Doesn't work for me, I get blocked by Blizzard UI.
    you need a lua unlocker

  13. #13
    Canbus's Avatar Active Member
    Reputation
    27
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, then I won't bother. Will just play like a normal person haha .
    ░█▀▀ ░█▀█ ░█ ░█▀▀ ░░█▀▀ ░█▀█ ░█ ░█
    ░█▀▀ ░█▀▀ ░█ ░█ ░░░░█▀▀ ░█▀█ ░█ ░█
    ░▀▀▀ ░▀ ░░░▀ ░▀▀▀ ░░▀ ░░░▀░▀ ░▀ ░▀▀

Similar Threads

  1. Prot Warrior Lua Script
    By CrazyCactuaR in forum WoW UI, Macros and Talent Specs
    Replies: 8
    Last Post: 09-25-2024, 01:24 PM
  2. Replies: 1
    Last Post: 03-20-2016, 04:30 AM
  3. Replies: 0
    Last Post: 05-19-2015, 06:56 PM
  4. Catacylsm FURY WARRIOR LUA macro
    By gerry0118 in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 09-19-2014, 08:04 AM
  5. Arms Warrior Lua Script
    By CrazyCactuaR in forum WoW UI, Macros and Talent Specs
    Replies: 10
    Last Post: 07-09-2011, 07:58 PM
All times are GMT -5. The time now is 12:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search