Core/Conditions: Added conversation line source type
Port From (https://github.com/TrinityCore/TrinityCore/commit/03c0f787a1390eb50789f5bda104bbe40dda3c77)
This commit is contained in:
@@ -164,6 +164,9 @@ namespace Game.Entities
|
||||
List<ConversationLine> lines = new();
|
||||
foreach (ConversationLineTemplate line in conversationTemplate.Lines)
|
||||
{
|
||||
if (!Global.ConditionMgr.IsObjectMeetingNotGroupedConditions(ConditionSourceType.ConversationLine, line.Id, creator))
|
||||
continue;
|
||||
|
||||
actorIndices.Add(line.ActorIdx);
|
||||
|
||||
ConversationLine lineField = new();
|
||||
|
||||
Reference in New Issue
Block a user