Simple Auto Bash/Disarm/Taunt Macro

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

MyEmQueTwo
orc pawn
orc pawn
Posts: 14
Joined: Mon Jul 13, 2015 7:15 pm

Simple Auto Bash/Disarm/Taunt Macro

Post by MyEmQueTwo » Thu Jul 23, 2015 9:06 pm

Hello,

I made this while learning and received help from people on these forums so I wanted to post this for maybe others who might be learning/want something simple.

This macro uses the MoveUtils plugin to move to into range of your target.


The macro will auto bash/disarm/and taunt if your target does not have you as their ToT. It will also chase the mob if it's running to someone else or fleeing, etc.

Anyway, enjoy this simplistic macro.

Code: Select all

|AutoTank.mac
|Author: EmQueTwo
|Macro uses commands from MQ2MoveUtils plugin. If you don't have or don't
|want to use MoveUtils edit out Event_TooFar
 
#turbo
#event CantSee  "#*#You cannot see your target#*#"
#event TooFar   "#*#Your target is too far away#*#"
 
Sub Main
 
:melee
 
 
/if (${Me.Combat}) {
        /doevents
        /if (!${Me.Stunned}) {
                /if (${Target.Distance}<15) {
                        /if (${Me.AbilityReady[Bash]}) /doability Bash
                        /if (${Me.AbilityReady[Disarm]}) /doability Disarm
                        /if (${Me.TargetOfTarget.ID}!=${Me.ID} && ${Me.AbilityReady[Taunt]}) /doability Taunt
                        }
                }
        }      
}
       
/goto :melee
 
 
/return
 
Sub Event_CantSee
 
/face fast
 
/return
 
Sub Event_TooFar
 
/moveto id
 
/return
As I said I am learning so tips are greatly appreciated =) If there is a drastically more efficient way of doing something feel free to tell me so I can learn it!

User avatar
warlock45
a grimling bloodguard
a grimling bloodguard
Posts: 881
Joined: Sat Oct 06, 2007 8:32 pm

Re: Simple Auto Bash/Disarm/Taunt Macro

Post by warlock45 » Thu Jul 23, 2015 9:46 pm

not sure about drastic but, just thought to mention that you may want to check out the MQ2Melee plugin in VIP section.