Skip to content

CombatSolver 1.0.6

Choose a tag to compare

@Torch1230 Torch1230 released this 29 Nov 12:15
· 77 commits to main since this release

CombatSolver 1.0.6

简体中文

CombatSolver 1.0.6 修复 C# HotKernel 中的整数 Var0 小数精度导入判定、Wither 回合末扣血计算以及 12 张动态计算牌的差值重复累加问题,消除中盘重捕与持续伪升级(如永恒沙漏 Boss 战)场景下的伤害/格挡偏差与计划外重算。请确保同时启用 RitsuLib 0.6.16 或更高版本。

  • 整数 Var0 精度匹配导入修复(HotRootBuilder):修复整数 Var0 导入时误将基础值 expected(而非 expected + delta)与实机值比对精度的问题,恢复常规整数改值牌对规范定义(CanonicalDefId + Var0Delta)的复用,同时继续隔离不同小数精度的变体定义。
  • Wither 回合末扣血与伪升级对齐(HotCombatEngine.Turn):改用 def.GetDamage(c.UpgradeLevel, c.Var0Delta) 结算 Wither 回合末伤害,确保规范定义与变体定义在永恒沙漏(Aeonglass)连续伪升级场景中均与原版一致。
  • 12 张动态计算牌差值去重(HotRegentNecro/HotFoolTarot):移除 CrescentSpear、Supermassive、DeathMarch、Protector、SoulStorm、Squeeze、TimesUp、Unleash、Anguish、HarmonicShield、WahSymphony 与 TheTower 在 GetVarInt 已叠加变量差值后的重复 Var0Delta/Var1Delta 加法,修复动态数值牌的伤害/格挡双倍偏移。
  • 实机 sts2.dll 导入回归门禁(--verify-hot-import):新增 5 项覆盖规范/变体 Wither 导入与回合末扣血、后续伪升级递进、永恒沙漏多回合血量/格挡与动态计算牌去重的实机导入回归检查。

English

CombatSolver 1.0.6 fixes integer Var0 decimal-scale import matching, turn-end Wither damage calculation, and duplicate Var0Delta/Var1Delta additions across 12 calculated cards in C# HotKernel, eliminating mid-combat import and progressive fake-upgrade discrepancies (including Aeonglass encounters). Please ensure RitsuLib 0.6.16 or later is enabled.

  • Integer Var0 Decimal-Scale Import Fix (HotRootBuilder): Compares expected + (short)whole rather than bare expected against actual when checking integer Var0 decimal scales, preserving canonical card definition reuse with Var0Delta while still isolating distinct decimal-scale variants.
  • Turn-End Wither Damage & Fake-Upgrade Alignment (HotCombatEngine.Turn): Computes turn-end Wither self-damage via def.GetDamage(c.UpgradeLevel, c.Var0Delta) so both canonical and variant definitions match live STS2 across progressive Aeonglass fake upgrades.
  • Calculated-Card Delta Deduplication (HotRegentNecro / HotFoolTarot): Removes duplicate Var0Delta/Var1Delta additions on 12 calculated cards (CrescentSpear, Supermassive, DeathMarch, Protector, SoulStorm, Squeeze, TimesUp, Unleash, Anguish, HarmonicShield, WahSymphony, and TheTower) where GetVarInt already applies card variable deltas.
  • Live sts2.dll Import Regression Gate (--verify-hot-import): Adds 5 live-assembly regression checks covering canonical and variant Wither import and turn-end damage, next fake-upgrade progression, Aeonglass multi-turn HP/block scenarios, and calculated-card Var0Delta deduplication.