Use DailyQuestSeed from clientstructs

This commit is contained in:
Liza 2024-12-18 02:05:05 +01:00
parent 5b681dabfa
commit 98b538f0ab
Signed by: liza
GPG Key ID: 2C41B84815CF6445

View File

@ -46,7 +46,7 @@ internal sealed class AlliedSocietyQuestFunctions
return [];
bool rankedUp = (rankData & 0x80) != 0;
byte seed = Marshal.ReadByte((nint)QuestManager.Instance() + 0x698); // TODO Use clientstructs
byte seed = QuestManager.Instance()->DailyQuestSeed;
List<QuestId> result = [];
foreach (NpcData npcData in _questsByAlliedSociety[alliedSociety])
{