mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[10079] Don't allow cancel passive spells
This commit is contained in:
parent
b62d64e7c7
commit
6bfd0aa5b5
2 changed files with 4 additions and 1 deletions
|
|
@ -420,6 +420,9 @@ void WorldSession::HandleCancelAuraOpcode( WorldPacket& recvPacket)
|
|||
if (spellInfo->Attributes & SPELL_ATTR_CANT_CANCEL)
|
||||
return;
|
||||
|
||||
if (IsPassiveSpell(spellInfo))
|
||||
return;
|
||||
|
||||
if (!IsPositiveSpell(spellId))
|
||||
{
|
||||
// ignore for remote control state
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue