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

View File

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