Core/Spell: fix target checks
Port From (https://github.com/TrinityCore/TrinityCore/commit/a2ea26816e19224484377697311f3de1f4cc8f55)
This commit is contained in:
@@ -711,10 +711,6 @@ namespace Game.Spells
|
||||
aurApp = unitTarget._CreateAuraApplication(spellAura, 1u << (int)effectInfo.EffectIndex);
|
||||
else
|
||||
aurApp.UpdateApplyEffectMask(aurApp.GetEffectsToApply() | 1u << (int)effectInfo.EffectIndex);
|
||||
|
||||
// apply effect on target (skip for reapply)
|
||||
if (!aurApp.HasEffect(effectInfo.EffectIndex))
|
||||
unitTarget._ApplyAuraEffect(spellAura, effectInfo.EffectIndex);
|
||||
}
|
||||
|
||||
[SpellEffectHandler(SpellEffectName.UnlearnSpecialization)]
|
||||
|
||||
Reference in New Issue
Block a user