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
#define sSpellMgr
Definition: SpellMgr.h:825
@ SPELL_MAGE_COLD_SNAP
Definition: spell_mage.cpp:40
@ SPELLFAMILY_MAGE
Definition: SharedDefines.h:3531
@ SPELL_SCHOOL_MASK_FROST
Definition: SharedDefines.h:301
Player * ToPlayer()
Definition: Object.h:198
Definition: Player.h:1064
PlayerSpellMap const & GetSpellMap() const
Definition: Player.h:1756
SpellCooldowns const & GetSpellCooldownMap() const
Definition: Player.h:1759
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition: Player.cpp:3503
Definition: SpellInfo.h:316
uint32 Id
Definition: SpellInfo.h:320
uint32 GetRecoveryTime() const
Definition: SpellInfo.cpp:2395
SpellSchoolMask GetSchoolMask() const
Definition: SpellInfo.cpp:1986
uint32 SpellFamilyName
Definition: SpellInfo.h:387
Unit * GetCaster()
Definition: SpellScript.cpp:401