mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 15:36:44 +00:00
🐛 修复 gacha_type
判断错误的情况
This commit is contained in:
parent
09b03888eb
commit
9660ffbd24
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user