(read: if they released it will say "Resurrecting <no target>.")
But will i be able to ress them even if they release. I mean can i still use that macro and hover over their body and ress. (Wasent home yesterday) so i will first be able to try it tonight.
You know that shamans dps is lots higher when switched between flame and earthshock...
well i want to make macro which starts checking if target has a flame shock debuff (he'll have this if flame shock is already casted) if the flame shock debuff isn't there then cast flameshock. if debuff is there cast earthshock...
i just don't know the function to check the debuffs of a target.
so basicly it comes to this
if(target has debuff) cast earthshock
else cast flame shock
It´s no longer possible to do custom if - then conditions in macros or addons while in combat since... I think 2.0 or something. The only conditions that work are those specifically designed for macros. It´s not possible to make decisions based on your targets debuffs though.
the only thing you could do, would be a castsequence
/castsquence r=12 Flame Shock, Earth Shock
with a reset timer of 12 seconds (that's the duration of the flameshock debuff afair)
hope this helps
wow, you can use r for reset!
I would leave the reset out, cd on shocks is 6 seconds so a castsequence itself would work. Also, the reset starts the last time you hit the button, so it would reset 12 seconds after you ES.
I'm not sure this is possible, but I'm trying to replace the few functions that I still use the old warlock Addon, Necrosis for. The only thing remaining is a text message when summoning a player asking people to click.
What I would like is a single macro that can determine if I am in a raid or just a 5 man group that will send a "Please help summon <player name>." to the group if I am in just a 5 man, but to the entire raid if I am in a raid.
Not 100% tested but this should do the trick:
/run local s,m=SendChatMessage, "Please help summon %t" if GetNumRaidMembers() > 0 then s(m, "RAID") elseif GetNumPartyMembers() > 0 then s(m, "PARTY") end
I would leave the reset out, cd on shocks is 6 seconds so a castsequence itself would work. Also, the reset starts the last time you hit the button, so it would reset 12 seconds after you ES.
it's just to make sure that one will use flameshock again if earthshocking wasn't possible (due to aggro resets or something else^^) but the debuff fades.
and if one uses earthshock it will reset automatically so the r=12 is just for the no-es-problem...
Hey, last night a friend gave me a solution to a problem i've been plagued with since i start playing rogue...
One multiple mobs/aoe packs with low HP, you go out of energy fast and when you switch to the next target im stood waiting spamming my SS button until i have enough energy to start attacking, this is because i hate an "attack" button and i start the auto attack with SS...
however my friend told me to use the macro
/startattack
/cast Sinister Strike
its working fine for the moment, but before i raid with it i need to know... does the /startattack reset my swing timer? and if so is there a better way?
Hi, sorry if this is not the good thread to post this.
I use mouseover macros for all my healing spells. They work perfectly fine for raids/heroics/questing, but lately they sometimes stop working for a few minutes in arenas or bgs. I get the blue selection hand instead of a cast for my heals, and my Earth Shield just doesn't work. Usually a few minutes later the macros start working again. But I find it very annoying, especially during arena matches.
Has anybody experienced similar problems ? I don't know if the problem comes from my frames addons (I use Grid and Pitbull), or from my macros. And I have absolutely no idea why a problem like this would emerge only in arenas/bgs and never in raids.
Here's an example of macros I use, I don't see anything wrong with it:
its working fine for the moment, but before i raid with it i need to know... does the /startattack reset my swing timer? and if so is there a better way?
It doesn't reset swing timer. A more "correct" version of /startattack would be /cast !Attack. But both should work.
I currently have a macro, that streches over 3 macroes - these are all triggered when I click the first macro, however, for doing this I need the addon Supermacro, which is outdated and heavily bugged.
I only use it because it allows me to use the command /Click MacroClick##
Now, is there any ways this can be done without this addon - I simply mean, is there any way to trigger another macro, from a macro? Or perhaps make a macro click on a special actionbar button?
The /click command takes the name of a button and acts like you clicked the button with your mouse. By default, it behaves like a left-click, but you can specify other mouse buttons in the command. There are a few ways to determine the name of the frame you're interested in:
- You can use an addon. Some addons, including MoveAnything, give you a way to see the name of the frame underneath your mouse.
- You can look through the UI code for the frame. This is really only applicable to people who are comfortable with addon programming.
- You can bind the following macro by a key and then run it while your mouse is over the frame in question:
/run local f = GetMouseFocus(); if f then DEFAULT_CHAT_FRAME:AddMessage(f:GetName()) end
/click can be used for many different purposes. You can chain together multiple macros by /click'ing buttons with other macros on them. For example, you might have a really long macro that doesn't fit into 255 characters. Put as much of it as you can in one macro and end it with the following line:
/click MultiBarRightButton1
The rest of the code would go into a new macro that you would then place on MultiBarRightButton1 (the first button of the right-hand vertical extra action bar).
I also recommend WoWInterface Downloads : Miscellaneous : MacroSequence. Eventhough it's main purpose is to do sequences (similar to /castsequence), it is also great for long macros or if you've run out of macro slots.
I haven't seen a macro for main assists to use that includes the raid icon (if there is one), so I'll share the one I wrote for my guild:
/run local c,n,f,s="Raid_WARNING",GetRaidTargetIndex("target"),SendChatMessage,{[1]='star',[2]='circle',[3]='diamond',[4]='triangle',[5]='moon',[6]='square',[7]='cross',[8]='skull'} if n then f("Kill: {"..s[n].."} %t", c) else f("Kill: %t", c) end
This macro is pretty close to the 255 character limit, so make sure not to add any newlines or spaces if you copy it into WoW. If anyone knows a simpler way to do this, share!
You can use {rtX} for shapes, where X = 1-8, so you don't need a table of shapes in the macro.
Here's my version of the Main Assist macro with shapes:
/run local s,n,c=GetRaidTargetIndex("target"),UnitName("target");if UnitInRaid("player") then c="RAID"else c="PARTY"end;if s and n then SendChatMessage("Assist on {rt"..s.."}<< "..n.." >>",c) elseif n then SendChatMessage("Assist on << "..n.." >>",c) end
Ahha... the {rtX} was exactly the functionality I was hoping someone could point me towards. Thanks! The raid warning channel does work in 5-mans, but you have to be the party leader to use it, if I recall correctly.
I'm trying to find out if there's a way of making a bind within a macro, because I'm lazy. This is to say, I want to have one action occur when I press 5 for the macro, and I want the same action to occur on my focus when I press Shift-F. Possible, or will I have to stop being lazy?
I'm trying to find out if there's a way of making a bind within a macro, because I'm lazy. This is to say, I want to have one action occur when I press 5 for the macro, and I want the same action to occur on my focus when I press Shift-F. Possible, or will I have to stop being lazy?
just put it in the action bar and bind the slot with 5 and shift-f :o
Ahha... the {rtX} was exactly the functionality I was hoping someone could point me towards. Thanks! The raid warning channel does work in 5-mans, but you have to be the party leader to use it, if I recall correctly.
Regular, garden variety raid warnings can be done by any player, leader or not, in a 5 man, unless they've changed that just recently. Go check it out.
Edit: And to Hamsda, that won't work for what he wants. He wants the action to go to his main target for a button push of '5', and to his focus target if he pushes Ctrl-F. If he bound the same macro to both 5 and Ctrl-F, all it would do would hit his target if he pushed either. There's nothing to allow him to change where he targets based upon your suggestion.
That said, I don't know how you would keybind like that in a macro-and not run out of space; what you may have to do is write the same macro, and add in something to set and target your focus for the second one, and simply put it onto your action bars twice, then bind as appropriate. I know I have about 7 different banish macros, for instance, for various situations, and have to swap 'em in and out. (Yes, I know I could condense them all with modifiers, but I'm a die-hard mouseclicker, and am perfectly happy with my solution. It works for me.)
Are there any conditionals that work with buff types so that you don't overwrite a buff? I can't recall if that sort of thing was removed in 2.0 or not. This came up when I was trying to avoid overwriting an Earth Shield with my water shield.
Looking at WoWWiki's list of conditionals, it does not appear that you can do so. I seem to remember coming across a post on the official forums that said that checking for buffs (or debuffs, for that matter) was one of the things specifically not allowed due to potential automation.
You can even go beyond that and write a second macro, for when the buff does run out. You'll have to be proactive in using it, however, and can be cumbersome to switch back and forth. If you're the type of person that uses on-use trinkets proactively, though, it'll be worthwhile. If not, it might be simply better just to tie the Earring into a normal macro, using it whenever it's up. You may actually get more use out of it in the long run.