Core/AI: CreatureAI.EnterCombat is now called CreatureAI.JustEngagedWith. There's also two new methods on UnitAI, though they're never invoked right now.

Port From (https://github.com/TrinityCore/TrinityCore/commit/bce43de7f3fba618c370f2aba327d23dd30d1cdd)
This commit is contained in:
hondacrx
2021-04-19 10:22:43 -04:00
parent d0faa12ef6
commit c925d7af40
12 changed files with 41 additions and 39 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ namespace Game.AI
}
}
public override void EnterCombat(Unit victim)
public override void JustEngagedWith(Unit victim)
{
foreach (var id in Spells)
{
@@ -134,7 +134,7 @@ namespace Game.AI
AttackStartCaster(victim, _attackDist);
}
public override void EnterCombat(Unit victim)
public override void JustEngagedWith(Unit victim)
{
if (Spells.Empty())
return;