Thread Tools Display Modes
03-21-15, 01:10 PM   #1
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Apr 2013
Posts: 203
Same spell, different ID?

I've had a user complain that my add-on has the wrong spell ID for the Guard (the monk ability) and Resolve (the tank thingy) buff. According to him the add-on doesn't work correctly, but it's fine after he changes these numbers in my code.
That's all good and fine, except that the add-on definitely works as intended for me, showing both buffs correctly.
Is it possible that these buffs use different spell IDs on horde/ alliance? Or is there perhaps another perfectly logical explanation for this?
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
  Reply With Quote
03-21-15, 02:06 PM   #2
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Things like this could change a spells id to a different one:

http://www.wowhead.com/item=85691/glyph-of-guard
  Reply With Quote
03-21-15, 04:20 PM   #3
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
Originally Posted by Malsomnus View Post
Is it possible that these buffs use different spell IDs on horde/ alliance?
Unlikely, but yes there should be a number of other explanations.
__________________
Grab your sword and fight the Horde!
  Reply With Quote
03-21-15, 04:32 PM   #4
Malsomnus
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Apr 2013
Posts: 203
Originally Posted by Resike View Post
Things like this could change a spells id to a different one:

http://www.wowhead.com/item=85691/glyph-of-guard
Ooh, damn... that's probably that.
But what could possibly change Resolve though?
__________________
SanityCheck - If you've ever said the words "Sorry, I forgot" then you need this add-on.

Remember, every time you post a comment on an add-on, a kitten gets its wings!
  Reply With Quote
03-21-15, 06:44 PM   #5
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Malsomnus View Post
Ooh, damn... that's probably that.
But what could possibly change Resolve though?
I'm not really sure, but it's possible that Resolve's spell id is class dependent in some cases.

But as you can see in the changelog Resolve is recently changed so it might got a new spell id now:

http://www.wowhead.com/spell=158298/resolve#changelog

Last edited by Resike : 03-21-15 at 06:46 PM.
  Reply With Quote
03-21-15, 07:20 PM   #6
Banknorris
A Chromatic Dragonspawn
 
Banknorris's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 153
158298
158300
both are Resolve
I think the buff is the later
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Same spell, different ID?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off