Warrior Attack Macro w/Auto kick and taunt.

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Kore
orc pawn
orc pawn
Posts: 13
Joined: Fri Jun 04, 2004 4:38 am

Warrior Attack Macro w/Auto kick and taunt.

Post by Kore » Mon Jun 14, 2004 2:54 pm

I've been playing a warrior for a long time now - and constantly bashing the taunt and kick button is starting to annoy me and instill a fear of carpal tunnel syndrom and arthritus.

Basically want I want is a macro that when i activate it, it works just like the normal autoattack, except that it hits taunt and kick once or twice a second - it must also have the ability to successfully turn off when the mob is dead or when i hit the same button a second time - its going to be a hot key.

Anyway, this was my unsuccessful crack at it:

Code: Select all

Sub Main
   /attack on
   /Goto :loop 
   :loop
       /delay 1s
       /Doability Taunt
       /Doability Kick
       /if <Keypress 1> {
       /attack off   
       /macro stop
                
       }
       /if (!${Target.ID}) { 
         /attack off
         /return
       } else { 
         /goto :loop 
       } 
       /return
/return
Any and all help is most appreciated! Thanks again guys.[/code]

Drumstix42
a grimling bloodguard
a grimling bloodguard
Posts: 808
Joined: Mon May 03, 2004 4:25 pm

Post by Drumstix42 » Mon Jun 14, 2004 3:00 pm

Well just the other day I posted my simple fight melee that constantly kicks while Attack is on, and won't when attack is off, ect.

Check here:

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

Works well for me, and can easily be added to (I'm proud of my simple work).

If ya need any help modifying it say so, and how.

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Tue Jun 15, 2004 5:20 am

a very quick and simple auto fight for warrior (untested as im at work)

Code: Select all

sub main
 :main
   /if (${Me.Combat}) /goto :mob
   /delay 1s
   /goto :main
 :mob
   /if (${Target.ID}) {
   /echo Attacking ${Target.CleanName}
   /echo ${Target.CleanName} is a level ${Target.Level} ${Target.Class} That Cons ${Target.ConColor}
   /goto :combat
   }   
   /goto :main
:combat
   /if (${Target.ID}==${Me.ID}) /attack off
   /if (!${Me.Combat}) /goto :main
   /if (${Me.AbilityReady[Kick]}) /doability "Kick"
   /if (${Me.AbilityReady[Taunt]}) /doability "Taunt"
   /if (${Me.AbilityReady[Disarm]}) /doability "Disarm"
   /if (${Me.AbilityReady[begging]}) {
   /attack off
   /face fast nolook
   /delay 1
   /doability "begging"
   /if (!${Target.ID}) /goto :main
   /attack on
   }
   /if (${Target.ID}) /goto :combat
   /goto :main
   /return
it should run all the time, wait for you to target mob and hit attack then auto Taunt, Disarm, Beg and Kick. if you dont want it to do any of the items just dont have them in your ACTIONS icons or delete the line from the code.
I will test it quickly when i get home just to make sure all is ok.
[quote]"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."[/quote]