projects
/
Questionable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d819aab
)
Fix gil cost estimation
author
Liza Carvelli
<liza@carvel.li>
Sun, 10 Aug 2025 18:22:39 +0000
(20:22 +0200)
committer
Liza Carvelli
<liza@carvel.li>
Sun, 10 Aug 2025 18:22:39 +0000
(20:22 +0200)
Questionable/Functions/QuestFunctions.cs
patch
|
blob
|
blame
|
history
diff --git
a/Questionable/Functions/QuestFunctions.cs
b/Questionable/Functions/QuestFunctions.cs
index 30c3a3ad0ad20cad96824fa9e53e8f8f0e3a674a..70783c7587aebfbb3a7a6603d2fc362814dccfdb 100644
(file)
--- 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.Aether
netShortcut!.From
, 1f)));
+ .Sum(x => (int)(baseCost * cheapTeleports.GetValueOrDefault(x.Step.Aether
yteShortcut!.Value
, 1f)));
}
public List<ElementId> GetPriorityQuests(bool onlyClassAndRoleQuests = false)