Skip to main content

A simple module to calculate the time required for leveling up in Honkai: Star rail.

Project description

计算开拓等级升级所需时间计算

计算升级所需时间

尝试发布PyPI

Todo

  • 每日任务经验
  • 大月卡体力

安装

pip install srec

示例

import srec

current_level = 47
target_level = 70
current_exp = 2470
num_potions = 33
current_stamina = 39

r = srec.Calculate(current_level, target_level, current_exp, num_potions, current_stamina)

print(r.designated_time)

各开拓等级所需经验表

开拓等级 到下一级所需里程 里程差值 累计里程
1 450 N/A 0
2 500 50 450
3 550 50 950
4 610 60 1500
5 670 60 2110
6 720 50 2780
7 780 60 3500
8 840 60 4280
9 900 60 5120
10 960 60 6020
11 1020 60 6980
12 1070 50 8000
13 1130 60 9070
14 1190 60 10200
15 1250 60 11390
16 1310 60 12640
17 1370 60 13950
18 1430 60 15320
19 1500 70 16750
20 1600 100 18250
21 1710 110 19850
22 1830 120 21560
23 1950 120 23390
24 2080 130 25340
25 2210 130 27420
26 2350 140 29630
27 2480 130 31980
28 2620 140 34460
29 2750 130 37080
30 2850 100 39830
31 2960 110 42680
32 3080 120 45640
33 3200 120 48720
34 3330 130 51920
35 3460 130 55250
36 3600 140 58710
37 3730 130 62310
38 3870 140 66040
39 4000 130 69910
40 4140 140 73910
41 4280 140 78050
42 4430 150 82330
43 4570 140 86760
44 4710 140 91330
45 4860 150 96040
46 5000 140 100900
47 5150 150 105900
48 5300 150 111050
49 5440 140 116350
50 5700 260 121790
51 6150 450 127490
52 6630 480 133640
53 7130 500 140270
54 7640 510 147400
55 8170 530 155040
56 8700 530 163210
57 9230 530 171910
58 9780 550 181140
59 10330 550 190920
60 20300 9970 201250
61 21780 1480 221550
62 23350 1570 243330
63 24970 1620 266680
64 26630 1660 291650
65 65070 38440 318280
66 68810 3740 383350
67 72490 3680 452160
68 76120 3630 524650
69 79710 3590 600770
70 等级上限! N/A 680480

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

srec-1.0.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

srec-1.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file srec-1.0.1.tar.gz.

File metadata

  • Download URL: srec-1.0.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for srec-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cb27184a4fd122136be051eee17d3424ff5eb7fd5e824e93aa7ce774eb803643
MD5 75830e44a38b4f15a695b53fc00eec8a
BLAKE2b-256 ea6dee952b8f05647380989514f3be725d7e6bc7749e48cd894d671e7d349829

See more details on using hashes here.

Provenance

File details

Details for the file srec-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: srec-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for srec-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 253f5569623bf74e6804ccb0cd9313ba39e8ab4c659dbf0d4a3504ab16a84d5a
MD5 37baa804bd91a443200575253c0ca376
BLAKE2b-256 ecb3e3235b9025df72afc4c6f6b0ce4151d8620280392cb46b2b2473c588c940

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page