471 {
473
474
477 for (PlayerSpellMap::const_iterator itr = spellMap.begin(); itr != spellMap.end(); ++itr)
478 {
481 {
484 {
488 else
490 }
491 else if (hasGlyph)
492 {
497 {
501 else
503 }
504 }
505 }
506 }
507 }
std::unordered_map< uint32, PlayerSpell * > PlayerSpellMap
Definition Player.h:194
@ SPELLFAMILY_ROGUE
Definition SharedDefines.h:3794
@ SPELLFAMILYFLAG_ROGUE_VAN_EVAS_SPRINT
Definition SpellMgr.h:58
@ SPELLFAMILYFLAG_ROGUE_KICK
Definition SpellMgr.h:60
@ SPELLFAMILYFLAG1_ROGUE_DISMANTLE
Definition SpellMgr.h:61
@ SPELLFAMILYFLAG1_ROGUE_COLDB_SHADOWSTEP
Definition SpellMgr.h:59
@ SPELLFAMILYFLAG_ROGUE_BLADE_FLURRY
Definition SpellMgr.h:62
@ SPELLFAMILYFLAG1_ROGUE_BLADE_FLURRY
Definition SpellMgr.h:63
#define sSpellMgr
Definition SpellMgr.h:836
Player * ToPlayer()
Definition Object.h:202
PlayerSpellMap const & GetSpellMap() const
Definition Player.h:1787
SpellCooldowns const & GetSpellCooldownMap() const
Definition Player.h:1790
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition Player.cpp:3513
Definition SpellInfo.h:340
flag96 SpellFamilyFlags
Definition SpellInfo.h:412
uint32 Id
Definition SpellInfo.h:344
uint32 SpellFamilyName
Definition SpellInfo.h:411
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:5982
@ SPELL_ROGUE_GLYPH_OF_PREPARATION
Definition spell_rogue.cpp:37