diff options
author | jackpoz <giacomopoz@gmail.com> | 2019-05-25 22:33:21 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-12-08 21:33:58 +0100 |
commit | e9aed3e442374db74ebc98edc39ba4ee46acf123 (patch) | |
tree | 2d87e7b5818087e827bb5f69ff2915e67fa22fb4 /src/server/worldserver/Main.cpp | |
parent | 6afa2fe45f9fff320013dbeca528530fcbd6b997 (diff) |
Core/SmartAI: Improve SMART_EVENT_GOSSIP_HELLO
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
(cherry picked from commit 9e58ef6940c78d92f1553cf7ab75e87a6e2cf112)
Diffstat (limited to 'src/server/worldserver/Main.cpp')
0 files changed, 0 insertions, 0 deletions