466 {
468
469
471 for (PlayerSpellMap::const_iterator itr = spellMap.begin(); itr != spellMap.end(); ++itr)
472 {
475 {
479 else
481 }
482 }
483 }
@ SPELL_MAGE_COLD_SNAP
Definition: spell_mage.cpp:40
@ SPELLFAMILY_MAGE
Definition: SharedDefines.h:3531
@ SPELL_SCHOOL_MASK_FROST
Definition: SharedDefines.h:301
#define sSpellMgr
Definition: SpellMgr.h:825
std::unordered_map< uint32, PlayerSpell * > PlayerSpellMap
Definition: Player.h:193
Player * ToPlayer()
Definition: Object.h:201
Definition: Player.h:1081
PlayerSpellMap const & GetSpellMap() const
Definition: Player.h:1776
SpellCooldowns const & GetSpellCooldownMap() const
Definition: Player.h:1779
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition: Player.cpp:3536
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