Haste 效果
基本信息
| 属性 | 值 |
|---|---|
| 来源 | EffectsList 内置(builder name "haste") |
| 关联 Potion | Potion.digSpeed(原版 Minecraft) |
| 检测类型 | EnumDetectionType.AVERAGE |
| 营养区间 | [90, 100] |
功能
当玩家 5 大 Nutrient 平均值高于 90 时,应用原版 Haste,提高挖掘速度。
注册
EFFECTS.add(
Effect.builder("haste", Potion.digSpeed)
.nutrientRange(90, 100)
.detectionType(EnumDetectionType.AVERAGE)
.build());
行为
nutrientRange(90, 100):平均 Nutrient 值在 [90, 100] 区间触发- AVERAGE 检测:所有 Nutrient 的算术平均落入区间即触发
- amplifier 固定 0(Haste I),挖掘速度 +20%
与 Strength / Resistance 的差异
| 效果 | 区间 | 表现 |
|---|---|---|
| Strength | 70-100 | 近战 +130% |
| Resistance | 80-100 | 伤害减免 -20% |
| Haste | 90-100 | 挖掘速度 +20% |
| Toughness | 90-100(CUMULATIVE) | HP + knockbackResistance 同时增加,按 Nutrient 命中数叠加 |
阈值 90 触发 Haste(固定 amplifier)后,同时还会按 CUMULATIVE 算法叠加 Toughness。
相关条目
- Resistance - 阈值 80 的中级回报
- Toughness - 阈值 90 的另一 CUMULATIVE 效果
- 效果阈值检测类型 - AVERAGE 与 CUMULATIVE 对比