Support soul core by item class

This commit is contained in:
kvan7
2025-08-24 19:28:56 -05:00
parent b0ea4ed30c
commit 9798e104e8
18 changed files with 945 additions and 959 deletions

View File

@@ -624,14 +624,12 @@ function parseRuneSockets(section: string[], item: ParsedItem) {
const current = sockets.split("S").length - 1;
if (item.isCorrupted) {
item.runeSockets = {
type: armourOrWeapon,
empty: 0,
current,
normal: categoryMax,
};
} else {
item.runeSockets = {
type: armourOrWeapon,
empty: 0,
current,
normal: categoryMax,
@@ -642,7 +640,6 @@ function parseRuneSockets(section: string[], item: ParsedItem) {
}
if (categoryMax && !item.isCorrupted) {
item.runeSockets = {
type: armourOrWeapon,
empty: categoryMax,
current: 0,
normal: categoryMax,