补充3.0新角色武器部分资源信息

This commit is contained in:
CMHopeSunshine 2022-08-17 19:35:34 +08:00
parent 7b6b8128eb
commit 7ca5bbec0c
2 changed files with 43 additions and 10 deletions

View File

@ -149,7 +149,7 @@ def create_wiki_matcher(pattern: str, help_fun: str, help_name: str):
try:
await maps.finish(MessageSegment.image(state['img_url'].format(match_alias)))
except ActionFailed:
await maps.finish(f'没有找到该{state["type"]}的图鉴')
await maps.finish(f'暂时没有{true_name}的资源哦')
elif match_alias:
if isinstance(match_alias, dict):
match_alias = list(match_alias.keys())
@ -159,7 +159,7 @@ def create_wiki_matcher(pattern: str, help_fun: str, help_name: str):
await maps.send(msg + '\n回答\"取消\"来取消查询', at_sender=True)
state['match_alias'] = match_alias
else:
await maps.finish(f'没有找到该{state["type"]}的图鉴')
await maps.finish(MessageBuild.Text(f'没有找到叫{name}{state["type"]}'))
@maps.got('choice')
async def _(event: MessageEvent, state: T_State, choice: str = ArgPlainText('choice')):
@ -170,7 +170,7 @@ def create_wiki_matcher(pattern: str, help_fun: str, help_name: str):
try:
await maps.finish(MessageSegment.image(state['img_url'].format(match_alias[int(choice) - 1])))
except ActionFailed:
await maps.finish(f'没有找到该{state["type"]}的图鉴')
await maps.finish(f'暂时没有{match_alias[int(choice) - 1]}的资源哦')
if choice not in match_alias:
state['times'] = state['times'] + 1 if 'times' in state else 1
if state['times'] == 1:
@ -183,7 +183,7 @@ def create_wiki_matcher(pattern: str, help_fun: str, help_name: str):
try:
await maps.finish(MessageSegment.image(state['img_url'].format(choice)))
except ActionFailed:
await maps.finish(f'没有找到该{state["type"]}的图鉴')
await maps.finish(f'暂时没有{choice}的资源哦')
create_wiki_matcher(r'(?P<name1>\w*)(?P<type>(原魔|怪物)(图鉴|攻略))(?P<name2>\w*)', '原魔图鉴', '原魔')

View File

@ -51,7 +51,9 @@
"10000066": ["神里绫人", "0人", "大舅子", "小舅子", "绫人", "神里哥", "凌人", "神里凌人"],
"10000060": ["夜兰", "夜阑", "叶兰"],
"10000065": ["久岐忍", "忍者", "阿卡丽", "97忍", "97人"],
"10000059": ["鹿野院平藏", "近战法师", "平藏", "小鹿"]
"10000059": ["鹿野院平藏", "近战法师", "平藏", "小鹿"],
"11111111": ["提纳里", "小驴"],
"11111112": ["科莱"]
},
"武器": {
"磐岩结绿": [
@ -591,6 +593,36 @@
"笼钓瓶一心",
"万叶刀",
"一心传名刀"
],
"猎人之径": [
"猎人之径",
"绿弓",
"草弓",
"提纳里专武"
],
"竭泽": [
"竭泽",
"鱼弓"
],
"王下近侍": [
"王下近侍",
"须弥锻造弓"
],
"贯月矢": [
"贯月矢",
"须弥锻造长枪"
],
"盈满之实": [
"盈满之实",
"须弥锻造法器"
],
"森林王器": [
"森林王器",
"须弥锻造大剑"
],
"原木刀": [
"原木刀",
"须弥锻造单手剑"
]
},
"圣遗物": {
@ -650,9 +682,10 @@
"染血",
"骑士"
],
"饰金之梦生之花": [
"饰金之梦生之花",
"饰金"
"饰金之梦": [
"饰金之梦生",
"饰金",
"精通"
],
"华馆梦醒形骸记": [
"华馆梦醒形骸记",
@ -736,8 +769,8 @@
"角斗士的终幕礼",
"角斗"
],
"深林的记忆生之花": [
"深林的记忆生之花",
"深林的记忆": [
"深林的记忆",
"草套",
"艹套"
],