View Full Version : Macro help for the macro impaired. (me)
Kastus
12-24-2008, 05:01 PM
I'm curious if anyone who is more familiar with game scripting could educate me on something, or help me create a macro. I'm trying to figure out if such a macro could be made as to cast a fireball, IF it's instant cast, and if not, to cast fire blast(PvP). Same goes for a macro to cast pyroblast if it's instant and frostfire bolt if it isn't(PvE).
/cast fireball(rankwhatever)
/stopcasting
/cast fireblast(rankhurrdurr)
Is the best I've come up with, I assume the stopcasting will screw it up.
attic
12-24-2008, 10:07 PM
You aren't going to get two casts out of one keypress (though I'd love to be proven wrong). And determining if you've proc'ed an instant cast is (afaik) impossible. I was trying to do something similar to automate casting a fireball when brain freeze procs and I couldn't figure it out.
Kastus
12-24-2008, 11:21 PM
There exists(ed) a mod called lazytank, which would allow a warrior to press one button and get the higest threat move out on a boss(horrible on occasion), that was currently allowed by rage and cooldowns. This leads me to believe there is a way of scripting two moves into a button push, hence my question. If this has been changed/requires a mod, I'd love to figure out a way around... Or I could just go lolarcane and hop around doing 6k every three seconds... but that's just lame.
EDIT: Clarification, I'm not looking for a macro that will determine procs, I'm looking for a macro that will TRY to cast fireball(cast it if I'm standing still with no proc up) stop it from casting if it's not instant cast, and cast fire blast if continued, thus follows my theorycraft with stopcasting, though I can't try it, as my account is still hacked. (Side note, he vendored all my gear! Yipee!)
Rolden
12-25-2008, 12:30 PM
tell me all your leet pally macros kastus!
Kastus
12-25-2008, 12:33 PM
pally macroslol.
Nortibiry
12-26-2008, 09:56 AM
I believe the official (newish) Blizzard line is that they don't want macros making decisions for you (ie deciding if a proc is up or not).
There are a few exceptions to this rule, and they can be combined, but if it isn't in this list you can't have a macro consider it. You can't have macros branch based on whether a cast succeeds or fails, once they try to cast something they finish thinking.
http://www.wowwiki.com/Making_a_macro#Complete_list
help — Can cast helpful spells on the target
harm — Can cast harmful spells on the target
exists — Target exists
dead — Target is dead
stance:0/1/2/.../n or form:0/.../n — In a stance
stealth — Stealthed
modifier:shift/ctrl/alt or mod:shift/ctrl/alt — Holding the given key
button:1/.../5/<virtual click> or btn:1/.../5/<virtual click> — Macro activated with the given mouse button
equipped:<item type> or worn:<item type> — item type is equipped (item type can be an inventory slot, item type (http://www.wowwiki.com/ItemType), or item subtype)
channeling:<spell name> — Channeling the given spell
actionbar:1/.../6 or bar:1/.../6 — Given action bar page is selected
pet:<pet name or type> — The given pet is out
combat — In combat
mounted — Self explanatory
swimming — Self explanatory
flying — Mounted or in flight form AND in the air
flyable — In a zone where flying is allowed
indoors — Self explanatory
outdoors — Self explanatory
party — Target is in your party
raid — Target is in your raid/party
group:party/raid — You are in the given type of group
There are a bunch of examples on that page that should give you a pretty good idea of how it all hangs together.
Nortibiry
12-26-2008, 09:59 AM
I'm curious if anyone who is more familiar with game scripting could educate me on something, or help me create a macro. I'm trying to figure out if such a macro could be made as to cast a fireball, IF it's instant cast, and if not, to cast fire blast(PvP). Same goes for a macro to cast pyroblast if it's instant and frostfire bolt if it isn't(PvE).
/cast fireball(rankwhatever)
/stopcasting
/cast fireblast(rankhurrdurr)
Is the best I've come up with, I assume the stopcasting will screw it up.
I think that will happen in this cast is the macro will try to cast fireball and then exit. IF fireball was a cooldown ability and not ready, it would fall through to stopcasting and maybe continue on to fireblast, but if the spell is available it just gets cast (and if it fails for other reasons like the target being behind you, the macro still ends).
CaptainBrownBone-Jiijii
12-30-2008, 09:08 AM
you're just gonna have to press the button twice and use two abilities where one goes on CD. you can script
the thing is, if there's a cast time greater than instant you may be screwed into interrupting yourself. (be prepared to see a lot of *that ability isn't ready yet* flashing on your screen :D
Wenge
12-31-2008, 09:55 AM
lazytank
Lazytank and Decursive were the primary motivating factors into why Blizzard redid how macros and mods work and what they can do during combat.
What you want is probably not doable, but the general form would be that you can /script your way into looking at the buffs you have and then casting. That being said I'm pretty sure you can't do it.
Kastus
01-02-2009, 05:08 AM
Less looking at buffs, more not allowing a cast bar to come up.
Wenge
01-02-2009, 08:34 AM
Wat?
vBulletin® v3.7.3, Copyright ©2000-2010, Jelsoft Enterprises Ltd.