Editing Hunter.mac a bit need some help

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

Moderator: MacroQuest Developers

SiliconeClone
a lesser mummy
a lesser mummy
Posts: 30
Joined: Fri Aug 20, 2004 3:47 pm

Editing Hunter.mac a bit need some help

Post by SiliconeClone » Mon Aug 23, 2004 1:22 am

found this in another .mac but when I use it, it keeps looping and trying to do unholy aura over and over

Code: Select all

   /if (${Target.Distance}<11) { 
      /keypress forward 
      /disc Unholy 
      /delay 2s 
      /doability Harmtouch 
   } 
I need to know how to make it moer like

/if (${Target.Distance}<11) &&(me.disc["unholy"])

I hope you get what i mean..
I want it to check that unholy is avail before it tries the routine

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

Post by Night Hawk » Mon Aug 23, 2004 2:40 am

I think there's some way you can check if a Discipline is ready use the ${Window} stuff and all, but I couldn't find anything doing a quick search.

Anyhow, basically you need to use a timer and after using the disc use something like

/varset usedUnholy 1

and then after the timer is up, set it back to 0. Then in the loop do a check

/if (!${usedUnholy}) /dicc Unholy

or something like that

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

Post by Night Hawk » Mon Aug 23, 2004 2:46 am

Ok if that confused you:

Code: Select all

/declare UnholyTimer timer outer 0s
and

Code: Select all

/if (${Target.Distance}<11) {
   /keypress forward
   /if (${UnholyTimer}==0) {
      /disc Unholy
      /varset UnholyTimer 200
   }
   /delay 2s
   /doability Harmtouch
}
Just change the ammount in:

Code: Select all

/varset UnholyTimer 200
to however long it takes to use the Disc again.

SiliconeClone
a lesser mummy
a lesser mummy
Posts: 30
Joined: Fri Aug 20, 2004 3:47 pm

Post by SiliconeClone » Mon Aug 23, 2004 3:29 am

thanks you are awesome.