Core/Spells: Implemented SPELL_EFFECT_UPDATE_INTERACTIONS
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad06dcaaec6b55e3c2e6ae8214a44074f343c8ca)
This commit is contained in:
@@ -5909,6 +5909,19 @@ namespace Game.Spells
|
||||
|
||||
unitTarget.ToPlayer()?.RepopAtGraveyard();
|
||||
}
|
||||
|
||||
[SpellEffectHandler(SpellEffectName.UpdateInteractions)]
|
||||
void EffectUpdateInteractions()
|
||||
{
|
||||
if (effectHandleMode != SpellEffectHandleMode.HitTarget)
|
||||
return;
|
||||
|
||||
Player target = unitTarget?.ToPlayer();
|
||||
if (target == null)
|
||||
return;
|
||||
|
||||
target.UpdateVisibleObjectInteractions(true, false, true, true);
|
||||
}
|
||||
}
|
||||
|
||||
public class DispelableAura
|
||||
|
||||
Reference in New Issue
Block a user