Fix squadron unlock condition
This commit is contained in:
parent
80764855d2
commit
d8cce75e66
@ -167,13 +167,7 @@ internal sealed class LocalStatsCalculator : IDisposable
|
|||||||
ContentId = localContentId,
|
ContentId = localContentId,
|
||||||
GrandCompany = playerState->GrandCompany,
|
GrandCompany = playerState->GrandCompany,
|
||||||
GcRank = playerState->GetGrandCompanyRank(),
|
GcRank = playerState->GetGrandCompanyRank(),
|
||||||
SquadronUnlocked = (GrandCompany)playerState->GrandCompany switch
|
SquadronUnlocked = playerState->GetGrandCompanyRank() >= 9 && (QuestManager.IsQuestComplete(67925) || QuestManager.IsQuestComplete(67926) || QuestManager.IsQuestComplete(67927)),
|
||||||
{
|
|
||||||
GrandCompany.Maelstrom => QuestManager.IsQuestComplete(67926),
|
|
||||||
GrandCompany.TwinAdder => QuestManager.IsQuestComplete(67925),
|
|
||||||
GrandCompany.ImmortalFlames => QuestManager.IsQuestComplete(67927),
|
|
||||||
_ => false
|
|
||||||
},
|
|
||||||
MaxLevel = playerState->MaxLevel,
|
MaxLevel = playerState->MaxLevel,
|
||||||
ClassJobLevels = ExtractClassJobLevels(playerState),
|
ClassJobLevels = ExtractClassJobLevels(playerState),
|
||||||
StartingTown = playerState->StartTown,
|
StartingTown = playerState->StartTown,
|
||||||
|
Loading…
Reference in New Issue
Block a user