Core/AI: Implemented conversation ai
Port From (https://github.com/TrinityCore/TrinityCore/commit/309ba22a15e5e0b4321b99f7157ccb18e0adc8dd)
This commit is contained in:
@@ -446,9 +446,9 @@ namespace Game
|
||||
[WorldPacketHandler(ClientOpcodes.ConversationLineStarted)]
|
||||
void HandleConversationLineStarted(ConversationLineStarted conversationLineStarted)
|
||||
{
|
||||
Conversation convo = ObjectAccessor.GetConversation(_player, conversationLineStarted.ConversationGUID);
|
||||
if (convo != null)
|
||||
Global.ScriptMgr.OnConversationLineStarted(convo, conversationLineStarted.LineID, _player);
|
||||
Conversation conversation = ObjectAccessor.GetConversation(_player, conversationLineStarted.ConversationGUID);
|
||||
if (conversation != null)
|
||||
conversation.GetAI().OnLineStarted(conversationLineStarted.LineID, _player);
|
||||
}
|
||||
|
||||
[WorldPacketHandler(ClientOpcodes.RequestLatestSplashScreen)]
|
||||
|
||||
Reference in New Issue
Block a user