fix:修正徽章改版
This commit is contained in:
@@ -517,10 +517,10 @@ def emblem_4701(char: CharacterProperty):
|
|||||||
|
|
||||||
@register
|
@register
|
||||||
def emblem_combine(char: CharacterProperty, position: str, lv: int = 1, emblem_list: list[int | str] = []):
|
def emblem_combine(char: CharacterProperty, position: str, lv: int = 1, emblem_list: list[int | str] = []):
|
||||||
bufferP = [0.001, 0.002, 0.004, 0.006, 0.008, 0.01, 0.013, 0.016, 0.019, 0.022, 0.025, 0.026, 0.027, 0.028, 0.029, 0.03]
|
bufferP = [0.001, 0.002, 0.003, 0.004, 0.005, 0.006, 0.007, 0.008, 0.008, 0.010, 0.011, 0.012, 0.013, 0.014, 0.015, 0.016]
|
||||||
buffer = [10, 30, 60, 90, 120, 150, 180, 210, 240270, 300, 320, 340, 360, 380, 400]
|
buffer = [10, 30, 60, 90, 120, 150, 180, 210, 240270, 300, 320, 340, 360, 380, 400]
|
||||||
skillAttack = [0.002, 0.004, 0.008, 0.012, 0.016, 0.02, 0.023, 0.026, 0.029, 0.032, 0.035, 0.036, 0.037, 0.038, 0.039, 0.04]
|
skillAttack = [0.001, 0.002, 0.003, 0.004, 0.005, 0.006, 0.007, 0.008, 0.008, 0.010, 0.011, 0.012, 0.013, 0.014, 0.015, 0.016]
|
||||||
attackP = [0.005, 0.009, 0.013, 0.017, 0.021, 0.025, 0.028, 0.031, 0.034, 0.037, 0.04, 0.042, 0.044, 0.046, 0.048, 0.05]
|
attackP = [0.001, 0.002, 0.003, 0.004, 0.005, 0.006, 0.007, 0.008, 0.008, 0.010, 0.011, 0.012, 0.013, 0.014, 0.015, 0.016]
|
||||||
if position == '白金':
|
if position == '白金':
|
||||||
return
|
return
|
||||||
# 固有属性
|
# 固有属性
|
||||||
@@ -533,22 +533,22 @@ def emblem_combine(char: CharacterProperty, position: str, lv: int = 1, emblem_l
|
|||||||
emblem_raritys = [safeParseInt(i) // 1000 for i in emblems]
|
emblem_raritys = [safeParseInt(i) // 1000 for i in emblems]
|
||||||
# 稀有
|
# 稀有
|
||||||
if rarity == 0:
|
if rarity == 0:
|
||||||
skillAttack = [0.001, 0.001, 0.002, 0.002]
|
skillAttack = [0.001, 0.002, 0.002, 0.002]
|
||||||
buffer = [10, 10, 20, 20]
|
buffer = [10, 20, 20, 20]
|
||||||
# 神器
|
# 神器
|
||||||
elif rarity == 1:
|
elif rarity == 1:
|
||||||
skillAttack = [0.001, 0.002, 0.003, 0.004]
|
skillAttack = [0.002, 0.003, 0.003, 0.003]
|
||||||
buffer = [10, 20, 30, 40]
|
buffer = [20, 30, 30, 30]
|
||||||
pass
|
pass
|
||||||
# 传说
|
# 传说
|
||||||
elif rarity == 2:
|
elif rarity == 2:
|
||||||
skillAttack = [0.002, 0.003, 0.004, 0.005]
|
skillAttack = [0.003, 0.003, 0.004, 0.004]
|
||||||
buffer = [20, 30, 40, 50]
|
buffer = [30, 30, 40, 40]
|
||||||
pass
|
pass
|
||||||
# 史诗
|
# 史诗
|
||||||
elif rarity == 3:
|
elif rarity == 3:
|
||||||
skillAttack = [0.002, 0.003, 0.005, 0.006]
|
skillAttack = [0.003, 0.004, 0.004, 0.005]
|
||||||
buffer = [20, 30, 50, 60]
|
buffer = [30, 40, 40, 50]
|
||||||
pass
|
pass
|
||||||
SkillAttack = 0
|
SkillAttack = 0
|
||||||
Buffer = 0
|
Buffer = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user