*Allow to use ice block while affected by CC and fix compile warning.
--HG-- branch : trunk
This commit is contained in:
1 parent
2b9d09255e
commit
ba4e54f2f7
4 files changed
+10
-10
No files matched your search
+1
-1
@@ -4580,7 +4580,7 @@ SpellCastResult Spell::CheckCasterAuras() const
|
||||
{
|
||||
if( GetAllSpellMechanicMask(itr->second->GetSpellProto()) & mechanic_immune )
|
||||
continue;
|
||||
if( GetAllSpellMechanicMask(itr->second->GetSpellProto()) & school_immune )
|
||||
if( GetSpellSchoolMask(itr->second->GetSpellProto()) & school_immune )
|
||||
continue;
|
||||
if( (1<<(itr->second->GetSpellProto()->Dispel)) & dispel_immune)
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user