Core/SAI: Add SMART_ACTION_BECOME_PERSONAL_CLONE_FOR_PLAYER

Port From (https://github.com/TrinityCore/TrinityCore/commit/f383c0ea214cc4da2d02b81e26297d77ff59c7ed)
This commit is contained in:
hondacrx
2022-02-27 14:29:40 -05:00
parent a36cc8ba2e
commit 6df3ca3a3b
5 changed files with 65 additions and 6 deletions
+2 -2
View File
@@ -925,9 +925,9 @@ namespace Game.AI
GetScript().ProcessEventsFor(SmartEvents.FollowCompleted, player);
}
public void SetTimedActionList(SmartScriptHolder e, uint entry, Unit invoker)
public void SetTimedActionList(SmartScriptHolder e, uint entry, Unit invoker, uint startFromEventId = 0)
{
GetScript().SetTimedActionList(e, entry, invoker);
GetScript().SetTimedActionList(e, entry, invoker, startFromEventId);
}
public override void OnGameEvent(bool start, ushort eventId)