mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[c12545] Force SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS and SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_2 to use visible slots
This commit is contained in:
parent
41a410968c
commit
6b58a8674d
2 changed files with 5 additions and 1 deletions
|
|
@ -9335,6 +9335,10 @@ bool SpellAuraHolder::IsNeedVisibleSlot(Unit const* caster) const
|
|||
return true;
|
||||
else if (IsSpellHaveAura(m_spellProto, SPELL_AURA_ALLOW_CAST_WHILE_MOVING))
|
||||
return true;
|
||||
else if (IsSpellHaveAura(SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS))
|
||||
return true;
|
||||
else if (IsSpellHaveAura(SPELL_AURA_OVERRIDE_ACTIONBAR_SPELLS_2))
|
||||
return true;
|
||||
|
||||
// passive auras (except totem auras) do not get placed in the slots
|
||||
return !m_isPassive || totemAura || HasAreaAuraEffect(m_spellProto);
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "12544"
|
||||
#define REVISION_NR "12545"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue