Reply
 
Thread Tools Display Modes
Old 05-24-09, 07:32 PM   #1
Nid
A Kobold Labourer
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 1
[Bug] Faerie Fire (Feral) and GetSpellCooldown()

Spellid: 16857

Code:
name = GetSpellInfo(16857);
start, duration, enabled = GetSpellCooldown(name);
always returns(even if Faerie Fire(Feral) is on CD):
start = nil
duration = nil
enabled = nil (think - not tested)

but start and duration are the important ones since it will never return enabled with another value than nil

dunno if this has to do with GetSpellInfo returns a wrong name

Last edited by Nid : 05-24-09 at 07:34 PM. Reason: typos
Nid is offline   Reply With Quote
Old 05-24-09, 07:48 PM   #2
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,013
I think I read somewhere that its the wrong spellID or something like that. Just can't remember where I read it.
__________________
Xrystal is offline   Reply With Quote
Old 05-28-09, 05:05 PM   #3
Oakayam
Premium Member
 
Oakayam's Avatar
Premium Member
Join Date: Apr 2007
Posts: 40
I did some digging and found this:

# [API BUG] GetSpellInfo() + Faerie Fire Feral


I am somewhat clueless what the green poster is talking about. Faerie Fire (Feral) no longer has ranks but according to wowhead it does have a new spellID. All i am getting is that parentheses cause the GetSpellInfo() to bug out and API functions like GetSpellCooldown(), GetSpellTexture() that use it are in consequence not working.
__________________

Last edited by Oakayam : 05-28-09 at 05:07 PM.
Oakayam is offline   Reply With Quote
Old 05-28-09, 11:19 PM   #4
Xrystal
nUI User and Supporter
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,013
Ah .. I think I know what he is saying.

It used to be that you would get Feral Fire as the name output and then Rank as a separate output but if it no longer exists they are saying you simply append () to tell it to grab the spell in its entirety. So, in essence you are changing Feral Fire to Feral Fire() ..

That's what I am understanding out of it anyway. I don't recall hitting this problem before but maybe its recent and after I switched out of feral on my druid.
__________________
Xrystal is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Wish List » [Bug] Faerie Fire (Feral) and GetSpellCooldown()

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