Kick and Taunt

Have a macro idea but not sure where to start? Ask here.

Moderator: MacroQuest Developers

Steelhammer
orc pawn
orc pawn
Posts: 21
Joined: Thu Oct 07, 2004 10:57 am

Kick and Taunt

Post by Steelhammer » Thu Oct 07, 2004 11:32 am

Can somebody make a Kick and Taunt macro? I hate constantly pushing the buttons to make my warrior kick and taunt, so i would like one to press the buttons for me. so everytime the button pops it will be pressed.

User avatar
peach
a hill giant
a hill giant
Posts: 156
Joined: Fri Sep 10, 2004 8:20 pm

Post by peach » Thu Oct 07, 2004 3:00 pm

http://www.macroquest2.com/phpBB2/viewtopic.php?t=6816

i'm sure you can edit that to work for taunt & kick
[img]http://img23.exs.cx/img23/4702/search2.jpg[/img]

Steelhammer
orc pawn
orc pawn
Posts: 21
Joined: Thu Oct 07, 2004 10:57 am

Post by Steelhammer » Thu Oct 07, 2004 3:28 pm

Hehe, i cant edit stuff, Havent learned yet

User avatar
peach
a hill giant
a hill giant
Posts: 156
Joined: Fri Sep 10, 2004 8:20 pm

Post by peach » Thu Oct 07, 2004 3:51 pm

this might work, try it and let me know

Code: Select all

Sub Main

| Kicks and Taunts whenever the skill pops up
| Shamelessly stolen from the yafm foraging mac

Sub DoKick

| Verify that we have the ability to kick. 
   /if (${Me.Skill[Kick]}==0) { 
      /echo You cannot kick, silly person! 
      /goto :Exit 
   } 

   :Kick

   | Makes sure you are in combat. 
   /if (!${Me.Combat}) { 
      /attack 
      /delay 5 
   } 

   /delay 1s 

   | If we can kick then do so. 
   /if (${Me.AbilityReady[Kick]}) { 
      /doability kick 
   } 

   | If we successfully kicked then move to Taunt. 
   /if (!${Me.AbilityReady[Kick]}) { 
      /call DoTaunt
   } 

   /goto :Kick

:Exit
/return


Sub DoTaunt

| Verify that we have the ability to taunt. 
   /if (${Me.Skill[Taunt]}==0) { 
      /echo You cannot taunt, silly person! 
      /goto :Exit 
   } 

   :Taunt

   | Makes sure you are in combat. 
   /if (!${Me.Combat}) { 
      /attack 
      /delay 5 
   } 

   /delay 1s 

   | If we can taunt then do so. 
   /if (${Me.AbilityReady[Taunt]}) { 
      /doability taunt
   } 

   | If we successfully taunted then return. 
   /if (!${Me.AbilityReady[Taunt]}) { 
      /return
   } 

   /goto :Kick

:Exit
/return
[img]http://img23.exs.cx/img23/4702/search2.jpg[/img]

Lum
a lesser mummy
a lesser mummy
Posts: 68
Joined: Thu Sep 16, 2004 10:12 am

Post by Lum » Thu Oct 07, 2004 4:05 pm

Hehe, i cant edit stuff, Havent learned yet
While editing names in a macro for skills isnt hard, it would be easier with this one :P ........

Code: Select all

sub main
:start
/if (${Me.Combat}==1) {
  /call Fight
}
/goto :start
/return

sub Fight
/delay 1s
/if (${Me.AbilityReady[Kick]}) {
  /doability Kick
}
/delay 5
/if (${me.AbilityReady[Taunt]}) {
  /doability taunt
}
/return
Ever 1.5 seconds it will attempt to kick and taunt if attack is on. Just turn it on and whenever you hit attack itll start trying :P

If you decide you wanna add new skills, its not hard, just mimic the pattern. A skill has to be in your ability list (the little buttons on the actions window) as a hotkey to work.

example if you wanted to add disarm you would add this at the bottom just before /return, after the } thats by itself

Code: Select all

/delay 5
/if (${me.AbilityReady[Disarm]}) {
  /doability Disarm
}
Really this can be edited to do any skill repeatedly in combat for any class, just add the appropriate skills, since itll just ignore em if you dont have the skill (because then it cant be ready :P)

