Add game data for Viper/Pictomancer

This commit is contained in:
Liza 2024-06-26 22:19:46 +02:00
parent bdffc18c39
commit 517dcd5ed5
Signed by: liza
GPG Key ID: 7199F8D727D55F67
2 changed files with 8 additions and 2 deletions

View File

@ -43,6 +43,8 @@ internal enum EClassJob : uint
Dancer = 38,
Reaper = 39,
Sage = 40,
Viper = 41,
Pictomancer = 42,
}
internal static class EClassJobExtensions
@ -84,7 +86,8 @@ internal static class EClassJobExtensions
or EClassJob.Rogue
or EClassJob.Ninja
or EClassJob.Samurai
or EClassJob.Reaper;
or EClassJob.Reaper
or EClassJob.Viper;
public static bool IsPhysicalRanged(this EClassJob classJob) =>
classJob is EClassJob.Archer
@ -98,7 +101,8 @@ internal static class EClassJobExtensions
or EClassJob.Arcanist
or EClassJob.Summoner
or EClassJob.RedMage
or EClassJob.BlueMage;
or EClassJob.BlueMage
or EClassJob.Pictomancer;
public static bool DealsPhysicalDamage(this EClassJob classJob) =>
classJob.IsTank() || classJob.IsMelee() || classJob.IsPhysicalRanged();

View File

@ -63,6 +63,8 @@ internal sealed class GameDataHolder
{ EClassJob.Dancer, x.DNC },
{ EClassJob.Reaper, x.RPR },
{ EClassJob.Sage, x.SGE },
{ EClassJob.Viper, x.Unknown42 },
{ EClassJob.Pictomancer, x.Unknown43 }
}
.Where(y => y.Value)
.Select(y => y.Key)