Remove rlvl/clvl propaganda

This commit is contained in:
Asriel Camora
2024-06-30 18:58:14 -07:00
parent 2c0978f76b
commit 4dffebf0bd
11 changed files with 5 additions and 55 deletions
-1
View File
@@ -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; }
}
-1
View File
@@ -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; }
+4 -4
View File
@@ -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;
}
}