Nightskine
Member
- Joined
- Oct 30, 2010
- Messages
- 150
- Reaction score
- 1
Quick question to CC devs...
What does SpellManager.CanCast(spellname) check for?
Does it look for cooldowns, if we have the spell, if we're in correct stance/spec to cast, position(behind target if required), range, enough rage/mana to cast .... etc?
I'm asking cause I want to make a casting wrap to cast spells by entering names alone - so is CanCast enough to check for cooldowns and stuff
or is
!SpellManager.Spells[spellName].Cooldown required as well to check for cooldowns before casting a spell.
What does SpellManager.CanCast(spellname) check for?
Does it look for cooldowns, if we have the spell, if we're in correct stance/spec to cast, position(behind target if required), range, enough rage/mana to cast .... etc?
I'm asking cause I want to make a casting wrap to cast spells by entering names alone - so is CanCast enough to check for cooldowns and stuff
or is
!SpellManager.Spells[spellName].Cooldown required as well to check for cooldowns before casting a spell.
Last edited: