PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Undo deletes all currently equipped Jewels

未关闭
#4,162 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug
主要语言
Lua
星标
5.4k
派生
2.4k
平均合并
1 天 12 小时
30 天内合并 PR
26

描述

Check version
  • I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
  • I've checked for duplicate issues by using the search function of the issue tracker
What is the expected behaviour/value?

Using the undo feature (CTRL+Z) should not wipe the equipped jewel list

What is the actual behaviour/value?

When there is only one change in the undo stack and CTRL+Z is used, all Jewels are deleted from the current build.

It seems to affect all Jewel types (Cluster, Abyssal, Crimson/Veridian etc.)

How to reproduce the issue
  1. Load up a saved build with at least 1 socketed Jewel
  2. Make a single change. e.g. set any single equipment slot to None or equip an item.
  3. Undo (CTRL+Z) the change
  4. All Jewel sockets become unequipped
Build code
https://pastebin.com/n964bZ4w
Screenshots

No response

贡献指南

打开贡献指南

从这里开始

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

调研方向

加载提供的 build code,并确保至少镶嵌了一个 Jewel,进行一次装备变更,然后使用 CTRL+Z 重现问题。跟踪撤销路径和已装备 Jewel 的状态,检查撤销是否恢复之前的装备,同时不会卸下 Cluster、Abyssal 或 Crimson/Veridian Jewels。完成标准是:列出的重现步骤不再删除任何已装备的 Jewel。

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

评估

技术栈
lua
领域
desktop
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
42/100

把新 issue 发到你的邮箱

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