client: hwir tooltip parameter prints on any nonzero value, as native

未关闭 适合新手
#3,228 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
typescript
领域
frontend, game-dev

调研方向

比较逻辑位于 skill-tooltip-params.ts 中,在 0x1e0 (hwir) 的 switch case 里,用 > 0 判断该值。将它与使用 !== 0 的 0x070 和 0x1a0 两个 case 进行比较,并把 0x1e0 改为一致。添加一个测试,验证负数的 hwir 参数会被输出。当该测试通过且现有的 tooltip 测试仍然通过时即完成。

由索引模型根据 Issue 内容生成。

描述

area: client bug priority: low

skill-tooltip-params.ts case 0x1e0 (hwir) tests > 0, while native 0x7faa99 is a jbe on the parameter: any nonzero value prints. Use !== 0 as cases 0x070 and 0x1a0 do, and add a test that a negative hwir parameter prints.

Harmless for shipped data (no negative hwir rows), but it diverges from the native rule.

Moved from Backlog #2628 (from the #2651 review).

主要语言
Go
星标
97
派生
61
平均合并
4 小时 14 分钟
30 天内合并 PR
913

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opensro-dev/opensro 的其他 Issue

查看 opensro-dev/opensro 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。