基础计算

This commit is contained in:
2025-03-23 16:12:22 +08:00
parent 3b4a503f01
commit 2502450e5b
2 changed files with 48 additions and 26 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
# 看看就行, 计算细节通用的数据
# region
def 强化技攻(强化等级, 强化类型, 部位):
增幅技攻 = [0] * 11 + [0.2, 0.4, 0.7, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2, 2.4]
强化技攻 = [0] * 13 + [0.4, 0.7, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2]
if 强化类型 == '强化':
def 强化技攻(强化等级:int, 强化类型:int, 部位:str):
增幅技攻 = [0] * 10 + [0.2, 0.4, 0.7, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2, 2.4]
强化技攻 = [0] * 12 + [0.4, 0.7, 1.0, 1.2, 1.4, 1.6, 1.8, 2.0, 2.2]
if 强化类型 == 0:
if 部位 not in ['武器', '耳环']:
return 0
else: