EverWrath/src/server/game/AI/SmartScripts
acidmanifesto 6ff6f48e74
fix(Core/SmartAI): improve SMART_EVENT_GOSSIP_HELLO (#8849)
Add another value to event_param1 for SMART_EVENT_GOSSIP_HELLO to support all cases of OnGossipHello/OnReportUse in GameObjects:
- event_param1 set to 0: execute the action for both OnGossipHello and OnReportUse. This might result in the action being executed twice when clicking the GameObject
- event_param1 set to 1: execute the action for only OnGossipHello
- event_param1 set to 2: execute the action for only OnReportUse
2021-11-04 09:49:20 +01:00
..
SmartAI.cpp refactor(Core): update getFaction to GetFaction and setFaction to SetFaction (#8708) 2021-11-01 17:04:32 +01:00
SmartAI.h feat(License): add new headers information about license (#7941) 2021-09-30 13:40:52 +07:00
SmartScript.cpp fix(Core/SmartAI): improve SMART_EVENT_GOSSIP_HELLO (#8849) 2021-11-04 09:49:20 +01:00
SmartScript.h feat(License): add new headers information about license (#7941) 2021-09-30 13:40:52 +07:00
SmartScriptMgr.cpp feat(Core/SAI): implemented a new SAI action type SMART_ACTION_DO_ACTION (#8375) 2021-10-14 14:06:28 +02:00
SmartScriptMgr.h fix(Core/SmartAI): improve SMART_EVENT_GOSSIP_HELLO (#8849) 2021-11-04 09:49:20 +01:00