diff options
| -rw-r--r-- | src/game/Player.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 7837a0186eb..ef047c7dfc2 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -16957,6 +16957,9 @@ void Player::ProhibitSpellScholl(SpellSchoolMask idSchoolMask, uint32 unTimeMs ) if (spellInfo->Attributes & SPELL_ATTR_DISABLED_WHILE_ACTIVE) continue; + if(spellInfo->PreventionType != SPELL_PREVENTION_TYPE_SILENCE) + continue; + if((idSchoolMask & GetSpellSchoolMask(spellInfo)) && GetSpellCooldownDelay(unSpellId) < unTimeMs ) { data << unSpellId; |
