Core/Scripts: dynamic_spawning follow-up, I had forgotten JustRespawned existed.

Port From (https://github.com/TrinityCore/TrinityCore/commit/129dd7c9091d3fafc0f5e10b795224bc9418d006)
This commit is contained in:
hondacrx
2020-08-24 11:26:27 -04:00
parent 1b33551fab
commit 08ef556a36
14 changed files with 26 additions and 28 deletions
+2 -2
View File
@@ -437,8 +437,8 @@ namespace Game.AI
public virtual bool IsEscorted() { return false; }
// Called when creature is spawned or respawned
public virtual void JustRespawned() { }
// Called when creature appears in the world (spawn, respawn, grid load etc...)
public virtual void JustAppeared() { }
public virtual void MovementInform(MovementGeneratorType type, uint id) { }
@@ -140,7 +140,7 @@ namespace Game.AI
}
}
public override void JustRespawned()
public override void JustAppeared()
{
m_uiEscortState = EscortState.None;
@@ -147,7 +147,7 @@ namespace Game.AI
}
}
public override void JustRespawned()
public override void JustAppeared()
{
m_uiFollowState = FollowState.None;
+1 -1
View File
@@ -551,7 +551,7 @@ namespace Game.AI
return false;
}
public override void JustRespawned()
public override void JustAppeared()
{
mDespawnTime = 0;
mRespawnTime = 0;