Scripts/SmartAI: Forward invoker to invoked action list actions. Also JustAppeared -> InitializeAI.

Port From (https://github.com/TrinityCore/TrinityCore/commit/1f26122528ad31a9dedbfcf5c1029cf750dfd1d4)
This commit is contained in:
hondacrx
2021-06-23 22:48:37 -04:00
parent fc49a98dab
commit 4206c48aaa
3 changed files with 15 additions and 25 deletions
@@ -491,8 +491,8 @@ namespace Game.AI
Log.outError(LogFilter.Sql, "SmartAIMgr: Entry {e.entryOrGuid} SourceType {e.GetScriptType()} Event {e.GetEventType()} Action {}e.GetActionType() has invoker target, but action does not provide any invoker!");
// allow this to load for now
// return false;
break;
}
break;
case SmartTargets.PlayerRange:
case SmartTargets.Self:
case SmartTargets.Victim: