Files
HEROLL/HEROLL_OUTGAME_2.0.1/13-抽卡与保底/02-规则说明.md
T

50 lines
3.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 13 抽卡与保底:规则与数值
## 已恢复的配置关系
gachatype 按 type/buttonNum 定义 gachaCount、免费或广告、消耗和替代道具;gacha 同 type 行组成配置候选池;gachaceildata 按 type 配 ceilCount/isResetBeforeCeil/ceilRewardString。rewardID=-1 注释表示指定类型中的全池。
证据等级A仅确认字段原值;下列示例不是全量表,所有等级、成本、奖励、参数见所链接CSV。
## 核心规则核对
| 规则解读 | 源字段原值 | 证据定位 |
| --- | --- | --- |
| shopGacha单抽:道具101消耗30,存在替代道具204 | gachaCount=1;needItemID=101;needCount=30;isAlterBtn=True;alterItemID=204;alterCount=30 | E-gachatype / StringId=shopGacha_1_1 / CSV记录5 |
| shopGacha十连:道具101消耗300;抵扣值并非已确认券消耗数 | gachaCount=10;needItemID=101;needCount=300;alterItemID=204;alterCount=30 | E-gachatype / StringId=shopGacha_2_10 / CSV记录6 |
| 高级装备保底次数及提前命中重置标记 | type=advancedEquipmentGacha;ceilCount=20;isResetBeforeCeil=False;ceilRewardString=advancedEquipmentGacha_EQUIPMENT_3_-1_FALSE_1 | E-gachaceildata / StringId=advancedEquipmentGacha20 / CSV记录4 |
| 增强装备保底次数及提前命中重置标记 | type=enhancedEquipmentGacha;ceilCount=50;isResetBeforeCeil=False;ceilRewardString=enhancedEquipmentGacha_EQUIPMENT_3_-1_TRUE_1 | E-gachaceildata / StringId=enhancedEquipmentGacha50 / CSV记录5 |
| 坐骑保底必须读取ceilCount=400;StringId尾部50不是实际次数 | type=mount_Gacha;ceilCount=400;isResetBeforeCeil=True;ceilRewardString=mount_Gacha_ITEM_0_169_FALSE_1 | E-gachaceildata / StringId=mount_00_Gacha50 / CSV记录6 |
## 子功能规则
### 抽卡操作与成本
按type/buttonNum区分按钮,gachaCount为抽数;isFree/isAD与ADcooldown描述免费广告档,needItemID/needCount与替代资源字段描述消费。
对应原表:`gachatype`,23条。[完整数值](./04-数值明细/gachatype.md)。
### 抽卡候选奖励
同type下记录候选奖励、品质、权重、特殊标记和数量;rewardType必须与rewardID一起解释,-1按原注释指特定类型中的全池。
对应原表:`gacha`,60条。[完整数值](./04-数值明细/gacha.md)。
### 抽卡保底
type关联抽卡池,ceilCount是保底次数,isResetBeforeCeil标记提前获得时的重置配置,ceilRewardString明确对应奖励行。
对应原表:`gachaceildata`,3条。[完整数值](./04-数值明细/gachaceildata.md)。
## 关联全局配置
| 键 | 原值 | CSV记录序号 |
| --- | --- | --- |
| enhancedGachaUnlockStage | 2 | 41 |
[完整全局配置](../00-共享配置/gameconfig.csv) · [规则来源](./03-表格/规则证据.csv) · [原作符号索引](./03-表格/元数据符号.csv)
## 尚待补充的原作细节
prob 是未归一化字段,真实概率依赖运行时筛选和保底优先级;券抵扣、十连计数、跨池累计及动态池内容需实机或原生验证。