*Fix the bug that counterspell can affect shapeshift
--HG-- branch : trunk
This commit is contained in:
@@ -16957,6 +16957,9 @@ void Player::ProhibitSpellScholl(SpellSchoolMask idSchoolMask, uint32 unTimeMs )
|
|||||||
if (spellInfo->Attributes & SPELL_ATTR_DISABLED_WHILE_ACTIVE)
|
if (spellInfo->Attributes & SPELL_ATTR_DISABLED_WHILE_ACTIVE)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if(spellInfo->PreventionType != SPELL_PREVENTION_TYPE_SILENCE)
|
||||||
|
continue;
|
||||||
|
|
||||||
if((idSchoolMask & GetSpellSchoolMask(spellInfo)) && GetSpellCooldownDelay(unSpellId) < unTimeMs )
|
if((idSchoolMask & GetSpellSchoolMask(spellInfo)) && GetSpellCooldownDelay(unSpellId) < unTimeMs )
|
||||||
{
|
{
|
||||||
data << unSpellId;
|
data << unSpellId;
|
||||||
|
|||||||
Reference in New Issue
Block a user