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 2021-12-22 22:35:48 -06:00 committed by GitHub
parent 724d47432b
commit d0ec0872b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}