490 {
492
493
495 for (PlayerSpellMap::const_iterator itr = spellMap.begin(); itr != spellMap.end(); ++itr)
496 {
499 {
503 else
505 }
506 }
507 }
std::unordered_map< uint32, PlayerSpell * > PlayerSpellMap
Definition Player.h:194
@ SPELLFAMILY_MAGE
Definition SharedDefines.h:3789
@ SPELL_SCHOOL_MASK_FROST
Definition SharedDefines.h:289
#define sSpellMgr
Definition SpellMgr.h:836
Player * ToPlayer()
Definition Object.h:202
PlayerSpellMap const & GetSpellMap() const
Definition Player.h:1787
SpellCooldowns const & GetSpellCooldownMap() const
Definition Player.h:1790
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition Player.cpp:3513
Definition SpellInfo.h:340
uint32 Id
Definition SpellInfo.h:344
uint32 GetRecoveryTime() const
Definition SpellInfo.cpp:2798
SpellSchoolMask GetSchoolMask() const
Definition SpellInfo.cpp:1894
uint32 SpellFamilyName
Definition SpellInfo.h:411
Unit * GetCaster()
Definition SpellScript.cpp:401
@ SPELL_MAGE_COLD_SNAP
Definition spell_mage.cpp:40