feat(Core/SmartScripts): SMART_TARGET_LOOT_RECIPIENTS (#9967)

This commit is contained in:
IntelligentQuantum
2022-01-03 04:24:27 +03:30
committed by GitHub
parent 7d25a0fb68
commit 8a5b96349b
3 changed files with 25 additions and 1 deletions

View File

@@ -361,6 +361,7 @@ bool SmartAIMgr::IsTargetValid(SmartScriptHolder const& e)
case SMART_TARGET_PLAYER_WITH_AURA:
case SMART_TARGET_RANDOM_POINT:
case SMART_TARGET_ROLE_SELECTION:
case SMART_TARGET_LOOT_RECIPIENTS:
break;
default:
LOG_ERROR("sql.sql", "SmartAIMgr: Not handled target_type(%u), Entry %d SourceType %u Event %u Action %u, skipped.", e.GetTargetType(), e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType());