diff options
author | acidmanifesto <joshua.lee.betts@gmail.com> | 2021-11-04 04:49:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 09:49:20 +0100 |
commit | 6ff6f48e744876e1270ffc01f6c726a4da64f01b (patch) | |
tree | 7f76a1dbab8a69ac738b6b70cfb254efb6f0fd52 /src/server/scripts/Commands/PlayerCommand.cpp | |
parent | f30725144dbc1b25be08591568b82076c19e60a5 (diff) |
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
Diffstat (limited to 'src/server/scripts/Commands/PlayerCommand.cpp')
0 files changed, 0 insertions, 0 deletions