Core/Spells: Delay combat flagging for spell targets until spell missile lands
Port From (https://github.com/TrinityCore/TrinityCore/commit/ff99952dfb7d2b532de2d1aedc825fb96038f4c2)
This commit is contained in:
@@ -95,10 +95,10 @@ namespace Game.Entities
|
||||
|
||||
public bool IsPetInCombat() { return HasUnitFlag(UnitFlags.PetInCombat); }
|
||||
|
||||
public void SetInCombatWith(Unit enemy)
|
||||
public void SetInCombatWith(Unit enemy, bool suppressPvpTargetCombat = false)
|
||||
{
|
||||
if (enemy != null)
|
||||
m_combatManager.SetInCombatWith(enemy);
|
||||
m_combatManager.SetInCombatWith(enemy, suppressPvpTargetCombat);
|
||||
}
|
||||
|
||||
public void EngageWithTarget(Unit enemy)
|
||||
|
||||
Reference in New Issue
Block a user