From 4ef31a9cca655a81fb2221700fb4abe667eeda02 Mon Sep 17 00:00:00 2001 From: Jeremy Saklad Date: Thu, 12 Aug 2021 21:38:07 -0500 Subject: [PATCH] Fix warm amber calculation The cost was inaccurately multiplied by the number of joint additions before. Credit to 34Witches in the FBG Discord for diagnosing the problem. --- bonemarketsolver/solve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bonemarketsolver/solve.py b/bonemarketsolver/solve.py index 0180250..2db1650 100644 --- a/bonemarketsolver/solve.py +++ b/bonemarketsolver/solve.py @@ -291,7 +291,7 @@ def Solve(shadowy_level, bone_market_fluctuations = None, zoological_mania = Non del add_joints_amber_cost_multiple_first_term, add_joints_amber_cost_multiple_second_term, add_joints_amber_cost_multiple_third_term, add_joints_amber_cost_multiple_fourth_term, add_joints_amber_cost_multiple_fifth_term - model.AddGeneralMultiplicationEquality(add_joints_amber_cost, add_joints, add_joints_amber_cost_multiple, Cost.WARM_AMBER.value) + model.AddGeneralMultiplicationEquality(add_joints_amber_cost, add_joints_amber_cost_multiple, Cost.WARM_AMBER.value) del add_joints, add_joints_amber_cost_multiple