09-19-2003, 12:37 AM
The ilvl thing needs more explaining, I think.
There are three caps on the number of sockets an item can have.
One is the item itself. Every base item has a maximum number of sockets associated with it in weapons.txt or armors.txt. For example, tower shields have a maximum of 3. That means no tower shield will ever have more than 3 sockets.
Another cap is based on the ilvl and item type. For each item type (e.g. shields, swords, amazon bows), there's a maximum number of sockets it can have for ilvls 1-24, a maximum for ilvls 25-39 and a maximum for ilvsl 40+. For shields, this is 3/3/4. This means that, even if you had a shield that could have 4 sockets, it can't actually have 4 sockets unless it has ilvl 40+.
The third cap is based on the size of the item. An item cannot have more sockets than the number of spaces it takes up in the inventory. The only time this actually matters, IIRC, is with sorceress orbs; all others already have a low enough maximum that the item size doesn't matter.
(My calculator displays the max sockets for items based on these caps).
Now, these three caps take precedence over everything else. So even if you had a way to give an item 6 sockets, it'd really only get the maximum based on the caps. I often bring up the example of Blade of Ali Baba. The entry in UniqueItems.txt gives it 3 items. However, as tulwars can't have more than 2 sockets, that's what the Blade gets.
Now, on to the Larzuk socketing...
Magic items will, as said, only get 1-2 sockets, randomly. However, the cap does still apply. Bucklers, defenders and some daggers and wands have a maximum of 1 socket, so they won't get 2 from Larzuk.
White items will get the maximum they can have when Larzuk punches holes in them. In the case of tower shields, this would be 3/3/3. That means all white tower shields, regardless of level, gets 3 sockets from Larzuk. The idea that it's between 1 and the maximum number of sockets isn't correct. There are three tiers of ilvls, each with a clearly defined maximum number of sockets.
(IIRC, there's also a maximum of 3 sockets on items dropped in normal and 4 on items dropped in nightmare, but these apply only to when the items dropped, not when you want to add sockets to the items later).
There are three caps on the number of sockets an item can have.
One is the item itself. Every base item has a maximum number of sockets associated with it in weapons.txt or armors.txt. For example, tower shields have a maximum of 3. That means no tower shield will ever have more than 3 sockets.
Another cap is based on the ilvl and item type. For each item type (e.g. shields, swords, amazon bows), there's a maximum number of sockets it can have for ilvls 1-24, a maximum for ilvls 25-39 and a maximum for ilvsl 40+. For shields, this is 3/3/4. This means that, even if you had a shield that could have 4 sockets, it can't actually have 4 sockets unless it has ilvl 40+.
The third cap is based on the size of the item. An item cannot have more sockets than the number of spaces it takes up in the inventory. The only time this actually matters, IIRC, is with sorceress orbs; all others already have a low enough maximum that the item size doesn't matter.
(My calculator displays the max sockets for items based on these caps).
Now, these three caps take precedence over everything else. So even if you had a way to give an item 6 sockets, it'd really only get the maximum based on the caps. I often bring up the example of Blade of Ali Baba. The entry in UniqueItems.txt gives it 3 items. However, as tulwars can't have more than 2 sockets, that's what the Blade gets.
Now, on to the Larzuk socketing...
Magic items will, as said, only get 1-2 sockets, randomly. However, the cap does still apply. Bucklers, defenders and some daggers and wands have a maximum of 1 socket, so they won't get 2 from Larzuk.
White items will get the maximum they can have when Larzuk punches holes in them. In the case of tower shields, this would be 3/3/3. That means all white tower shields, regardless of level, gets 3 sockets from Larzuk. The idea that it's between 1 and the maximum number of sockets isn't correct. There are three tiers of ilvls, each with a clearly defined maximum number of sockets.
(IIRC, there's also a maximum of 3 sockets on items dropped in normal and 4 on items dropped in nightmare, but these apply only to when the items dropped, not when you want to add sockets to the items later).