aboutsummaryrefslogtreecommitdiff
path: root/build/content/autolevel.py
diff options
context:
space:
mode:
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)