Genshin Impact Adventure Rank Calculator

Run Settings
LanguagePython
Language Version
Run Command
#!/usr/bin/env python3 # modified by st4rdu5t # Simple "How many days assuming I do dailies and use all my resin (180 per day) I need until AR X" # fill out these variables MY_AR_EXP = 47459 MY_AR = 59 WANTED_AR = 60 # ignore everything after this just hit "Run" ADVENTURE_RANK_EXP_TABLE = { 40: 145375, 41: 155925, 42: 167450, 43: 179925, 44: 193375, 45: 207775, 46: 223125, 47: 239450, 48: 256725, 49: 274975, 50: 294175, 51: 320575, 52: 349375, 53: 380575, 54: 414175, 55: 450175, 56: 682525, 57: 941500, 58: 1227259, 59: 1540075, 60: 1880200 } RESIN_USAGE_PER_DAY = 180 EXP_PER_20_RESIN = 100 RESIN_EXP_PER_DAY = RESIN_USAGE_PER_DAY / 20 * EXP_PER_20_RESIN DAILY_COMMISION_EXP = 500 + (4 * 250) EXP_GAIN_PER_DAY = DAILY_COMMISION_EXP + RESIN_EXP_PER_DAY TOTAL_EXP_REQUIRED = ADVENTURE_RANK_EXP_TABLE[WANTED_AR] - ADVENTURE_RANK_EXP_TABLE[MY_AR] - MY_AR_EXP print("Your current AR:", MY_AR) print("Your current EXP:", MY_AR_EXP) print("Total Exp required:", TOTAL_EXP_REQUIRED) print("Est. days from AR", MY_AR, "to AR", WANTED_AR, "=", TOTAL_EXP_REQUIRED/EXP_GAIN_PER_DAY, "days")
Editor Settings
Theme
Key bindings
Full width
Lines