450 {
452
453
456 for (PlayerSpellMap::const_iterator itr = spellMap.begin(); itr != spellMap.end(); ++itr)
457 {
460 {
463 {
467 else
469 }
470 else if (hasGlyph)
471 {
476 {
480 else
482 }
483 }
484 }
485 }
486 }
std::unordered_map< uint32, PlayerSpell * > PlayerSpellMap
Definition Player.h:193
@ SPELLFAMILY_ROGUE
Definition SharedDefines.h:3536
@ SPELLFAMILYFLAG_ROGUE_VAN_EVAS_SPRINT
Definition SpellMgr.h:55
@ SPELLFAMILYFLAG_ROGUE_KICK
Definition SpellMgr.h:57
@ SPELLFAMILYFLAG1_ROGUE_DISMANTLE
Definition SpellMgr.h:58
@ SPELLFAMILYFLAG1_ROGUE_COLDB_SHADOWSTEP
Definition SpellMgr.h:56
@ SPELLFAMILYFLAG_ROGUE_BLADE_FLURRY
Definition SpellMgr.h:59
@ SPELLFAMILYFLAG1_ROGUE_BLADE_FLURRY
Definition SpellMgr.h:60
#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
flag96 SpellFamilyFlags
Definition SpellInfo.h:388
uint32 Id
Definition SpellInfo.h:320
uint32 SpellFamilyName
Definition SpellInfo.h:387
Unit * GetCaster()
Definition SpellScript.cpp:401
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition Unit.cpp:5753
@ SPELL_ROGUE_GLYPH_OF_PREPARATION
Definition spell_rogue.cpp:36