Core/Auras: Fixed sending amounts for effects that need it, aren't first and don't have SPELL_ATTR8_AURA_POINTS_ON_CLIENT

Port From (https://github.com/TrinityCore/TrinityCore/commit/0a1b81043eaae0e0feba2b693e1f004ac4791c30)
This commit is contained in:
Hondacrx
2025-06-02 16:05:19 -04:00
parent bfbf96ac25
commit c496da9da0
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -684,7 +684,7 @@ namespace Game.Spells
if (aurApp == null)
aurApp = unitTarget._CreateAuraApplication(spellAura, 1u << (int)effectInfo.EffectIndex);
else
aurApp.UpdateApplyEffectMask(aurApp.GetEffectsToApply() | 1u << (int)effectInfo.EffectIndex, false);
aurApp.AddEffectToApplyEffectMask(effectInfo.EffectIndex);
}
[SpellEffectHandler(SpellEffectName.UnlearnSpecialization)]