diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-10-15 11:16:18 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-10-15 11:16:18 +0200 |
| commit | 0da653e9c131e78108e684a6567458ca8defe10e (patch) | |
| tree | aa068157cb0e1080ce0ad7785c32f08dff3f06f5 /src/server/scripts/Spells | |
| parent | f5fd972f0e2da6b6d6a5de67fb8842a4dbfd9ab6 (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.cpp | 2 |
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); } }; |
