From 54cc5abf21b857a06e1bbed7a36c1354610b16f7 Mon Sep 17 00:00:00 2001 From: Ryan Holmes Date: Tue, 13 Dec 2016 13:49:19 -0500 Subject: [PATCH] Delete implants.py This also shouldn't have been committed. --- implants.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 implants.py diff --git a/implants.py b/implants.py deleted file mode 100644 index b3c16cb94..000000000 --- a/implants.py +++ /dev/null @@ -1,13 +0,0 @@ -baseBonii = [0.01, 0.02, 0.03, 0.04, 0.05] # 0.01 = 1% -setMulti = [1.15, 1.15, 1.15, 1.15, 1.15, 1.5] # 1.15x = 15% bonus, these should be per attribute (?) - -# First, calculate total set multiplier by multiplying all set multipliers -setTotal = reduce(lambda x, y: x*y, setMulti) # gets something to multply base bonus -print "bonus multipler from set: ", setTotal -# Then, apply that multiplier to each base bonus to get the effective bonus -effectiveBonii = map(lambda x: (x*setTotal)+1, baseBonii) # +1 to make these modifiers -print "effective bonii: ", effectiveBonii -# Lastly, reduce all the effective bonii to a single total bonus by multiplying them all together (per attribute) -total = reduce(lambda x, y: x*y, effectiveBonii) - -print total \ No newline at end of file