Skip to content

v0.41.0

Choose a tag to compare

@Torch1230 Torch1230 released this 18 Sep 05:26
· 113 commits to main since this release

CombatSolver 0.41.0

简体中文

  • 求解器现在会为能力牌保留专门的完整战斗搜索路线。需要先支付能量或承受少量即时战损、后续回合才产生收益的路线,不再因为开牌当回合的伤害或格挡较低就过早被剪掉;具备合理兑现条件的路线会继续计算到战斗结束,再按最终战损决定是否采用。
  • 新增覆盖铁甲战士、静默猎手、故障机器人、储君、亡灵契约师和无色卡池的统一能力牌估值框架,共登记 104 张单人能力牌。每张牌可以保留自己的启动条件和收益判断,多人专属能力牌不参与单人求解。
  • 能力牌不再只按卡面数字估值。求解器会综合考虑费用、剩余回合、实际触发次数、格挡阈值与省下的能量、后续攻击、抽弃牌、保留与手牌上限、小刀、毒、力量与消耗、球与集中、星能、灾厄、召唤物、敌人数及延迟收益等因素。
  • 对于强力但有副作用或启动要求的能力,求解器会同时衡量启动时机与后续代价;对于依赖特定牌、资源或触发次数的能力,只计算当前路线真正能够兑现的部分,避免把无法打出的牌和无法触发的收益提前算满。
  • 能力牌路线仍需真实支付费用、执行抽牌与随机结果,并承担药水消耗和战损。只有完整获胜且最终结果更好的路线才能替换原路线;没有收益、启动过晚或导致死亡的路线仍会被淘汰。
  • 当前版本优先解决“能力路线没有被算到底”的问题,部分复杂能力仍使用保守的首阶段模型。战斗开始时完全没有已登记能力牌、之后才由其他效果临时生成能力牌的情况,目前仍主要依赖普通搜索和药水搜索,后续会继续逐卡完善。

English

  • The solver now preserves dedicated full-combat search routes for Power cards. Setup lines that pay energy or accept a small immediate loss for later-turn value are no longer pruned solely because their opening damage or Block is lower. Credible Power routes are searched through the combat and compared by their final HP loss.
  • A unified valuation framework now covers 104 single-player Powers across Ironclad, Silent, Defect, Regent, Necrobinder, and Colorless pools. Each card can keep its own setup requirements and payoff rules, while multiplayer-only Powers remain outside single-player solving.
  • Power valuation is no longer limited to printed numbers. It can account for cost, remaining turns, reachable triggers, Block thresholds and saved energy, follow-up attacks, draw and discard, Retain and hand limits, Shivs, poison, Strength and Exhaust, Orbs and Focus, Stars, Doom, summons, enemy count, and delayed value.
  • Powerful cards with drawbacks or setup requirements are evaluated together with their timing and future cost. Effects that depend on specific cards, resources, or trigger counts only receive credit for the value the current route can actually realize.
  • Every Power route still pays real costs, executes real draw and random outcomes, and remains subject to potion use and HP loss. Only a complete winning route with a better final result can replace the incumbent; late, unproductive, or fatal setup lines are still rejected.
  • This version primarily addresses Power routes that were never searched deeply enough. Some complex Powers still use conservative first-stage models. Powers generated later in combat, when no registered Power existed in the starting card zones, continue to rely mainly on normal and potion search and will receive further card-by-card refinement.