修改遗器评分主词条计算

This commit is contained in:
季落 2023-09-24 17:02:11 +08:00 committed by qwerdvd
parent 6834934290
commit 81d5a65701

View File

@ -782,8 +782,8 @@ async def get_relic_score(
subProperty = 'AttributeAddedRatio' subProperty = 'AttributeAddedRatio'
if weight_dict.get(subProperty, 0) > 0: if weight_dict.get(subProperty, 0) > 0:
relic_score += 5.83 relic_score += 5.83
if relicType in [3, 5]: if relicType in [3, 5]:
relic_score += 10 relic_score += 10
else: else:
if subProperty == 'CriticalDamageBase': if subProperty == 'CriticalDamageBase':
add_value = subValue * 1 * weight_dict['CriticalDamageBase'] * 100 add_value = subValue * 1 * weight_dict['CriticalDamageBase'] * 100