From 4842b67ab590250d95ad4be5fe61380a09b1e8ea Mon Sep 17 00:00:00 2001 From: jacopo grandi Date: Mon, 22 Feb 2021 19:51:09 +0100 Subject: view levels and maxrange strat --- build/content/autolevel.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build/content/autolevel.py') diff --git a/build/content/autolevel.py b/build/content/autolevel.py index 345bccf..51d30f3 100644 --- a/build/content/autolevel.py +++ b/build/content/autolevel.py @@ -33,4 +33,6 @@ if __name__ == "__main__": #comp("brains", ["name"]) #comp("brains", ["name"]) - #comp("armor", ["weight"], query, lambda x: [x[i]/5 for i in range(3)]) + amt = .5 + perc_inc = lambda x: [x[i]*(1.0+(i/2.0)*amt) for i in range(3)] + comp("weapons", ["damage"], query, perc_inc) -- cgit v1.2.3-54-g00ecf