mirror of
https://github.com/Kvan7/Exiled-Exchange-2.git
synced 2025-12-14 03:55:42 +00:00
Support soul core by item class
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user