新增查看指令

This commit is contained in:
2025-11-10 22:30:16 +08:00
parent f5b03422e4
commit aba445f438
9 changed files with 240 additions and 39 deletions

View File

@@ -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}