Forum Settings
       
Reply To Thread

i hate to ask.. but a macro questionFollow

#1 Mar 12 2009 at 9:37 AM Rating: Decent
**
498 posts
So ive been looking at macro guides left and right but im not finding if this type of macro is possible or not.
What i want:

A macro castsequence of Holy fire, Mind blast, smite. I want it to cast the most powerful one not on recharge. I.e. if HF is ready, cast that. If HF is recharging, cast MB, if both are recharging, cast smite. Is there such a reset function avaiable? or maybe some conditional statement i can make?
#2 Mar 12 2009 at 9:41 AM Rating: Decent
****
4,684 posts
Quote:
Is there such a reset function avaiable?


Not that I know of. Afaik the only thing you can have macros check is information about your target (is it dead? friendly? hostile? killable?) or your stance (berserker? defense? bear form?).

What do you need it for, grinding/leveling? In that case I'd suggest you simply do a holy fire/mind blast/smite castsequence.
#3 Mar 12 2009 at 10:08 AM Rating: Good
***
2,101 posts
Macro Guide Faq found here

Quote:
How do I cast a spell if ______?

There is a very limited set of conditions which you're allowed to check for when casting spells. These are listed in their entirety in the Complete Macro Guide sticky on this forum. Since the questions are asked so frequently, though, here are some conditions you are not allowed to check for:

* Cooldown
* Mana/rage/energy/health
* Range
* Class/race/level
* Presence of a (de)buff
* Whether a unit is a player or NPC
* Whether a unit is some other unit (e.g., whether you are targeting yourself)

These are non-negotiable decisions handed down directly from the designers and this list is not complete by any means. For a full list of what you are allowed to check for, see the Macro Guide.


If you are wondering why, basically if you are able to account for cooldowns in a macro, you could make macros that were akin to botting.
#4 Mar 12 2009 at 5:39 PM Rating: Excellent
**
736 posts
Oops. scratch that.


But for future referance there is a macro reset.
Sadly, what keeps it from being useful to you is that it requires a timeframe.

/castsequence reset=x Holy Fire, Mind Blast, Smite, Smite, Smite

Where x is the amount of time you wouldn't be pressing that macro button. If you set that at 1 second, for instance. You'd be brought back to Holy Fire with it still on cooldown, never advancing the macro. If you set it to something like 4 seconds, that's enough time to move onto the next. But if you idled at all, you'd be thrown back to the Holy fire still on cooldown. If you set it to the cooldown of Holy Fire you'd have to wait 10 seconds after your last cast spell for it to cycle back to Holy Fire (which would be ready but probably would have been so well before).



Edited, Mar 12th 2009 10:01pm by Zemzelette
#5 Mar 12 2009 at 9:43 PM Rating: Decent
Use /castsequence Holy Fire,Mind Blast,Smite,Smite
By the time you are finished with the sequence, the other two should be ready. There is no way to account for cool-down like you are asking, so just account for that by adding or removing more casting time.
#6 Mar 13 2009 at 6:45 AM Rating: Excellent
***
1,030 posts
Zemzelette wrote:
Oops. scratch that.


But for future referance there is a macro reset.
Sadly, what keeps it from being useful to you is that it requires a timeframe.

/castsequence reset=x Holy Fire, Mind Blast, Smite, Smite, Smite

Where x is the amount of time you wouldn't be pressing that macro button. If you set that at 1 second, for instance. You'd be brought back to Holy Fire with it still on cooldown, never advancing the macro. If you set it to something like 4 seconds, that's enough time to move onto the next. But if you idled at all, you'd be thrown back to the Holy fire still on cooldown. If you set it to the cooldown of Holy Fire you'd have to wait 10 seconds after your last cast spell for it to cycle back to Holy Fire (which would be ready but probably would have been so well before).


The other thing to remember using the reset= parameter is that you can also set it to reset=target (resets after a target change), reset=combat (resets when combat starts/ends) and that the timed reset can be overridden by reaching the end of the cast sequence. Also, using reset=alt, reset=ctrl, reset=shift will force the cast sequence to reset when it's clicked with the appropriate modifier key held.

Edited to say that you can always use a combination of these in the same /castsequence using the '/' seperator. So, using your example, if I wanted a 8 sec reset, a combat reset, or a reset based on my using the Shift key at the same time as clicking the macro, it would look like this:

/castsequence reset=8/combat/shift Holy Fire, Mind Blast, Smite, Smite, Smite

Edited, Mar 13th 2009 10:49am by Shamandin
Reply To Thread

Colors Smileys Quote OriginalQuote Checked Help

 

Recent Visitors: 92 All times are in CST
Anonymous Guests (92)