attilio76
Well-Known Member
- Joined
- May 26, 2010
- Messages
- 1,858
- Reaction score
- 34
Posted this problem under developer pages with no luky hope here someone can unswer:
I have problem with this two API:
example "Hand of Purity": a protection paladin talent.
if i do:
SpellManager.CanCast("Hand of Purity"); it return always false (same problem with Power Word: Solace priest talent)
if i do:
SpellManager.CanBuff(114039); it works well. (where 114039 is the corrispective spell ID)
Now if i want cast this spell:
SpellManager.Cast("Hand of Purity"); NO WORKS!
i have to cast:
SpellManager.CastSpellById(114039); WORKS!
HERE the startup logfile: spell correclty added to spellmanager:
I have problem with this two API:
example "Hand of Purity": a protection paladin talent.
if i do:
SpellManager.CanCast("Hand of Purity"); it return always false (same problem with Power Word: Solace priest talent)
if i do:
SpellManager.CanBuff(114039); it works well. (where 114039 is the corrispective spell ID)
Now if i want cast this spell:
SpellManager.Cast("Hand of Purity"); NO WORKS!
i have to cast:
SpellManager.CastSpellById(114039); WORKS!
HERE the startup logfile: spell correclty added to spellmanager: