forked from liza/Questionable
Update logic for which allied society quests can be accepted
This commit is contained in:
parent
25130dcb7c
commit
459b832ef2
@ -450,14 +450,19 @@ internal sealed unsafe class QuestFunctions
|
|||||||
if (IsQuestAccepted(questId))
|
if (IsQuestAccepted(questId))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (quest.Info.AlliedSociety != EAlliedSociety.None)
|
if (questId is QuestId qId && IsDailyAlliedSocietyQuest(qId))
|
||||||
{
|
{
|
||||||
if (QuestManager.Instance()->IsDailyQuestCompleted(questId.Value))
|
if (QuestManager.Instance()->IsDailyQuestCompleted(questId.Value))
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
|
|
||||||
if (IsQuestComplete(questId))
|
if (!IsDailyAlliedSocietyQuestAndAvailableToday(qId))
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (IsQuestComplete(questId))
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user