Fix problems with ACN weapons as scholar
This commit is contained in:
parent
894c0d2f69
commit
74a798816c
@ -93,6 +93,7 @@ internal sealed class GameDataHolder
|
||||
.Where(x => x.ItemSeries.Row is <= 3 or >= 28)
|
||||
.SelectMany(LoadItem)
|
||||
.SelectMany(x => x.ClassJobs.Select(y => x.Item with { ClassJob = y }))
|
||||
.Where(x => x.ClassJob != EClassJob.Scholar || x.ItemUiCategory != 10) // exclude ACN weapon as scholar
|
||||
.Where(x =>
|
||||
{
|
||||
bool isGatheringItem = x.HasAnyStat(EBaseParam.Gathering, EBaseParam.Perception, EBaseParam.GP);
|
||||
@ -117,7 +118,8 @@ internal sealed class GameDataHolder
|
||||
EquipSlotCategory = x.Key.EquipSlotCategory,
|
||||
ItemUiCategory = x.Key.ItemUiCategory,
|
||||
Items = x.ToList(),
|
||||
}).ToList()
|
||||
})
|
||||
.ToList()
|
||||
.AsReadOnly();
|
||||
|
||||
UpdateAndSortLists();
|
||||
|
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<Version>0.4</Version>
|
||||
<Version>0.5</Version>
|
||||
<LangVersion>12</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
|
Loading…
Reference in New Issue
Block a user