A forum for macro code snippets to be used in writing other macros. Post routines or .inc files here only, completed macros go to the Macro Depot. MQ2Data format only!
Moderator: MacroQuest Developers
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Thu Nov 11, 2004 12:12 pm
For all of you that want to get slam to work, this works. No it is not "right", but that is because MQ isn't seeing the slam ability, and it is also not able to call slam by name.
This snippet works for my Ogre SK.
Updated 1/1/2005 for the new /doability 111 that you can call slam with.
Code: Select all
Sub Slam
/if (!${Me.AbilityReady["Bash"]}) /return
/if (!${Me.Combat}) /return
/if (${Me.Stunned}) /return
/if (!${Target.ID}) /return
/face fast nolook
/doability "111"
/return
Last edited by
fearless on Sat Jan 01, 2005 10:49 pm, edited 1 time in total.
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Thu Nov 11, 2004 12:39 pm
It works . . . it's how slam reports in the doability list.
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
A_Druid_00
- Macro Maker Extraordinaire
- Posts: 2378
- Joined: Tue Jul 13, 2004 12:45 pm
- Location: Rolling on the Lawn Farting
Post
by A_Druid_00 » Thu Nov 11, 2004 1:09 pm
He's correct. It's odd, true; but correct nonetheless.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]
-
Cr4zyb4rd
- Plugins Czar
- Posts: 1449
- Joined: Tue Jul 20, 2004 11:46 am
Post
by Cr4zyb4rd » Thu Nov 11, 2004 4:53 pm
I'm not sure abilityready bash will find anything on toons with no innate bash. Use the alt timer.
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Thu Nov 11, 2004 5:03 pm
Good point CB, let me rephrase. The above code works for me, an Ogre SK. I am assuming that if you are a race / class that can slam, you can bash.
I do know that ${Me.AbilityReady["Slam"]} does not work at all. There were one or two other things that I tried last night that weren't working, I will check again tonight to confirm.
EDIT: Spelling
Last edited by
fearless on Sat Dec 11, 2004 2:25 pm, edited 1 time in total.
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
peach
- a hill giant

- Posts: 156
- Joined: Fri Sep 10, 2004 8:20 pm
Post
by peach » Thu Nov 11, 2004 5:26 pm
${Me.AbilityReady["Regeneration"]} ?
[img]http://img23.exs.cx/img23/4702/search2.jpg[/img]
-
fearless
- Not a Psychic
- Posts: 2684
- Joined: Wed Mar 10, 2004 3:52 pm
Post
by fearless » Thu Nov 11, 2004 5:32 pm
Regeneration is not a button you can check, so that doesn't work. That is one of the things I tried last night.
The reason I use /doability regeneration is because regeneration is what slam reports itself as when you do a /doability list . . . /doability regeneration does produce the desired slam results.
Reading . . . it's not just for me.
[url=http://www.catb.org/~esr/faqs/smart-questions.html]How To Ask Questions The Smart Way[/url]
[quote="Ccomp5950"]Fearless showed me the light, you too shall learn.[/quote]
-
GD
- a snow griffon

- Posts: 353
- Joined: Sat Jun 29, 2002 11:57 pm
Post
by GD » Sun Nov 14, 2004 5:38 am
Yup, was trying to modify my RH macro to Slam when facestabbing instead of using chaotic stab when I had my barb illusion on, and came to the conclusion I had to use the Regeneration "ability" to get it to function.
No idea why it comes up as Regeneration, but it does.
BTW, for rogues, you can check if it's ready against the backstab timer, because BS is on the same timer as Slam.
Opinions are like assholes, everyone has one, but most of them stink.
-
Omiime
- a ghoul

- Posts: 92
- Joined: Tue Mar 30, 2004 9:53 pm
Post
by Omiime » Sun Nov 14, 2004 6:42 am
/if (${Me.AbilityReady[Bash]}) {
/doability bash
}
works for Troll War with shield(friend)
doesn't for Ogre War with shield (me)
My work around was to do this
/if (${Me.AbilityReady[Kick]}) {
/doability bash
}
-
Cr4zyb4rd
- Plugins Czar
- Posts: 1449
- Joined: Tue Jul 20, 2004 11:46 am
Post
by Cr4zyb4rd » Mon Nov 15, 2004 1:21 am
No idea why it comes up as Regeneration, but it does.
I've posted on this various places. I'll unlazy and fix it one day, if Ama or somebody doesn't beat me to it.