新增查看指令
This commit is contained in:
@@ -981,7 +981,7 @@ class CombatService:
|
||||
materials = list(ADVENTURE_MATERIALS.items())
|
||||
# 高阶段有更高概率掉稀有材料
|
||||
idx = min(stage // 2, len(materials) - 1)
|
||||
item_id, (name, tier) = random.choice(materials[max(0, idx-1):])
|
||||
item_id, (_, tier, _) = random.choice(materials[max(0, idx-1):])
|
||||
quantity = random.randint(1, 3)
|
||||
return {"type": "material", "item_id": item_id, "quantity": quantity}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user