🐛 修复 gacha_type 判断错误的情况

This commit is contained in:
洛水居室 2022-10-15 22:50:44 +08:00
parent 09b03888eb
commit 9660ffbd24
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -81,7 +81,7 @@ class GachaHandle:
banner.fallback_items4_pool1.append(avatar_to_game_id(r4_prob_list["item_name"])) banner.fallback_items4_pool1.append(avatar_to_game_id(r4_prob_list["item_name"]))
elif r4_prob_list["item_type"] == "武器": elif r4_prob_list["item_type"] == "武器":
banner.fallback_items4_pool1.append(weapon_to_game_id(r4_prob_list["item_name"])) banner.fallback_items4_pool1.append(weapon_to_game_id(r4_prob_list["item_name"]))
if gacha_type in (310, 400): if gacha_type in (301, 400):
banner.wish_max_progress = 1 banner.wish_max_progress = 1
banner.banner_type = BannerType.EVENT banner.banner_type = BannerType.EVENT
banner.weight4 = ((1, 510), (8, 510), (10, 10000)) banner.weight4 = ((1, 510), (8, 510), (10, 10000))