${Spell[970].MyRange} = 0.00

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

weapon
a ghoul
a ghoul
Posts: 101
Joined: Tue Oct 01, 2002 7:20 pm

${Spell[970].MyRange} = 0.00

Post by weapon » Mon Oct 29, 2007 7:36 pm

Levitation is returning 0.00 for .MyRange and .Range on my druid toon if class matters.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Mon Oct 29, 2007 7:41 pm

Wrong Levitation spell (there are three).

Code: Select all

${Spell[2894].MyRange}

Kroak
a grimling bloodguard
a grimling bloodguard
Posts: 1801
Joined: Thu Sep 15, 2005 4:10 am

Post by Kroak » Mon Oct 29, 2007 8:43 pm

Maybe use ${Me.Book[${Me.Book[Levitation]}].MyRange} to find the numbers you're looking for.

weapon
a ghoul
a ghoul
Posts: 101
Joined: Tue Oct 01, 2002 7:20 pm

Post by weapon » Mon Oct 29, 2007 9:05 pm

Thanks didn't know spell search could finds spells that dont belong to you first before spells that do.

User avatar
ieatacid
Developer
Developer
Posts: 2727
Joined: Wed Sep 03, 2003 7:44 pm

Post by ieatacid » Mon Oct 29, 2007 9:20 pm

If you're searching by name (${Spell[levitation]}) it returns the first spell that matches that name.