Core/Auras: Renamed a bunch of unknown or changed spell aura types and implemented some of them
Port From (https://github.com/TrinityCore/TrinityCore/commit/d697882dfbb16242b7aa0b915fb116a14039ac5e)
This commit is contained in:
@@ -4737,9 +4737,12 @@ namespace Game.Spells
|
||||
// check spell focus object
|
||||
if (m_spellInfo.RequiresSpellFocus != 0)
|
||||
{
|
||||
focusObject = SearchSpellFocus();
|
||||
if (!focusObject)
|
||||
return SpellCastResult.RequiresSpellFocus;
|
||||
if (!m_caster.HasAuraTypeWithMiscvalue(AuraType.ProvideSpellFocus, (int)m_spellInfo.RequiresSpellFocus))
|
||||
{
|
||||
focusObject = SearchSpellFocus();
|
||||
if (!focusObject)
|
||||
return SpellCastResult.RequiresSpellFocus;
|
||||
}
|
||||
}
|
||||
|
||||
castResult = SpellCastResult.SpellCastOk;
|
||||
|
||||
Reference in New Issue
Block a user