fix(Core/Spell): Make use of SPELL_ATTR6_DONT_CONSUME_PROC_CHARGES (#5004)
This commit is contained in:
parent
fb49b9710e
commit
88ddc24464
1 changed files with 1 additions and 1 deletions
|
|
@ -2075,7 +2075,7 @@ void Aura::PrepareProcToTrigger(AuraApplication* aurApp, ProcEventInfo& eventInf
|
|||
return;
|
||||
|
||||
// take one charge, aura expiration will be handled in Aura::TriggerProcOnEvent (if needed)
|
||||
if (IsUsingCharges())
|
||||
if (IsUsingCharges() && (!eventInfo.GetSpellInfo() || !eventInfo.GetSpellInfo()->HasAttribute(SPELL_ATTR6_DONT_CONSUME_PROC_CHARGES)))
|
||||
{
|
||||
--m_procCharges;
|
||||
SetNeedClientUpdateForTargets();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue