diff options
author | jackpoz <giacomopoz@gmail.com> | 2019-05-25 22:33:21 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2019-05-26 12:44:58 +0200 |
commit | 9e58ef6940c78d92f1553cf7ab75e87a6e2cf112 (patch) | |
tree | 24a449d3ea9e4878dd36e6b0869e1a8b283cc038 /src/server/worldserver/Main.cpp | |
parent | f1ab05ab46a559f99bf5c086228eb011dff10f02 (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
Diffstat (limited to 'src/server/worldserver/Main.cpp')
0 files changed, 0 insertions, 0 deletions