From 65d453356884a4a627e3769ab02d84bf358717e2 Mon Sep 17 00:00:00 2001 From: Clayton Dunwell Date: Sun, 17 Sep 2023 14:29:48 -0400 Subject: [PATCH] [Bug Fix] Check for Song Skill Increase on Bard Pulse (#3586) * check for song skill increase on bard pulse * style changes * fix spacing --- zone/spells.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zone/spells.cpp b/zone/spells.cpp index 07a40ffd9..1c335add1 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -2736,12 +2736,18 @@ bool Mob::ApplyBardPulse(int32 spell_id, Mob *spell_target, CastingSlot slot) { Live does not spam client with do not take hold messages. Checking here avoids that from happening. Only try to reapply if charm fades. */ if (spell_target->IsCharmed() && spells[spell_id].mana == 0 && spell_target->GetOwner() == this && IsEffectInSpell(spell_id, SE_Charm)) { + if (IsClient()) { + CastToClient()->CheckSongSkillIncrease(spell_id); + } return true; } /* If divine aura applied while pulsing, it is not interrupted but does not reapply until DA fades. */ if (DivineAura() && !IsCastNotStandingSpell(spell_id)) { + if (IsClient()) { + CastToClient()->CheckSongSkillIncrease(spell_id); + } return true; } /* @@ -2755,6 +2761,9 @@ bool Mob::ApplyBardPulse(int32 spell_id, Mob *spell_target, CastingSlot slot) { return false; } + if (IsClient()) { + CastToClient()->CheckSongSkillIncrease(spell_id); + } return true; }