feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION (#8375)
* feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION This will give possibility to trigger certain actions on instance scripts or creatures/gobjects * yet we still love you "blank line" xD
This commit is contained in:
parent
9e3949232c
commit
5d73180c61
3 changed files with 57 additions and 1 deletions
|
|
@ -1258,6 +1258,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
|
|||
case SMART_ACTION_VORTEX_SUMMON:
|
||||
case SMART_ACTION_PLAYER_TALK:
|
||||
case SMART_ACTION_CU_ENCOUNTER_START:
|
||||
case SMART_ACTION_DO_ACTION:
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue