Remove rlvl/clvl propaganda
This commit is contained in:
@@ -9,5 +9,4 @@ public sealed record CharacterStats
|
||||
public bool CanUseManipulation { get; init; }
|
||||
public bool HasSplendorousBuff { get; init; }
|
||||
public bool IsSpecialist { get; init; }
|
||||
public int CLvl { get; init; }
|
||||
}
|
||||
|
||||
@@ -4,7 +4,6 @@ public sealed record RecipeInfo
|
||||
{
|
||||
public bool IsExpert { get; init; }
|
||||
public int ClassJobLevel { get; init; }
|
||||
public int RLvl { get; init; }
|
||||
public ushort ConditionsFlag { get; init; }
|
||||
public int MaxDurability { get; init; }
|
||||
public int MaxQuality { get; init; }
|
||||
|
||||
@@ -20,14 +20,14 @@ public sealed class SimulationInput
|
||||
// https://github.com/NotRanged/NotRanged.github.io/blob/0f4aee074f969fb05aad34feaba605057c08ffd1/app/js/ffxivcraftmodel.js#L88
|
||||
{
|
||||
var baseIncrease = (Stats.Craftsmanship * 10f / Recipe.ProgressDivider) + 2;
|
||||
if (Stats.CLvl <= Recipe.RLvl)
|
||||
baseIncrease *= Recipe.ProgressModifier / 100f;
|
||||
if (Stats.Level <= Recipe.ClassJobLevel)
|
||||
baseIncrease *= Recipe.ProgressModifier * 0.01f;
|
||||
BaseProgressGain = (int)baseIncrease;
|
||||
}
|
||||
{
|
||||
var baseIncrease = (Stats.Control * 10f / Recipe.QualityDivider) + 35;
|
||||
if (Stats.CLvl <= Recipe.RLvl)
|
||||
baseIncrease *= Recipe.QualityModifier / 100f;
|
||||
if (Stats.Level <= Recipe.ClassJobLevel)
|
||||
baseIncrease *= Recipe.QualityModifier * 0.01f;
|
||||
BaseQualityGain = (int)baseIncrease;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user