mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
ysd
支持旅行者、增加地区图标、优化评分算法,fix bug
This commit is contained in:
parent
3dd68e9a0e
commit
51d0dd405a
@ -206,6 +206,8 @@ def get_effective(role_name: str, role_weapon: str, artifacts: list, element: st
|
||||
if role_name in ['荧', '空']:
|
||||
role_name = str(element) + '主'
|
||||
if role_name in ra_score['Role']:
|
||||
if len(artifacts) < 5:
|
||||
return ra_score['Role'][role_name]['常规']
|
||||
if role_name == '钟离':
|
||||
if artifacts[-2]['主属性']['属性名'] == '岩元素伤害加成':
|
||||
return ra_score['Role'][role_name]['岩伤']
|
||||
|
Loading…
Reference in New Issue
Block a user