User avatar
Night Hawk
a grimling bloodguard
a grimling bloodguard
Posts: 590
Joined: Fri Aug 13, 2004 4:56 pm

Post by Night Hawk » Thu Oct 07, 2004 4:25 pm

uber macros

Code: Select all

Sub Main
   :Loop
    /if (${Me.Combat}&&${Me.AbilityReady["Kick"]}&&!${Me.Casting.ID}&&${Target.ID}&&!${Me.Stunned}) /doability "Kick"
    /if (${Me.Combat}&&${Me.AbilityReady["Taunt"]}&&!${Me.Casting.ID}&&${Target.ID}&&!${Me.Stunned}) /doability "Taunt"
   /goto :Loop
/return

Chill
Contributing Member
Contributing Member
Posts: 435
Joined: Fri May 07, 2004 5:06 pm
Location: Erie, PA

Post by Chill » Fri Oct 15, 2004 3:05 pm

Steelhammer:

While this can be done with a macro, I personally would suggest you donate a couple bucks to the devs if you havent already (you know they deserve it) and go get MQ2Combat from the VIP Plugin section. It does this very smoothly and will not interfere with any other macros you may want to run during combat.

Among other things, this plugin will: do up to 10 special attacks whenever they are ready (like say taunt, kick/bash, and disarm), stick to your mob at a set distance (like say 70% of its max melee range), turn off attack when your mob enrages, and accept group invites for you. You dont have to use all the features, but I like most of them.

You need MQ2MoveUtils to use the stick feature, but that is also easy enough to download and install. If you dont know how to set up plugins, do a search and you should find a most helpful post walking you through it.

Good luck.

Welkin
orc pawn
orc pawn
Posts: 18
Joined: Thu Nov 27, 2003 7:49 pm

Post by Welkin » Sun Oct 17, 2004 11:17 pm

I find it amusing that not only are you unable to edit the simplest of macros, but you are also obviously completely shit at playing a warrior.

Gofuk

Sunkist
orc pawn
orc pawn
Posts: 16
Joined: Thu Sep 09, 2004 10:31 am

Post by Sunkist » Mon Oct 18, 2004 12:06 pm

You're amused that someone with zero macro code knowledge is unable to edit it, and you felt the need to share it with all of us. What a cockbite.

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 » Mon Oct 18, 2004 12:07 pm

http://www.macroquest2.com/phpBB2/viewtopic.php?t=9079

/autoskills kick
/autoskills taunt

It even uses HoTT to decide whether or not to taunt if you happen to lose aggro. Not to mention it handles Enrage, and pretty much anything else you could ask for. Thanks to Autoskills I have max Begging!
[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]

Steelhammer
orc pawn
orc pawn
Posts: 21
Joined: Thu Oct 07, 2004 10:57 am

Post by Steelhammer » Wed Oct 20, 2004 10:56 am

Thank you all, it really helped me out, glad i wasnt "Flamed", and i think i might donate something to the devs.

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Post by fearless » Wed Oct 20, 2004 11:09 am

wtf we didn't flame Steelhammer this time? GDI!
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]

Steelhammer
orc pawn
orc pawn
Posts: 21
Joined: Thu Oct 07, 2004 10:57 am

Post by Steelhammer » Wed Oct 20, 2004 11:30 am

wtf we didn't flame Steelhammer this time? GDI!
LMAO, nope you sure didnt Fearless

Steelhammer
orc pawn
orc pawn
Posts: 21
Joined: Thu Oct 07, 2004 10:57 am

Post by Steelhammer » Wed Oct 20, 2004 11:57 am

I find it amusing that not only are you unable to edit the simplest of macros, but you are also obviously completely shit at playing a warrior.

well as for you..... your a fucking prick, i dont give a fuck if i get banned for this, all i asked was for some help. and then you say, that shit? your fucking gay.......

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 » Wed Oct 20, 2004 12:08 pm

Actually, you didn't ask for help, you asked for someone to make a macro for you. A macro that has been done in about 500 different flavors in the Macro Depot I might add, not to mention the plugin I pointed you to.

If you were asking for help, you would have been posting in the wrong forum anyway, as this is the forum for macro requests. :P
[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]