projects
/
Questionable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25130dc
)
Update logic for which allied society quests can be accepted
author
Liza Carvelli
<liza@carvel.li>
Sat, 4 Jan 2025 15:48:13 +0000
(16:48 +0100)
committer
Liza Carvelli
<liza@carvel.li>
Sat, 4 Jan 2025 15:48:13 +0000
(16:48 +0100)
Questionable/Functions/QuestFunctions.cs
patch
|
blob
|
blame
|
history
diff --git
a/Questionable/Functions/QuestFunctions.cs
b/Questionable/Functions/QuestFunctions.cs
index 2078ca9e0861e75ade9209b47c39796aa2b773a4..f0e6d1591f99acdc4a09856b2da75709eaab2fa3 100644
(file)
--- a/
Questionable/Functions/QuestFunctions.cs
+++ b/
Questionable/Functions/QuestFunctions.cs
@@
-450,14
+450,19
@@
internal sealed unsafe class QuestFunctions
if (IsQuestAccepted(questId))
return false;
- if (quest
.Info.AlliedSociety != EAlliedSociety.None
)
+ if (quest
Id is QuestId qId && IsDailyAlliedSocietyQuest(qId)
)
{
if (QuestManager.Instance()->IsDailyQuestCompleted(questId.Value))
return false;
- }
- if (IsQuestComplete(questId))
- return false;
+ if (!IsDailyAlliedSocietyQuestAndAvailableToday(qId))
+ return false;
+ }
+ else
+ {
+ if (IsQuestComplete(questId))
+ return false;
+ }
}
else
{