aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Spells
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2025-10-15 11:16:18 +0200
committerShauren <shauren.trinity@gmail.com>2025-10-15 11:16:18 +0200
commit0da653e9c131e78108e684a6567458ca8defe10e (patch)
treeaa068157cb0e1080ce0ad7785c32f08dff3f06f5 /src/server/scripts/Spells
parentf5fd972f0e2da6b6d6a5de67fb8842a4dbfd9ab6 (diff)
Scripts/Spells: Fix all effect hooks attached to SPELL_EFFECT_SUMMON broken after moving handling of that effect to launch phase
Diffstat (limited to 'src/server/scripts/Spells')
-rw-r--r--src/server/scripts/Spells/spell_generic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_generic.cpp b/src/server/scripts/Spells/spell_generic.cpp
index 70c17d516e3..41dc0a29793 100644
--- a/src/server/scripts/Spells/spell_generic.cpp
+++ b/src/server/scripts/Spells/spell_generic.cpp
@@ -4762,7 +4762,7 @@ class spell_summon_battle_pet : public SpellScript
void Register() override
{
- OnEffectHit += SpellEffectFn(spell_summon_battle_pet::HandleSummon, EFFECT_0, SPELL_EFFECT_SUMMON);
+ OnEffectLaunch += SpellEffectFn(spell_summon_battle_pet::HandleSummon, EFFECT_0, SPELL_EFFECT_SUMMON);
}
};