mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
[7522] Fixed typo in spell cast check code. Author: Triply
--HG-- branch : trunk
This commit is contained in:
@@ -4505,7 +4505,7 @@ SpellCastResult Spell::CheckCasterAuras() const
|
||||
prevented_reason = SPELL_FAILED_PACIFIED;
|
||||
|
||||
// Attr must make flag drop spell totally immune from all effects
|
||||
if(prevented_reason)
|
||||
if(prevented_reason != SPELL_CAST_OK)
|
||||
{
|
||||
if(school_immune || mechanic_immune || dispel_immune)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user