From d0ec0872b9dd2910548717ff9b7231121d9ee40d Mon Sep 17 00:00:00 2001 From: Natedog2012 Date: Wed, 22 Dec 2021 22:35:48 -0600 Subject: [PATCH] Client will give 1 second window to start casting at the end of DA effect but we interrupt it and need to allow spellbar active after (#1894) --- zone/spells.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zone/spells.cpp b/zone/spells.cpp index 11e8f201e..b6d10a3a9 100644 --- a/zone/spells.cpp +++ b/zone/spells.cpp @@ -223,6 +223,9 @@ bool Mob::CastSpell(uint16 spell_id, uint16 target_id, CastingSlot slot, if(DivineAura()) { LogSpells("Spell casting canceled: cannot cast while Divine Aura is in effect"); InterruptSpell(173, 0x121, false); + if(IsClient()) { + CastToClient()->SendSpellBarEnable(spell_id); + } return(false); }