mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
CoreSpells: Typofixes: fix area auras autocast and usage of items in combat.
This commit is contained in:
@@ -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