|
|
|
|
@ -1461,7 +1461,7 @@ _item_indexes RemapItemIdxFromDiablo(_item_indexes i)
|
|
|
|
|
{ |
|
|
|
|
constexpr auto GetItemIdValue = [](int i) -> int { |
|
|
|
|
if (i == IDI_SORCERER) { |
|
|
|
|
return 166; |
|
|
|
|
return IDI_SORCERER_DIABLO; |
|
|
|
|
} |
|
|
|
|
if (i >= 156) { |
|
|
|
|
i += 5; // Hellfire exclusive items
|
|
|
|
|
@ -1482,7 +1482,7 @@ _item_indexes RemapItemIdxFromDiablo(_item_indexes i)
|
|
|
|
|
_item_indexes RemapItemIdxToDiablo(_item_indexes i) |
|
|
|
|
{ |
|
|
|
|
constexpr auto GetItemIdValue = [](int i) -> int { |
|
|
|
|
if (i == 166) { |
|
|
|
|
if (i == IDI_SORCERER_DIABLO) { |
|
|
|
|
return IDI_SORCERER; |
|
|
|
|
} |
|
|
|
|
if ((i >= 83 && i <= 86) || i == 92 || i >= 161) { |
|
|
|
|
|