Is there a way to check for global cooldown? GetGlobalCooldown? cant seem to find it. thanks
Is there a way to check for global cooldown? GetGlobalCooldown? cant seem to find it. thanks
Global cooldown for what
Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.
how can i check if i am behind the target to use shred? and else cast mangle?
there are bosses where you cant be behind the target and you have to use mangle
nothing here
Alright through cut and paste and trial and error this is what I have for enhance so far.
/run local _,_,_,c,_,_,_,_,_=UnitBuff("player","Maelstrom Weapon"); if (c==5) then CastSpellByName("Lightning Bolt") end
/run local _,d,_ = GetSpellCooldown("Stormstrike") if (d == 0) then CastSpellByName("Stormstrike") end
/run local n,_,_,_,_,_,e,c=UnitDebuff("Target","Flame Shock"); if ((not n) or (c ~= "player") or (e-GetTime()<2)) and GetSpellCooldown("Flame Shock") == 0 then CastSpellByName("Flame Shock") end
/run local _,d,_ = GetSpellCooldown("Earth Shock") if (d ==0) then CastSpellByName("Earth Shock") end
/run local _,d,_ = GetSpellCooldown("Lava Lash") if (d == 0) then CastSpellByName("Lava Lash") end
This will cast Lightning Bolt every time Maelstrom hits 5x
Cast stormstrike
Cast Earth shock unless no flame shock debuff
and then lava lash
My goal is to get the priorities in this order:
- Cast Shamanistic Rage under 45% mana
- Cast Storm Strike if no Storm Strike debuff on target
- Cast Lightning Bolt everytime Maelstrom hits 5 as long as Storm Strike debuff is up
- Flame shock when Flame shock debuff is not up
- Drop magma totem when there is under 4 seconds on the timer
- Earth Shock if Storm Strike Debuff on target else Storm Strike
- Lava Lash if Quaking Earth buff is not on
- Fire Nova
- Run a check on Lightning Shield when at 2 orbs or less
Last edited by ToonsThatPwn; 12-20-2009 at 02:49 AM.
Global Cooldown for spells or does the getspellcooldown do the same?
/run if GetSpellCooldown("Shamanistic Rage")==0 and UnitMana("player")/UnitManaMax("Player")<0.45 then CastSpellByName("Shamanistic Rage") end
/run local _,_,_,c=UnitBuff("player","Maelstrom Weapon") if c==5 then CastSpellByName("Lightning Bolt") end
/run local n,_,_,_,_,_,e,c=UnitDebuff("target","Stormstrike") if c~="player" and GetSpellCooldown("Stormstrike")==0 then CastSpellByName("Stormstrike") end
/run if GetSpellCooldown("Lava Lash")==0 and UnitBuff("player","Volcanic Fury") then CastSpellByName("Lava Lash") end
/run local n,_,_,_,_,_,e,c=UnitDebuff("target","Flame Shock") if c ~="player" or e-GetTime()<1 and GetSpellCooldown("Flame Shock")==0 then CastSpellByName("Flame Shock") end
/run local n,_,_,_,_,_,e,c=UnitDebuff("target","Stormstrike") if c~="player" and GetSpellCooldown("Earth Shock")==0 then CastSpellByName("Earth Shock") end
/run local _,_,_,c=UnitBuff("player","Lightning Shield") if c<=2 then CastSpellByName("Lightning Shield") end
hope this helps you a bit
Can someone make a macro for an warlock that force the minion to attack Shaman totems?
Hey, first Thanks for this Macro. But I want to set up a HP Limit for my Dots, so I changed the lines:
to:Code:/run a={UnitDebuff('target','Moonfire')}if(a[8]~='player')then CastSpellByName('Moonfire')end /run b={UnitDebuff('target','Insect Swarm')}if(b[8]~='player')then CastSpellByName('Insect Swarm')end
Is that right? Don't have Wow on this Computer so I can't test it.Code:/run a={UnitDebuff('target','Moonfire')}if(a[8]~='player') and UnitHealth('target')>150000 then CastSpellByName('Moonfire')end /run b={UnitDebuff('target','Insect Swarm')}if(b[8]~='player') and UnitHealth('target')>150000 then CastSpellByName('Insect Swarm')end
Here's my version of the Enhancement rotation. This is my first time doing a macro of this sort please correct me if there's anything wrong. Most of the macros are just slightly tweaked from the ones kakamonster posted. Credits to him.
Not Working. Please help.
dps
/run if UnitCastingInfo("target") and GetSpellCooldown("Wind Shear")==0 then SpellStopCasting() CastSpellByName("Wind Shear") else RunMacro"dps1" end
dps1
/run if GetSpellCooldown("Shamanistic Rage")==0 and UnitMana("player")/UnitManaMax("Player")<0.20 then CastSpellByName("Shamanistic Rage") else RunMacro"dps2" end
dps2
/run local _,_,_,c=UnitBuff("player","Maelstrom Weapon") if c==5 then CastSpellByName("Lightning Bolt") else RunMacro"dps3" end
dps3
/run if not UnitDebuff("target", "Flame Shock") then CastSpellByName("Flame Shock") else RunMacro"dps4" end
dps4
/run local n,_,_,_,_,_,_,c=UnitDebuff("target","Stormstrike") if c~="player" and GetSpellCooldown("Earth Shock")==0 then CastSpellByName("Earth Shock") else RunMacro"dps5" end
dps5
/run local if not UnitDebuff("target", "Stormstrike") and GetSpellCooldown("Stormstrike")==0 then CastSpellByName("Stormstrike") else RunMacro"dps6" end
dps6
/run if GetSpellCooldown("Earth Shock")==0 then CastSpellByName("Earth Shock") else RunMacro"dps7" end
dps7
/run local _, totemname, start, duration = GetTotemInfo(1) if not totemname or totemname == "" then CastSpellByName("Magma Totem") else RunMacro"dps8" end
dps8
/run local _,_,_,c=UnitBuff("player","Lightning Shield") if c<=1 then CastSpellByName("Lightning Shield") else RunMacro"dps9" end
dps9
/run if GetSpellCooldown("Lava Lash")==0 then CastSpellByName("Lava Lash") else RunMacro"dpsA" end
dpsA
/run local f,_,_,_,c=GetTotemInfo(1) if f==1 and GetSpellCooldown("Fire Nova")==0 then CastBySpellName("Fire Nova") else CastBySpellName("Magma Totem") end
What it does:
Use SR if less than 20% mana
MW5_LB
FS if none on target
ES_SS
SS
ES
MT
LS
LL
FN
Doesn't seem to work. Can't get it to go to dps7 (not casting Magma Totem) and if I skip directly (manually click) to dps8 an error comes out.
Also seems to cast Earth Shock before casting StormStrike even though stormstrike is off cooldown
Last edited by optovisc; 12-20-2009 at 07:21 PM.
Edit: Nevermind figured it out
Last edited by realityercik; 12-20-2009 at 07:21 PM.
Hi, i need a holy pala macro to cast Sacred Shield and Beacon of Light in tank (party or raid) just when he don´t have the buffs, i already tried this:
/run if not UnitBuff("target=focus or player name", "Sacred Shield") then CastSpellByName("Sacred Shield") end
/cast [target=mouseover] Flash of Light
I need some help here plx, thanx
Last edited by pinhe1ro; 12-20-2009 at 08:23 PM.
Hey guy's, got another one for you. +2 rep to whoever solves this one. This is regarding a rogue's Dismantle, so far i've managed to do the following;
This work's perfectly fine however, is their a more suitable way of knowing if the target can have dismantle used on them insted of just 'hoping' the humanoid/demon has weapons equipped. Dismantle triggers GCD when attempted to be used, eg, having it spam on a beast will block all other commands because of the GCD use.Code:/run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN"); /stopmacro [stealth] /startattack [combat, nostealth] /run InCombat = UnitAffectingCombat("player") /run DismantleCD=GetSpellCooldown("Dismantle") /run Dismantle=IsUsableSpell("Dismantle") /run RiposteCD=GetSpellCooldown("Riposte") /run Riposte=IsUsableSpell("Riposte") /run Creature=UnitCreatureType("target") /run if DismantleCD == 0 and Dismantle and (Creature == "Humanoid" or Creature == "Demon") then CastSpellByName("Dismantle") end /run if RiposteCD == 0 and Riposte then CastSpellByName("Riposte") end /run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");
Thanks kakamonster gave me some things to work with for sure.
/startattack
/run if (UnitMana('player')/UnitManaMax('player')<0.45) and (GetSpellCooldown("Shamanistic Rage") == 0) then CastSpellByName("Shamanistic Rage") end
/run if UnitCastingInfo("target") then SpellStopCasting() CastSpellByName("Wind Shear") end
/run local _,_,_,c,_,_,_,_,_=UnitBuff("player","Maelstrom Weapon"); if (c==5) then CastSpellByName("Lightning Bolt") end
/run local _,d,_ = GetSpellCooldown("Stormstrike") if (d == 0) then CastSpellByName("Stormstrike") end
/run local n,_,_,_,_,_,e,c=UnitDebuff("Target","Flame Shock"); if ((not n) or (c ~= "player") or (e-GetTime()<2)) and GetSpellCooldown("Flame Shock") == 0 then CastSpellByName("Flame Shock") end
/run local _,d,_ = GetSpellCooldown("Earth Shock") if (d ==0) then CastSpellByName("Earth Shock") end
/run local _,d,_ = GetSpellCooldown("Lava Lash") if (d == 0) then CastSpellByName("Lava Lash") end
/run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");
So far this macro works near perfect only thing you have to monitor are totems and shields. Going to keep working on what kaka gave me, trying to figure out why it will not cast Lava Lash in his macro atm.
I just tried the Warlock macro. Seem to be having problems. I downloaded Super Duper Macro addon and created two Button macro. One for GNU and the other for Julegoder. Text say to keep spamming GNU but it seems that Julegoder doesnt get called at all..after spamming GNU a few times it stopped. any idea??