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)

This commit is contained in:
Natedog2012 authored and GitHub committed 2021-12-22 22:35:48 -06:00
1 parent 724d47432b
commit d0ec0872b9
1 file changed
+3
+3
View File
@@ -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);
}