mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 04:37:04 +00:00
[7011] Add check Aura Spell req in Spell::CanCast
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
88208bc9a7
commit
1f4b00a848
6 changed files with 30 additions and 6 deletions
|
|
@ -1247,6 +1247,7 @@ class MANGOS_DLL_SPEC Unit : public WorldObject
|
|||
uint8 GetVisibleAurasCount() { return m_visibleAuras.size(); }
|
||||
|
||||
Aura* GetAura(uint32 spellId, uint32 effindex);
|
||||
bool isAuraPresent(uint32 spellId);
|
||||
AuraMap & GetAuras() { return m_Auras; }
|
||||
AuraMap const& GetAuras() const { return m_Auras; }
|
||||
AuraList const& GetAurasByType(AuraType type) const { return m_modAuras[type]; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue