mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
🐛 fix bug
This commit is contained in:
parent
da74b2f59e
commit
1a0972a092
@ -571,7 +571,7 @@ async def _(event: MessageEvent, state: T_State, msg: Message = CommandArg()):
|
|||||||
uid = await get_last_query(str(event.user_id))
|
uid = await get_last_query(str(event.user_id))
|
||||||
if uid:
|
if uid:
|
||||||
state['uid'] = uid
|
state['uid'] = uid
|
||||||
msg = msg.extract_plain_text().replace(state['uid'], '').strip()
|
msg = msg.extract_plain_text().replace(state['uid'] if 'uid' in state else 'ysd', '').strip()
|
||||||
if not msg:
|
if not msg:
|
||||||
await role_info.finish('请把要查询角色名给派蒙哦~')
|
await role_info.finish('请把要查询角色名给派蒙哦~')
|
||||||
if msg.startswith(('a', '全部', '所有', '查看')):
|
if msg.startswith(('a', '全部', '所有', '查看')):
|
||||||
|
@ -71,7 +71,7 @@ def get_role_dmg(data: dict):
|
|||||||
dmg_data['旋火轮'] = udc(dm['旋火轮'] * attack, (cr + vq['暴击率'], cd), db[1] + vq['增伤'], level_role, rcd=rcd)
|
dmg_data['旋火轮'] = udc(dm['旋火轮'] * attack, (cr + vq['暴击率'], cd), db[1] + vq['增伤'], level_role, rcd=rcd)
|
||||||
dmg_data['旋火轮蒸发'] = udc(dm['旋火轮'] * attack, (cr + vq['暴击率'], cd), db[1] + vq['增伤'], level_role, rcd=rcd, r=zf)
|
dmg_data['旋火轮蒸发'] = udc(dm['旋火轮'] * attack, (cr + vq['暴击率'], cd), db[1] + vq['增伤'], level_role, rcd=rcd, r=zf)
|
||||||
elif data['名称'] == '魈':
|
elif data['名称'] == '魈':
|
||||||
va['下落攻击增伤'] += dm['靖妖傩舞']
|
va['下落攻击增伤'] += dm['B:靖妖傩舞']
|
||||||
dmg_data = get_dmg_data(dm, attack, cr, cd, db[5], level_role, va, ve, vq)
|
dmg_data = get_dmg_data(dm, attack, cr, cd, db[5], level_role, va, ve, vq)
|
||||||
elif data['名称'] == '申鹤':
|
elif data['名称'] == '申鹤':
|
||||||
dmg_data['冰翎加成'] = str(int(dm['冰翎'] * attack))
|
dmg_data['冰翎加成'] = str(int(dm['冰翎'] * attack))
|
||||||
|
Loading…
Reference in New Issue
Block a user