From: Liza Carvelli Date: Sun, 10 Aug 2025 18:22:39 +0000 (+0200) Subject: Fix gil cost estimation X-Git-Tag: v6.0~4 X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=e147d9f5d21a1b2b451a96f94a6dfa33a8ae6420;p=Questionable.git Fix gil cost estimation --- diff --git a/Questionable/Functions/QuestFunctions.cs b/Questionable/Functions/QuestFunctions.cs index 30c3a3ad..70783c75 100644 --- a/Questionable/Functions/QuestFunctions.cs +++ b/Questionable/Functions/QuestFunctions.cs @@ -456,7 +456,7 @@ internal sealed unsafe class QuestFunctions int baseCost = quest.Info.Expansion == EExpansionVersion.ARealmReborn ? 300 : 1000; return quest.AllSteps().Where(x => x.Step.AetheryteShortcut != null) - .Sum(x => (int)(baseCost * cheapTeleports.GetValueOrDefault(x.Step.AethernetShortcut!.From, 1f))); + .Sum(x => (int)(baseCost * cheapTeleports.GetValueOrDefault(x.Step.AetheryteShortcut!.Value, 1f))); } public List GetPriorityQuests(bool onlyClassAndRoleQuests = false)