delete this please
delete this please
Last edited by nemiz; 12-25-2009 at 07:40 PM.
ok maybe im stupid, but i rly want help with this and im rly new. i want this macro to do this in this exact priority
Bloodrage if under 80 rage every time it can
use Battleshout whenever its not up.
use Bloodsurge (the insta slam proc) whenever its up
use whirlwind whenever its usable
use bloodthirst whenever usable
if im over 60 rage cast cleave
if the target is under 20% and whirlwind and bloodthirst is on cooldown cast execute instead of cleave.
this is the macro i use atm but i get the error thats its blocked blizzard ui etc etc can u please help?
#showtooltip Whirlwind
/run local _,d,_ = GetSpellCooldown("Bloodrage") if (d == 0) then CastSpellByName("Bloodrage") end
/run if not UnitBuff("player", "Battle Shout") then CastSpellByName("Battle Shout") end
/startattack
/run if UnitBuff("player", "Slam!") then CastSpellByName("Slam") end
/run local _,a,_ = GetSpellCooldown("Whirlwind") if (a == 0) then CastSpellByName("Whirlwind") end
/run local _,d,_ = GetSpellCooldown("Bloodthirst") if (d == 0) then CastSpellByName("Bloodthirst") end
/run if UnitPower("Player") > 60 then CastSpellByName("Cleave") end
/run local _,d,_ = GetSpellCooldown("Execute") if (d == 0) then CastSpellByName("Execute") end
btw if its not possible to do the thing i listed can u please just make the blizzard block thing go away?, it comes when im trying to use the macro on a friendly or neutral player/mob after it used bloodrage and battle shout
what i mean is that the blizzard block addon ui thing comes when i press the macro and bloodrage is on cd and battle shout is on cd. meaning theres nothing it can use my attacks on
Last edited by nemiz; 12-25-2009 at 07:03 PM.
*snip*
Thanks alot Viral and nice queue you have there![]()
Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.
Yo...I'll add Fury Warrior to my list in case you like my style of macros. There is also one that I've seen linked to in another thread that you can find here if you so desire.
Also...add this line to the end of your macros to always hide the blocked action popup:
Code:/run StaticPopup_Hide("MACRO_ACTION_FORBIDDEN");
Last edited by Viral Fly-by; 12-25-2009 at 07:48 PM.
i rly like ur macros.. but the problem with the macro i use atm is that it does not do what its supposed to, i dont know how to make it execute instead of cleave when target is under 20% and the bs and ww is on cd.
Thanks for letting me know that I left those out. If you analyzed the original script, I had 4 Garrotes on there. The other three were supposed to be the ones you mentioned. It was an oversight on my part from copying and pasting. I'll update it.
Secondly, the script doesn't care whose bleed affect is on the target. Regardless if the target has any one of those bleed affects, hence the OR conditions, the variable bleed is set to a value of 1.
Lastly, if you read the script for Rupture and Deadly Poison, the condition explicitly has:
That is only used for Rupture based rotations. If the Rupture belongs to me, then return the time on MY rupture so I may refresh it. If it's only checking for my Rupture or Deadly Poison, there's no way it can get confused.Code:if name ~= nil and isMine == "player" then rupture = expirationTime - currentTime end
Wow, sure got your work cut out for you but I think I can speak on behalf of a lot of people in saying how much we appreciate all the work going on in this thread. Ive been running my ele shammy now thru multiple randoms absolutely loving the "macro". Im soon to switch her to healing and give the resto one a whirl suffice to say I am a huge fan.
Arc mage one is beautiful and the fire mage with the scorch added in you mentioned not so long ago makes it effortless to have a cup of tea while raiding lol.
Edit: Will definitely test out the feral druid one I am eager to get my claws sunk deep in tht one.
Cheers
Pulse.
Last edited by pulse1200; 12-25-2009 at 09:37 PM.
I hear you there bro...made that mistake myself on several occasions I'm sure. =)
Sorry bro...but that is 100% wrong. You are using UnitDebuff("target", "Deadly Poison IX") to get the debuff. Well, that is only going to give you the FIRST Deadly Poison IX on the target. If that is someone else's debuff instead of yours, then your (isMine == "player") will be false and so your macro will think it's not up there. Same thing with Rupture. Just using UnitDebuff("target", "NAME OF DEBUFF") does not work if it is possible that there are multiple instances of the debuff present. So despite your very inaccurate claims that "there's no way it can get confused", it actually can and quite easily by having another rogue in the party or raid.
So, let's say you are using those amazing macros, then you get stunned/silenced. What happens?
Your character will "spam" the correct ability and you'll get "You cannot do that while silenced." error.
It will basically respond exactly the same as if you spammed a normal button while silenced. That's acceptable behavior IMO...because if you were playing without the macro, you wuold probably spam a button so that you'd cast as soon as the silence wore off.
Last edited by Viral Fly-by; 12-25-2009 at 09:54 PM.
Yes...you go through all the debuffs by index from 1 to 40...check out my example that casts Flame Shock if it's not on the target:
So I look from 1 to 4 checking if the debuff is Flame Shock casted by "player"...if it is I break the loop. After the loop, if the loop variable i is more than 40, I must have checked them all and not found it. Using this kind of logic is the only way if you need to find a specific instance of a debuff when there may be multiple instances on the target.Code:/run i=1 while(i<=40)do a={UnitDebuff("target",i)} if a[1]=="Flame Shock" and a[8]=="player" then break else i=i+1 end end; if i>40 and GetSpellCooldown("Flame Shock")==0 then CastSpellByName("Flame Shock") end;
Is there any way to modify this line to check if my current target is in combat? I keep pulling mobs by overzealously pressing my macro.
I added to check if I am in combat, but the exorcism goes off before i can drop combat.Code:if GetSpellCooldown(exorcism)==0 and UnitPower('player')>=315 and IsSpellInRange(exorcism,target)==1 and UnitBuff("player","The Art of War") and UnitAffectingCombat("player")==1 then CastSpellByName(exorcism)
Edit:
I think i might have answered myself.
if GetSpellCooldown(exorcism)==0 and UnitPower('player')>=315 and IsSpellInRange(exorcism,target)==1 and UnitBuff("player","The Art of War") and UnitIsTapped("target")==1 then CastSpellByName(exorcism)
Last edited by Gnobiwan; 12-26-2009 at 02:05 AM.
Anyone recommend a more suitable way of getting a auto every man for himself code; only way i know so far is to just keep listing the debuff's it works on.
+2 rep to whoever can improve it or a big thank you if its viral fly by who i cant rep againCode:/stopmacro [stealth] /run EMFHCD=GetSpellCooldown("Every Man for Himself") /run FNova=UnitDebuff("player", "Frost Nova") /run Web=UnitDebuff("player", "Web") /run Net=UnitDebuff("player", "Net") /run HNet=UnitDebuff("player", "Hooked Net") /run Gouge=UnitDebuff("player", "Gouge") /run Poly=UnitDebuff("player", "Polymorph") /run Roots=UnitDebuff("player", "Entangling Roots") /run Hex=UnitDebuff("player", "Hex") /run Slow=UnitDebuff("player", "Slow") /run SlowP=UnitDebuff("player", "Slowing Poison") /run Fear=UnitDebuff("player", "Fear") /run PHorror=UnitDebuff("player","Psychic Horror") /run if FNova or Web or Net or Gouge or Poly or Hex or Roots or Slow or HNet or SlowP or Fear or PHorror and EMFHCD == 0 then CastSpellByName("Every Man for Himself") end![]()