Core/Unit: rename IsFocusing method
Port From (https://github.com/TrinityCore/TrinityCore/commit/be4ed9152c1a9c3dab9949eb36d867b763603f60)
This commit is contained in:
@@ -327,7 +327,7 @@ namespace Game
|
||||
Unit unit_target2 = spell.m_targets.GetUnitTarget();
|
||||
if (unit_target)
|
||||
{
|
||||
if (!pet.IsFocusing())
|
||||
if (!pet.HandleSpellFocus())
|
||||
pet.SetInFront(unit_target);
|
||||
Player player = unit_target.ToPlayer();
|
||||
if (player)
|
||||
@@ -335,7 +335,7 @@ namespace Game
|
||||
}
|
||||
else if (unit_target2)
|
||||
{
|
||||
if (!pet.IsFocusing())
|
||||
if (!pet.HandleSpellFocus())
|
||||
pet.SetInFront(unit_target2);
|
||||
Player player = unit_target2.ToPlayer();
|
||||
if (player)
|
||||
|
||||
Reference in New Issue
Block a user