CoreSpells: Typofixes: fix area auras autocast and usage of items in combat.
This commit is contained in:
1 parent
f33a0c23ca
commit
045dec19fa
3 files changed
+3
-3
No files matched your search
@@ -5693,7 +5693,7 @@ bool Spell::CanAutoCast(Unit* target)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (m_spellInfo->Effects[j].IsArea())
|
||||
else if (m_spellInfo->Effects[j].IsAreaAuraEffect())
|
||||
{
|
||||
if (target->HasAuraEffect(m_spellInfo->Id, j))
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user