Getting Weapon Base Damage from "Item" Data Type

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

Moderator: MacroQuest Developers

Raelin
decaying skeleton
decaying skeleton
Posts: 5
Joined: Sat Aug 06, 2011 1:16 pm

Getting Weapon Base Damage from "Item" Data Type

Post by Raelin » Tue Oct 29, 2013 8:01 pm

Is there a way to get a weapon's "Base Dmg" from the "Item" data type?

I can get the AC, HP, etc for example by getting the item on my cursor and using "${Cursor.HP} and so on. BUT ... the "Item" data type seems to be missing the "base damage" attribute.

Is there a better way to get this information about a weapon?

desgn
a lesser mummy
a lesser mummy
Posts: 30
Joined: Mon Mar 18, 2013 9:10 pm

Re: Getting Weapon Base Damage from "Item" Data Type

Post by desgn » Tue Oct 29, 2013 8:54 pm

${Cursor.Damage} works for me...

Maskoi

Re: Getting Weapon Base Damage from "Item" Data Type

Post by Maskoi » Tue Oct 29, 2013 9:30 pm

Try

Code: Select all

/echo ${FindItem[Dagger].Damage} 

Raelin
decaying skeleton
decaying skeleton
Posts: 5
Joined: Sat Aug 06, 2011 1:16 pm

Re: Getting Weapon Base Damage from "Item" Data Type

Post by Raelin » Tue Oct 29, 2013 10:40 pm

Strange ... neither ${Cursor.Damage} and ${FindItem[xx].Damage} both return a "Null" for me. Am I missing a plugin?

FrankJScott
naggy
naggy
Posts: 2382
Joined: Sun Feb 19, 2023 7:11 am

Great Product Tips

Post by FrankJScott » Fri Aug 18, 2023 6:43 pm

Why don't you Google it! before you post