496 {
498
499
501 for (PlayerSpellMap::const_iterator itr = spellMap.begin(); itr != spellMap.end(); ++itr)
502 {
505 {
509 else
511 }
512 }
513 }
std::unordered_map< uint32, PlayerSpell * > PlayerSpellMap
Definition Player.h:194
@ SPELLFAMILY_MAGE
Definition SharedDefines.h:3787
@ SPELL_SCHOOL_MASK_FROST
Definition SharedDefines.h:289
#define sSpellMgr
Definition SpellMgr.h:851
Player * ToPlayer()
Definition Object.h:208
PlayerSpellMap const & GetSpellMap() const
Definition Player.h:1800
SpellCooldowns const & GetSpellCooldownMap() const
Definition Player.h:1803
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition Player.cpp:3705
Definition SpellInfo.h:340
uint32 Id
Definition SpellInfo.h:344
uint32 GetRecoveryTime() const
Definition SpellInfo.cpp:2838
SpellSchoolMask GetSchoolMask() const
Definition SpellInfo.cpp:1935
uint32 SpellFamilyName
Definition SpellInfo.h:411
Unit * GetCaster()
Definition SpellScript.cpp:401
@ SPELL_MAGE_COLD_SNAP
Definition spell_mage.cpp:40