Shield check?

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

Moderator: MacroQuest Developers

User avatar
Kambic
a lesser mummy
a lesser mummy
Posts: 74
Joined: Fri May 28, 2004 11:48 am

Shield check?

Post by Kambic » Mon Aug 23, 2004 10:46 am

Is there a way to check to see if you have a shield equipped in your offhand? I've tried a few different ways to get this done but basically I can't find a way to actually check the offhand item to see if it is a shield or not (maybe not possible?).

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Mon Aug 23, 2004 11:25 am

Stright from my pallys fighting macro

Code: Select all

   /if ((${Target.Distance}<11)&&(${String[${InvSlot[offhand].Item.Type}].Equal["Shield"]})&&(${Me.AbilityReady["Bash"]})) /doability "Bash" 
Fippy

This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]

User avatar
Kambic
a lesser mummy
a lesser mummy
Posts: 74
Joined: Fri May 28, 2004 11:48 am

Post by Kambic » Mon Aug 23, 2004 11:51 am

Thank you :)

All search was pulling up for me was shielding and spellsheild type stuff =/