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 |
||
|---|---|---|
| .. | ||
| SmartAI.cpp | ||
| SmartAI.h | ||
| SmartScript.cpp | ||
| SmartScript.h | ||
| SmartScriptMgr.cpp | ||
| SmartScriptMgr.h | ||