模组简介
准确的 DOT 预览 / Accurate DOT Preview 让伤害类减益在生命条上显示生物实际会失去的生命。 Shows the HP that damage-dealing debuffs will actually remove. 面向玩家 原版“中毒”的伤害预览只计算伤害阶段,可能漏掉缓冲、滑溜、硬化外壳等在生命损失阶段生效的防御。这个模组会用与实际伤害结算一致的顺序模拟这些效果,让生命条预览更接近回合开始时真正发生的结果。 • 修正原版“中毒”的生命条伤害预览。 • 计算标准伤害钩子与生命损失钩子。 • 正确模拟多次触发,以及会被逐次消耗或累计的防御状态。 • 预览过程不会消耗格挡、能力层数、遗物计数或生命。 • 只修正显示,不改变实际伤害结算。 示例: 目标有 10 层中毒和 1 层缓冲时,原版可能仍预览损失 10 点生命;本模组会预览 0。真正结算时才会消耗缓冲。 当前版本内置接入原版“中毒”。其他模组添加的伤害类减益需要由其作者调用下方公开 API,才能加入同一套预览计算。 For Players Vanilla Poison previews the damage stage but can miss defenses that modify HP loss, such as Buffer, Slippery, Hardened Shell, and Tungsten Rod. This mod simulates those effects in damage-resolution order so the health-bar preview better matches what will happen at the start of the turn. • Fixes the vanilla Poison health-bar preview. • Accounts for standard damage and HP-loss hooks. • Simulates multi-trigger Poison and consumable or cumulative defenses in order. • Never consumes real block, powers, relic counters, or HP while previewing. • Changes the preview only; actual damage resolution is untouched. The built-in integration currently targets vanilla Poison. Damage-dealing debuffs from other mods must opt into the public API described below. 面向模组作者 / For Mod Authors 模组提供稳定且无副作用的公开入口: DefenseAwareDebuffPreview.Api.DamageDebuffPreviewApi • CalculateTotalHpLoss :计算单一伤害来源的一次或多次命中。 • CalculateBySource :按传入顺序共同模拟任意数量的伤害来源,并通过 GetHpLoss 分别取得每个来源的生命损失。 • 所有来源共享同一个防御快照,因此格挡、缓冲、滑溜、硬化外壳等状态不会被每种减益重复使用。 • 每个来源可以使用自己的 ValueProp、伤害者与卡牌上下文。 The API calculates and attributes damage; the consuming mod remains responsible for creating its own health-bar forecast segment. Sources that resolve at the same time should be collected into one ordered calculation. 调用方应在模组清单中依赖 DefenseAwareDebuffPreview v0.1.0+ ,编译时引用 DefenseAwareDebuffPreview.dll,并避免把重复 DLL 打包进自己的模组。 Consumers should declare DefenseAwareDebuffPreview v0.1.0+ as a mod dependency, reference DefenseAwareDebuffPreview.dll at compile time, and avoid bundling a duplicate copy. 未来的开发计划 / Future Development Plans • 支持更多模组(包括更多触发时机)的持续伤害类效果。 / Support more DOT effects from mods, including additional trigger timings. • 支持更多模组原创的防御类power / Support more mod-original defensive powers. • 支持随机数预测(参考 Random Foreseer )。 / Support RNG prediction (see Random Foreseer ). • 其它需求敬请留言 / For additional requests, please leave a comment. 信息 / Information • 版本 / Version: v0.1.0 • 作者 / Author: Sadaki • 最低游戏版本 / Minimum game version: 0.107.1 • 运行依赖 / Runtime dependencies: None • Source code and API documentation / 源代码与 API 文档 • License: AGPL-3.0
详情图片
条目信息
- 所属游戏
- 杀戮尖塔 2 (Slay the Spire 2)
- 创意工坊 ID
- 3824122789
- 文件名
- 3824122789.bin
- 文件大小
- 42.0 KB
- 最后更新
- 2026/10/22
- 内容版本
- v1792604295-b5ca667ba2555636
- 作者与来源
- 由原作者发布于 Steam 创意工坊。本站不改变署名,作者信息与原始内容请以 Steam 原始页面 为准。
