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:194
#define sSpellMgr
Definition: SpellMgr.h:818
@ SPELL_MAGE_COLD_SNAP
Definition: spell_mage.cpp:40
@ SPELLFAMILY_MAGE
Definition: SharedDefines.h:3503
@ SPELL_SCHOOL_MASK_FROST
Definition: SharedDefines.h:273
Player * ToPlayer()
Definition: Object.h:195
Definition: Player.h:1046
PlayerSpellMap const & GetSpellMap() const
Definition: Player.h:1726
SpellCooldowns const & GetSpellCooldownMap() const
Definition: Player.h:1729
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition: Player.cpp:3462
Definition: SpellInfo.h:314
uint32 Id
Definition: SpellInfo.h:318
uint32 GetRecoveryTime() const
Definition: SpellInfo.cpp:2379
SpellSchoolMask GetSchoolMask() const
Definition: SpellInfo.cpp:1972
uint32 SpellFamilyName
Definition: SpellInfo.h:385
Unit * GetCaster()
Definition: SpellScript.cpp:401