PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Removing abyss socket suffix does not revert sockets to original number

オープン
#7,964 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
Lua
スター
5.4k
フォーク
2.4k
平均マージ
1日 12時間
マージ済み PR(30日)
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 open and closed issues by using the search function of the issue tracker
Check for support
  • I've checked that the behaviour is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What platform are you running Path of Building on?

Windows

What is the behaviour in-game?

Once abyssal socket suffix is removed from an item, the socket itself is removed from an item and its maximum number of sockets became default (4/6)

What is the behaviour in Path of Building?

Once Delve modifier (Has 1 Abyssal Socket (suffix)) is removed from an item (under modifiers section), links on the item remain as, for example, R-R-R A, which later triggers a warning if one places 4 gems into the given item.

How to reproduce the issue
  1. Create a new item which can have abyssal socket (armor piece)
  2. Click 'Add Modifier', select 'Delve' and Has 1 Abyssal Socket (suffix) mod
  3. Click 'Add'
  4. Once added, click 'Remove' against added modifier

Expected:
Sockets revert to original (i.e. R-R-R-R)

Actual:
Abyssal socket is still applied (so it is still R-R-R A)

Character build code
https://pastebin.com/dxKwmbD6 
(Socket Bug, Titan Greaves item as an example)
Screenshots

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

記載されているmodifierの手順とリンク先のTitan Greaves buildを使って問題を再現し、その後、Delve modifierを削除するとアイテムのsocketがどのように更新されるかを追跡します。abyssal socketが削除され、警告を発生させることなくアイテムが元のsocket数とlinkに戻れば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
game-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。