mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-07 04:03:44 +08:00
✨添加回复
This commit is contained in:
parent
3d1922884d
commit
82041aa7a5
@ -30,8 +30,11 @@ async def cal(char_data: Dict):
|
||||
|
||||
raw_data['skill'] = char.char_skill
|
||||
|
||||
im = []
|
||||
|
||||
for skill_type in ['Normal', 'BPSkill', 'Ultra']:
|
||||
role = RoleInstance(raw_data)
|
||||
print(role)
|
||||
await role.cal_damage(skill_type)
|
||||
return '还没写完呢'
|
||||
im_tmp = await role.cal_damage(skill_type)
|
||||
im.append(im_tmp)
|
||||
return im
|
||||
|
@ -228,4 +228,6 @@ class RoleInstance:
|
||||
* damage_reduction
|
||||
* critical_damage
|
||||
)
|
||||
im = f'{skill_type} 伤害: {damage}'
|
||||
logger.info(f'{skill_type} 伤害: {damage}')
|
||||
return im
|
||||
|
Loading…
x
Reference in New Issue
Block a user