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.
This commit is contained in:
Jeremy Saklad 2021-08-12 21:38:07 -05:00
parent 90b769230b
commit 4ef31a9cca
Signed by: Jeremy Saklad
GPG Key ID: 9CA2149583EDBF84
1 changed files with 1 additions and 1 deletions

View File

@ -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 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 del add_joints, add_joints_amber_cost_multiple