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:
parent
90b769230b
commit
4ef31a9cca
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue