multi stance macro
Hi,
This is the macro im using #showtooltip /startattack /cast [stealth] Ravage /cast [form:1] Maul /cast [form:3] Claw /cast [@mouseover,exists,nodead][] Regrowth problem is when im spamming that macro in druid form it starts to cast regrowth... if i spam it in any other form it works just as expected ... what is so special about druid form? if i remove [] it doesnt break bear form and casts maul... but that is not required for claw... claw/rake works just fine with [] in last line |
From Memory - it's been a while since I played with macros and druids
/cast [stealth] Ravage -- Will only cast if you are in cat stealth form /cast [form:1] Maul -- Will only cast if you are in bear form ? /cast [form:3] Claw -- Will only cast if you are in cat form /cast [@mouseover,exists,nodead][] Regrowth -- Will cast if you are mousinv over a living existing person that you can heal -- And will possibly switch you out of any form you might be in that doesn't allow you to cast regrowth |
/cast [@mouseover,exists,nodead][] Regrowth
in English says: "Cast Regrowth if mouseover is not dead" (nothing about friend or foe) and the [] says "or unconditionally". So this macro will always fallback to casting regrowth. |
That is all true what you both are saying.. but...
When i spam that macro in stealth it tries to cast Ravage (getting errors if no target/energy) When i spam that macro in cat form it tries to cast Claw (getting errors if no target/energy) When i spam that macro in human form it casts regrowth as per conditions When i spam that macro in bear form it casts regrowth Hence my question... it only fallbacks in bear form (out of mentioned forms in macro) |
What version of WoW are you playing? Form IDs are different between classic and retail.
On retail, bear is 1 and cat is 2; travel is 3. On anything older than Warlords, cat is 3 and aquatic is 2. If you expect the macro to only cast one spell, you should put the spells on one line, otherwise the game is attempting each line every time. You should also use help instead of exists to avoid attempting to cast on enemies. /cast [stealth] Ravage; [form:1] Maul; [form:2/3] Claw; [@mouseover,help,nodead][] Regrowth |
Okay, jumped on my druid to test things out - Noticed there are no Claw or Ravage abilities in Retail, so changed to Rake for Stealth and Mangle for non Stealth alternatives.
I took out the /StartAttack line as it skewed my tests with extra messages. Alternative Macro Lua Code:
Spec: Feral Cat in Stealth: Rake Icon - Nothing to Attack Message Cat in Non Stealth : Shred Icon - Nothing to Attack Message Bear : Mangle Icon - Nothing to Attack Message Travel and Caster : Changes to Regrowth Icon and casts spell Spec: Guardian Cat in Stealth: No Icon - Doest Nothing Cat in Non Stealth : Shred Icon - Nothing to Attack Message Bear : Mangle Icon - Nothing to Attack Message Travel and Caster : Regrowth Icon - Casts Regrowth in Caster Form Spec: Restoration Cat in Stealth: No Icon - Does nothing Cat in Non Stealth : Shred Icon - Nothing to Attack Message Bear : Mangle Icon - Nothing to Attack Message Travel and Caster : Regrowth Icon - Casts Regrowth in Caster Form Moonkin : Regrowth Icon - Casts Regrowth in Moonkin Form Results: If the ability isn't available it does nothing If the ability is available it will try to use it Suggestion: Maybe put the Regrowth cast on a separate line for a fallback if no skills are available And add additional checks for harm/exists etc so that it will fall through if those tests fail And as Kanegasi points out, version matters, so adjust accordingly |
Yes.. thank you... i forgot to mention im on 3.4.0.. wotlk...
Anyhow one liner is a way to go.. thank you for pointing that out.. And thank you all for help. Cheers |
All times are GMT -6. The time now is 11:44 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI