From abd5139aadc2ec33e0a9f40a772dc5cd57da0c60 Mon Sep 17 00:00:00 2001 From: Jeremy Saklad Date: Wed, 1 Sep 2021 07:23:33 -0500 Subject: [PATCH] Limit Vake skulls to 1 temporarily Vake skulls are now nerfed when using more than one. Until the diminishing returns are understood, this script will now use only 1 at most. --- bonemarketsolver/solve.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bonemarketsolver/solve.py b/bonemarketsolver/solve.py index 046eeab..2bdb5a2 100644 --- a/bonemarketsolver/solve.py +++ b/bonemarketsolver/solve.py @@ -84,7 +84,11 @@ def Solve(shadowy_level, bone_market_fluctuations = None, zoological_mania = Non # Skull for skull in Skull: - actions[skull] = model.NewIntVar(0, cp_model.INT32_MAX, skull.value.name) + # Interim treatment until diminishing returns are analyzed + if skull == Skull.VAKE_SKULL: + actions[skull] = model.NewBoolVar(skull.value.name) + else: + actions[skull] = model.NewIntVar(0, cp_model.INT32_MAX, skull.value.name) # Appendage for appendage in Appendage: