更新2.7资源

This commit is contained in:
CMHopeSunshine 2022-05-31 10:43:11 +08:00
parent 1b08a4e5ab
commit f09b398c13
19 changed files with 18 additions and 12 deletions

View File

@ -222,18 +222,18 @@ async def get_dg_weapon():
def gacha_type_by_name(gacha_type):
if re.match(r'^角色1|限定1|角色2|限定2(?:池)$', gacha_type):
return 301
# if re.match(r'^角色1|限定1(?:池)$', gacha_type):
# if re.match(r'^角色1|限定1|角色2|限定2(?:池)$', gacha_type):
# return 301
# if re.match(r'^角色2|限定2(?:池)$', gacha_type):
# return 400
if re.match(r'^角色1|限定1(?:池)$', gacha_type):
return 301
if re.match(r'^角色2|限定2(?:池)$', gacha_type):
return 400
if re.match(r'^武器|武器池$', gacha_type):
return 302
if re.match(r'^常驻|普(?:池)$', gacha_type):
return 200
if re.match(r'^新角色1|新限定1|新角色2|新限定2(?:池)$', gacha_type):
return 'role_1_pool'
# if re.match(r'^新角色1|新限定1|新角色2|新限定2(?:池)$', gacha_type):
# return 'role_1_pool'
if re.match(r'^彩蛋池?$', gacha_type):
return 'all_star'
# if re.match(r'^新角色1|新限定1(?:池)$', gacha_type):

View File

@ -196,7 +196,7 @@ async def draw_player_card(data, chara_data, uid, nickname="旅行者"):
bg_draw = ImageDraw.Draw(bg_img)
# 头部名片
name_id = random.choice(data['avatars'][0:8])['id']
name_card = load_image(os.path.join(res_path, 'name_card', f'{name_id}.png'), crop=(0, 40, 840, 360), size=(846, 322))
name_card = load_image(os.path.join(res_path, 'name_card', f'{name_id}.png'), crop=(0, 40, 840, 360), size=(846, 352))
avatar = load_image(os.path.join(res_path, 'role_profile', f'{name_id}.png'), size=(240, 240))
bg_img.alpha_composite(name_card, (57, 27))
bg_img.alpha_composite(avatar, (360, 25))

View File

@ -111,5 +111,8 @@
"神乐之真意": "法器",
"八重神子": "雷",
"神里绫人": "水",
"波乱月白经津": "单手剑"
"波乱月白经津": "单手剑",
"夜兰": "弓",
"久岐忍": "单手剑",
"若水": "弓"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

BIN
res/name_card/10000060.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 538 KiB

BIN
res/name_card/10000065.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 KiB

BIN
res/role_card/10000060.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

BIN
res/role_card/10000065.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 386 KiB

BIN
res/role_splash/夜兰.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 KiB

BIN
res/thumb/久岐忍.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
res/thumb/夜兰.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

BIN
res/thumb/若水.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

View File

@ -49,8 +49,8 @@
"10000063": ["申鹤", "小姨", "小姨妈"],
"10000064": ["云堇", "云先生"],
"10000066": ["神里绫人", "0人", "大舅子", "小舅子", "绫人", "神里哥", "凌人", "神里凌人"],
"11111111": ["夜兰", "夜阑"],
"11111112": ["久岐忍", "忍者", "阿卡丽"],
"10000060": ["夜兰", "夜阑", "叶兰"],
"10000065": ["久岐忍", "忍者", "阿卡丽"],
"11111113": ["鹿野院平藏", "近战法师"]
},
"weapons": {

View File

@ -49,6 +49,8 @@
"岩主": "岩主",
"云堇": "云堇",
"神里绫人": "绫人",
"夜兰": "夜兰",
"久岐忍": "岐忍",
"神乐之真意": "神乐",
"息灾": "息灾",
"赤角石溃杵": "赤角",
@ -75,5 +77,6 @@
"斫峰之刃": "斫峰",
"磐岩结绿": "绿剑",
"护摩之杖": "护摩",
"波乱月白经津": "波乱"
"波乱月白经津": "波乱",
"若水": "若水"
}