Exposed repeatable replacement cost chance values in config

This commit is contained in:
Chomp
2025-03-19 16:46:14 +00:00
parent 787f15b124
commit 4d40612e16
2 changed files with 12 additions and 2 deletions
@@ -139,7 +139,7 @@ public class RepeatableQuestController(
repeatablesOfTypeInProfile.ChangeRequirement[newRepeatableQuest.Id] = new ChangeRequirement
{
ChangeCost = newRepeatableQuest.ChangeCost,
ChangeStandingCost = _randomUtil.GetArrayValue([0, 0.01])
ChangeStandingCost = _randomUtil.GetArrayValue(repeatableConfig.StandingChangeCost)
};
// Check if we should charge player for replacing quest
@@ -464,7 +464,7 @@ public class RepeatableQuestController(
new ChangeRequirement
{
ChangeCost = quest.ChangeCost,
ChangeStandingCost = _randomUtil.GetArrayValue([0, 0.01]) // Randomise standing loss to replace
ChangeStandingCost = _randomUtil.GetArrayValue(repeatableConfig.StandingChangeCost) // Randomise standing loss to replace
}
);
}