472 {
474
475
478 for (PlayerSpellMap::const_iterator itr = spellMap.begin(); itr != spellMap.end(); ++itr)
479 {
482 {
485 {
489 else
491 }
492 else if (hasGlyph)
493 {
498 {
502 else
504 }
505 }
506 }
507 }
508 }
std::unordered_map< uint32, PlayerSpell * > PlayerSpellMap
Definition Player.h:194
@ SPELLFAMILY_ROGUE
Definition SharedDefines.h:3792
@ 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:851
Player * ToPlayer()
Definition Object.h:208
PlayerSpellMap const & GetSpellMap() const
Definition Player.h:1800
SpellCooldowns const & GetSpellCooldownMap() const
Definition Player.h:1803
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition Player.cpp:3705
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:5798
@ SPELL_ROGUE_GLYPH_OF_PREPARATION
Definition spell_rogue.cpp:37