Use exp array idx for job levels
This commit is contained in:
@@ -142,6 +142,9 @@ internal static class ClassJobUtils
|
||||
_ => null
|
||||
};
|
||||
|
||||
public static sbyte GetExpArrayIdx(this ClassJob me) =>
|
||||
LuminaSheets.ClassJobSheet.GetRow(me.GetClassJobIndex())!.ExpArrayIndex;
|
||||
|
||||
public static string GetName(this ClassJob classJob)
|
||||
{
|
||||
var job = LuminaSheets.ClassJobSheet.GetRow(classJob.GetClassJobIndex())!;
|
||||
|
||||
@@ -122,7 +122,7 @@ public sealed unsafe class RecipeNote : IDisposable
|
||||
Table = Recipe.RecipeLevelTable.Value!;
|
||||
Info = CreateInfo();
|
||||
ClassJob = (ClassJob)Recipe.CraftType.Row;
|
||||
CharacterLevel = PlayerState.Instance()->ClassJobLevelArray[ClassJob.GetClassJobIndex()];
|
||||
CharacterLevel = PlayerState.Instance()->ClassJobLevelArray[ClassJob.GetExpArrayIdx()];
|
||||
CanUseManipulation = ActionManager.CanUseActionOnTarget(ActionType.Manipulation.GetId(ClassJob), (GameObject*)Service.ClientState.LocalPlayer!.Address);
|
||||
HQIngredientCount = Recipe.UnkData5
|
||||
.Where(i =>
|
||||
|
||||
Reference in New Issue
Block a user