aboutsummaryrefslogtreecommitdiff
path: root/build/content/autolevel.py
diff options
context:
space:
mode:
authorjacopo grandi <jak.sk8@hotmail.it>2021-02-22 19:51:09 +0100
committerjacopo grandi <jak.sk8@hotmail.it>2021-02-22 19:51:09 +0100
commit4842b67ab590250d95ad4be5fe61380a09b1e8ea (patch)
treeabb973efe013b3b0970b2f4434119f2c41644f65 /build/content/autolevel.py
parentbd372bf19eb79e0bfd3f3d9cb20b4c6a49a8a5ed (diff)
view levels and maxrange strat
Diffstat (limited to 'build/content/autolevel.py')
-rw-r--r--build/content/autolevel.py4
1 files changed, 3 insertions, 1 deletions
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)