View Single Post
04-24-18, 08:58 PM   #18
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Originally Posted by Vrul View Post
Does anyone know if you can /cast a spell with a spellID instead of a spellName with Beta?

Also, could anyone tell me if IsHarmfulSpell and IsHelpfulSpell take spellID again or still just spellName?
Looks like you still have to use SpellName to get access to that information at the moment. Just tested it.

What is interesting is that the following code block
Code:
    GameTooltip:AddLine(IsHarmfulSpell(spellName) or "Helpful",1.0,1.0,1.0)
    GameTooltip:AddLine(IsHelpfulSpell(spellName) or "Harmful",1.0,1.0,1.0)
Resulted in Helpful in all cases except for the spells I didn't know/have in my spellbook, or were party specific spells - AKA Portals. Those returned both settings.
__________________

Last edited by Xrystal : 04-24-18 at 09:01 PM.
  Reply With Quote