Fix previous quest requirement

This commit is contained in:
Liza 2024-08-26 16:13:17 +02:00
parent 24f95d58fe
commit 2c2e95682b
Signed by: liza
GPG Key ID: 7199F8D727D55F67

View File

@ -39,7 +39,7 @@ internal sealed class QuestInfo : IQuestInfo
{ {
new(new QuestId((ushort)(quest.PreviousQuest[0].Row & 0xFFFF)), quest.Unknown7), new(new QuestId((ushort)(quest.PreviousQuest[0].Row & 0xFFFF)), quest.Unknown7),
new(new QuestId((ushort)(quest.PreviousQuest[1].Row & 0xFFFF))), new(new QuestId((ushort)(quest.PreviousQuest[1].Row & 0xFFFF))),
new(new QuestId((ushort)(quest.PreviousQuest[1].Row & 0xFFFF))) new(new QuestId((ushort)(quest.PreviousQuest[2].Row & 0xFFFF)))
} }
.Where(x => x.QuestId.Value != 0) .Where(x => x.QuestId.Value != 0)
.ToImmutableList(); .ToImmutableList();