From ab76fd7d0f24606a72962971d5eeb6c6606ab280 Mon Sep 17 00:00:00 2001 From: Hondacrx Date: Wed, 20 Aug 2025 22:16:15 -0400 Subject: [PATCH] Scripts/Spells: Remove old hack from spell_gen_running_wild Port From (https://github.com/TrinityCore/TrinityCore/commit/534990b10289ae66ebb4029874179eb35160a069) --- Source/Scripts/Spells/Generic.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/Scripts/Spells/Generic.cs b/Source/Scripts/Spells/Generic.cs index 6731a3724..32e693bf6 100644 --- a/Source/Scripts/Spells/Generic.cs +++ b/Source/Scripts/Spells/Generic.cs @@ -2887,12 +2887,9 @@ namespace Scripts.Spells.Generic return ValidateSpellInfo(RunningWildMountIds.AlteredForm); } - public override bool Load() + public override void OnPrecast() { - // Definitely not a good thing, but currently the only way to do something at cast start - // Should be replaced as soon as possible with a new hook: BeforeCastStart GetCaster().CastSpell(GetCaster(), RunningWildMountIds.AlteredForm, TriggerCastFlags.FullMask); - return false; } public override void Register()