Page 1 of 1

Warrior Attack Macro w/Auto kick and taunt.

Posted: Mon Jun 14, 2004 2:54 pm
by Kore
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]

Posted: Mon Jun 14, 2004 3:00 pm
by Drumstix42
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.

Posted: Tue Jun 15, 2004 5:20 am
by Fuergrissa
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.