Core/Auras: Send aura update to client when aura amount changes and aura has SPELL_ATTR8_AURA_SEND_AMOUNT

This commit is contained in:
Shauren
2016-06-01 23:08:30 +02:00
parent a6731f9a97
commit 3ccb1e665f

View File

@@ -851,6 +851,9 @@ void AuraEffect::ChangeAmount(int32 newAmount, bool mark, bool onStackOrReapply)
for (std::list<AuraApplication*>::const_iterator apptItr = effectApplications.begin(); apptItr != effectApplications.end(); ++apptItr)
if ((*apptItr)->HasEffect(GetEffIndex()))
HandleEffect(*apptItr, handleMask, true);
if (GetSpellInfo()->HasAttribute(SPELL_ATTR8_AURA_SEND_AMOUNT))
GetBase()->SetNeedClientUpdateForTargets();
}
void AuraEffect::HandleEffect(AuraApplication * aurApp, uint8 mode, bool apply)