Created
August 8, 2018 13:53
-
-
Save alcaras/4d4d180efe33afb9ff20110ba4341d2b to your computer and use it in GitHub Desktop.
azerite curve calculator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curve = {} | |
curve[1] = [0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 1.16, 1.73, 2.53, 3.65, 5.22, 6.79, 8.83, 11.48, 14.92, 19.4, 25.22, 32.79, 42.63, 55.42, 72.05, 93.67, 121.77, 158.3, 205.79, 267.53, 347.79, 452.13, 587.77, 764.1, 993.3] | |
curve[2] = [0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75, 1.16, 1.73, 2.53, 3.65, 5.22, 6.79, 8.83, 11.48, 14.92, 19.4, 25.22, 32.79, 42.63, 55.42, 72.05, 93.67, 121.77, 158.3, 205.79, 267.53, 347.79, 452.13, 587.77, 764.1, 993.3] | |
curve[3] = [0.23, 0.27, 0.31, 0.35, 0.38, 0.42, 0.46, 0.5, 0.54, 0.58, 0.89, 1.33, 1.95, 2.81, 4.02, 5.22, 6.79, 8.83, 11.48, 14.92, 19.4, 25.22, 32.79, 42.63, 55.42, 72.05, 93.67, 121.77, 158.3, 205.79, 267.53, 347.79, 452.13, 587.77, 764.08] | |
curve[4] = [0.18, 0.21, 0.24, 0.27, 0.3, 0.33, 0.36, 0.38, 0.41, 0.44, 0.69, 1.02, 1.5, 2.16, 3.09, 4.02, 5.22, 6.79, 8.83, 11.48, 14.92, 19.4, 25.22, 32.79, 42.63, 55.43, 72.05, 93.67, 121.77, 158.3, 205.79, 267.53, 347.79, 452.13, 587.75] | |
curve[5] = [0.14, 0.16, 0.18, 0.2, 0.23, 0.25, 0.27, 0.3, 0.32, 0.34, 0.53, 0.79, 1.15, 1.66, 2.38, 3.09, 4.02, 5.23, 6.79, 8.83, 11.48, 14.92, 19.4, 25.23, 32.79, 42.64, 55.43, 72.05, 93.67, 121.77, 158.3, 205.79, 267.53, 347.79, 452.12] | |
curve[6] = [0.11, 0.12, 0.14, 0.16, 0.18, 0.19, 0.21, 0.23, 0.25, 0.26, 0.41, 0.61, 0.89, 1.28, 1.83, 2.38, 3.09, 4.02, 5.22, 6.79, 8.83, 11.48, 14.93, 19.4, 25.23, 32.8, 42.64, 55.43, 72.05, 93.67, 121.77, 158.3, 205.79, 267.53, 347.78] | |
curve[7] = [0.08, 0.09, 0.11, 0.12, 0.13, 0.15, 0.16, 0.18, 0.19, 0.2, 0.31, 0.47, 0.68, 0.98, 1.41, 1.83, 2.38, 3.09, 4.02, 5.22, 6.79, 8.83, 11.48, 14.93, 19.41, 25.23, 32.8, 42.63, 55.43, 72.05, 93.67, 121.77, 158.3, 205.79, 267.52] | |
curve[8] = [0.06, 0.07, 0.08, 0.09, 0.1, 0.11, 0.12, 0.13, 0.15, 0.16, 0.24, 0.36, 0.52, 0.76, 1.08, 1.41, 1.83, 2.38, 3.09, 4.02, 5.22, 6.79, 8.83, 11.48, 14.93, 19.41, 25.23, 32.8, 42.63, 55.43, 72.05, 93.67, 121.77, 158.3, 205.79] | |
curve[9] = [0.05, 0.06, 0.06, 0.07, 0.08, 0.09, 0.1, 0.1, 0.11, 0.12, 0.18, 0.28, 0.4, 0.58, 0.83, 1.08, 1.41, 1.83, 2.38, 3.09, 4.02, 5.23, 6.79, 8.83, 11.48, 14.93, 19.41, 25.23, 32.8, 42.64, 55.43, 72.05, 93.67, 121.77, 158.3] | |
curve[10] = [0.04, 0.04, 0.05, 0.06, 0.06, 0.07, 0.07, 0.08, 0.09, 0.09, 0.14, 0.21, 0.31, 0.45, 0.64, 0.83, 1.08, 1.41, 1.83, 2.38, 3.09, 4.02, 5.23, 6.79, 8.83, 11.48, 14.93, 19.41, 25.23, 32.8, 42.64, 55.43, 72.05, 93.67, 121.77] | |
k_azerite_per_week = 1 | |
for k_azerite_per_week in range(1, 43): | |
rank_at_each_week = [] | |
total = 0 | |
for week in range(1,11): | |
total += k_azerite_per_week | |
running_total = 0 | |
for i, level in enumerate(curve[week]): | |
running_total += level | |
if running_total >= total: | |
break | |
rank_at_each_week += [i] | |
for i in rank_at_each_week: | |
print i, "\t", | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment