451 {
453
454
457 for (PlayerSpellMap::const_iterator itr = spellMap.begin(); itr != spellMap.end(); ++itr)
458 {
461 {
464 {
468 else
470 }
471 else if (hasGlyph)
472 {
477 {
481 else
483 }
484 }
485 }
486 }
487 }
std::unordered_map< uint32, PlayerSpell * > PlayerSpellMap
Definition Player.h:194
@ SPELLFAMILY_ROGUE
Definition SharedDefines.h:3552
@ 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:202
PlayerSpellMap const & GetSpellMap() const
Definition Player.h:1781
SpellCooldowns const & GetSpellCooldownMap() const
Definition Player.h:1784
void RemoveSpellCooldown(uint32 spell_id, bool update=false)
Definition Player.cpp:3522
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:5754
@ SPELL_ROGUE_GLYPH_OF_PREPARATION
Definition spell_rogue.cpp:37