466 {
468
469
471 for (PlayerSpellMap::const_iterator itr = spellMap.begin(); itr != spellMap.end(); ++itr)
472 {
475 {
479 else
481 }
482 }
483 }
std::unordered_map< uint32, PlayerSpell * > PlayerSpellMap
Definition Player.h:193
@ SPELLFAMILY_MAGE
Definition SharedDefines.h:3531
@ SPELL_SCHOOL_MASK_FROST
Definition SharedDefines.h:301
#define sSpellMgr
Definition SpellMgr.h:825
Player * ToPlayer()
Definition Object.h:201
PlayerSpellMap const & GetSpellMap() const
Definition Player.h:1780
SpellCooldowns const & GetSpellCooldownMap() const
Definition Player.h:1783
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition Player.cpp:3543
Definition SpellInfo.h:316
uint32 Id
Definition SpellInfo.h:320
uint32 GetRecoveryTime() const
Definition SpellInfo.cpp:2396
SpellSchoolMask GetSchoolMask() const
Definition SpellInfo.cpp:1987
uint32 SpellFamilyName
Definition SpellInfo.h:387
Unit * GetCaster()
Definition SpellScript.cpp:401
@ SPELL_MAGE_COLD_SNAP
Definition spell_mage.cpp:40