|
|
@@ -122,7 +122,6 @@ GameItems模块主要负责游戏内所有物品的管理,包括但不限于
|
|
|
| chest_id | int | 宝箱物品ID,外键关联items表 |
|
|
|
| item_id | int | 可能获得的物品ID(与group_id二选一) |
|
|
|
| group_id | int | 物品组ID,外键关联item_groups表(与item_id二选一) |
|
|
|
-| is_unique | tinyint | 是否生成单独属性物品(0:否, 1:是) |
|
|
|
| min_quantity | int | 最小数量 |
|
|
|
| max_quantity | int | 最大数量 |
|
|
|
| weight | int | 权重,决定获取概率 |
|
|
|
@@ -174,7 +173,6 @@ GameItems模块主要负责游戏内所有物品的管理,包括但不限于
|
|
|
| item_chest_contents | chest_id | 普通索引 | 加速宝箱内容查询 |
|
|
|
| item_chest_contents | item_id | 普通索引 | 加速物品在宝箱中的查询 |
|
|
|
| item_chest_contents | group_id | 普通索引 | 加速查询物品组在宝箱中的配置 |
|
|
|
-| item_chest_contents | is_unique | 普通索引 | 加速查询生成唯一物品的宝箱配置 |
|
|
|
| item_chest_contents | pity_count | 普通索引 | 加速查询启用保底的宝箱内容 |
|
|
|
|
|
|
| item_pity_times | user_id, chest_id, chest_content_id | 复合索引 | 加速查询用户对特定宝箱内容的保底计数 |
|