mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[7522] Fixed typo in spell cast check code.
This commit is contained in:
parent
f4030f9dff
commit
3d6c7e59a7
2 changed files with 2 additions and 2 deletions
|
|
@ -4631,7 +4631,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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue