From f0fab6b47cc892c185b8370208d7ee729fdaeae8 Mon Sep 17 00:00:00 2001 From: Ivy <50490687+Novivy@users.noreply.github.com> Date: Sat, 3 Aug 2024 16:14:36 +0200 Subject: [PATCH] Send Spell mods on player reconnect Closes https://github.com/cmangos/mangos-classic/pull/576 --- src/game/Entities/CharacterHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/Entities/CharacterHandler.cpp b/src/game/Entities/CharacterHandler.cpp index ceaa8eab0d..39eebedc7f 100644 --- a/src/game/Entities/CharacterHandler.cpp +++ b/src/game/Entities/CharacterHandler.cpp @@ -1032,6 +1032,8 @@ void WorldSession::HandlePlayerReconnect() _player->SendInitWorldStates(_player->GetZoneId()); _player->CastSpell(_player, 836, TRIGGERED_OLD_TRIGGERED); // LOGINEFFECT + _player->SendAllSpellMods(SPELLMOD_FLAT); + _player->SendAllSpellMods(SPELLMOD_PCT); _player->SendEnchantmentDurations(); // must be after add to map _player->SendItemDurations(); // must be after add to map