Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT

Port From (https://github.com/TrinityCore/TrinityCore/commit/db825c3221de16cdb757711781318d76b414213f)
This commit is contained in:
hondacrx
2022-02-18 13:35:32 -05:00
parent ed5648d8ac
commit 8126e7c6e1
6 changed files with 50 additions and 8 deletions
@@ -513,7 +513,7 @@ namespace Game.AI
case SmartTargets.LootRecipients:
case SmartTargets.Farthest:
case SmartTargets.VehiclePassenger:
case SmartTargets.SpellTarget:
case SmartTargets.ClosestUnspawnedGameobject:
break;
default:
Log.outError(LogFilter.ScriptsAi, "SmartAIMgr: Not handled target_type({0}), Entry {1} SourceType {2} Event {3} Action {4}, skipped.", e.GetTargetType(), e.EntryOrGuid, e.GetScriptType(), e.EventId, e.GetActionType());