*Creature eventAI cancast power check - by smellbee.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-07-23 18:32:32 +02:00
parent 21ffe5f70a
commit 4a17224a65
5 changed files with 70 additions and 72 deletions
+2
View File
@@ -240,6 +240,8 @@ bool IsSingleFromSpellSpecificPerTarget(uint32 spellSpec1, uint32 spellSpec2);
bool IsPassiveSpell(uint32 spellId);
bool IsAutocastableSpell(uint32 spellId);
uint32 CalculatePowerCost(SpellEntry const * spellInfo, Unit const * caster, SpellSchoolMask schoolMask);
inline bool IsPassiveSpellStackableWithRanks(SpellEntry const* spellProto)
{
if(!IsPassiveSpell(spellProto->Id))