simulate_gacha
Simulate gacha draws to analyze probability distributions and expected pulls. Supports tiered pools without pity and gacha with soft/hard pity systems.
Instructions
概率模拟(确定性引擎):mode=tiers 模拟无保底分层概率池(rogue 技能三选一、宝箱品质掉落)N 次抽取的各层次数分布与分位;mode=pity 模拟带保底的抽卡(基础概率+软/硬保底)抽数分布与期望。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | tiers=分层池抽取;pity=保底抽卡 | |
| draws | No | mode=tiers:单轮抽取次数(如一局 15 次三选一 = 15 抽) | |
| tiers | No | mode=tiers 必填:各层名称与单次命中率(概率和须为 1) | |
| baseRate | No | mode=pity:基础概率(如 0.006) | |
| hardPity | No | mode=pity:硬保底抽数 | |
| iterations | No | 模拟轮数(默认 1000) | |
| softPityStart | No | mode=pity:软保底起始抽数 | |
| softPityIncrement | No | mode=pity:软保底每抽概率增量 |