Core/Objects: Implemented vignettes
Port From (https://github.com/TrinityCore/TrinityCore/commit/fccf6fb72b60b08dfbe6d5fb17fba55239944fca)
This commit is contained in:
@@ -4981,6 +4981,15 @@ namespace Game.Spells
|
||||
target.ToPlayer().SendOnCancelExpectedVehicleRideAura();
|
||||
}
|
||||
|
||||
[AuraEffectHandler(AuraType.SetVignette)]
|
||||
void HandleSetVignette(AuraApplication aurApp, AuraEffectHandleModes mode, bool apply)
|
||||
{
|
||||
if (!mode.HasAnyFlag(AuraEffectHandleModes.Real))
|
||||
return;
|
||||
|
||||
aurApp.GetTarget().SetVignette((uint)(apply ? GetMiscValue() : 0));
|
||||
}
|
||||
|
||||
[AuraEffectHandler(AuraType.PreventResurrection)]
|
||||
void HandlePreventResurrection(AuraApplication aurApp, AuraEffectHandleModes mode, bool apply)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user