Disc check for Zerker Volley

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

Moderator: MacroQuest Developers

Banana
decaying skeleton
decaying skeleton
Posts: 3
Joined: Sun Jul 08, 2007 2:27 am

Disc check for Zerker Volley

Post by Banana » Sat Jul 14, 2007 7:27 pm

Greetings,

Ive been trying unsuccessfully to make a simple script that checks if a disc is available. From there it will be simple to have a toon use all sorts of discs, especially short reuse ones. In this case, im trying to get the Zerker discipline Destroyer's Volley to activate every 12 seconds.

I dont have any kind of programming backround, so ive asked around and played around with the ability check/execute script below:
/if (${Me.AbilityReady[Frenzy]} ) {
/doability "Frenzy"
/delay 5
}

to something like:

/if (${Me.discReady[Destroyer's Volley]} ) {
/disc Destroyer's Volley
/delay 5
}

Also ive tried manipulating the item timer check script, but to no avail:
/if (${FindItem[=Vengeful Taelosian Blood Axe].Timer.Time.Equal[0:00]}) {
/delay 2
/call Cast "Vengeful Taelosian Blood Axe" item
}
However, due to my ignorace of coding nuances, ive failed to get any disciple check script to work. Ive done searches for other popular quick reuse discs like the monk nuke, and the warrior bellow line, but it always seems like the code is very complex instead of the simple examples used above. Its quite possible that due to the fact that there are no available examples found on a simple (or intense) search, that there is no 'simple' disc check code, and id have to learn how all the more complicated disc check codes work.

Page started here: http://www.macroquest2.com/wiki/index.p ... eck_script

Either way, thank you for your time :)

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Sat Jul 14, 2007 8:06 pm

Code: Select all

${Me.CombatAbilityReady[Destroyer's Volley]}

Banana
decaying skeleton
decaying skeleton
Posts: 3
Joined: Sun Jul 08, 2007 2:27 am

Post by Banana » Sat Jul 14, 2007 8:46 pm

Many thanks, will give it a try =)

2xWhiskey
decaying skeleton
decaying skeleton
Posts: 6
Joined: Fri Jul 22, 2011 2:58 pm

Re: Disc check for Zerker Volley

Post by 2xWhiskey » Fri Feb 07, 2014 11:36 am

I'm posting this here because it seems very relevant to this topic. How can I add in a check that would prevent my discipline macro from spamming me out?

Imagine that I have this going:

Code: Select all

/if ${Me.CombatAbilityReady[Leopard Claw]} /disc Leopard Claw
It is working fine for me, but say I'm in a pinch and manually activate a defensive disciple. I'd like to prevent the macro from trying to activate Leopard Claw while the defensive discipline is going, thus prevent the spam, "You cannot do this blah blah."

I guess you could see my question as, what would the correct entry be to slip into that line;

Code: Select all

/if (${Me.CombatAbilityReady[Leopard Claw]} && !${CHECK IF ANY DISCIPLINE IS ACTIVE IN THE COMBATABILITYWND}) /disc Leopard Claw
Thanks in advance, I really appreciate your assistance and what MQ2 brings to the game for me.

PeteSampras
a snow griffon
a snow griffon
Posts: 322
Joined: Sat Dec 15, 2007 8:56 pm

Re: Disc check for Zerker Volley

Post by PeteSampras » Fri Feb 07, 2014 4:03 pm

!${Me.ActiveDisc.ID} will let you know if one is currently running.

xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 7:33 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 7:34 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 7:35 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 7:36 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 7:37 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 7:39 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 7:40 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 8:17 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 8:18 am


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Disc check for Zerker Volley

Post by xyilla » Sat Aug 16, 2025 8:19 am