feat(Core/SmartScripts): SMART_ACTION_ATTACK_STOP #10053

This commit is contained in:
IntelligentQuantum
2022-01-07 10:49:32 +03:30
committed by GitHub
parent 3085f64e50
commit 2e6213d526
3 changed files with 20 additions and 1 deletions

View File

@@ -1300,6 +1300,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
case SMART_ACTION_CU_ENCOUNTER_START:
case SMART_ACTION_DO_ACTION:
case SMART_ACTION_SET_CORPSE_DELAY:
case SMART_ACTION_ATTACK_STOP:
break;
default:
LOG_ERROR("sql.sql", "SmartAIMgr: Not handled action_type(%u), event_type(%u), Entry %d SourceType %u Event %u, skipped.", e.GetActionType(), e.GetEventType(), e.entryOrGuid, e.GetScriptType(), e.event_id);