mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-10 13:34:36 -04:00
* removed dupl lint errors in d2compression/huffman.go * remove duplicate code for set/unique item properties This is a more involved edit. I've added a `PropertyDescriptor` which is a common struct that should have existed already. The `PropertyDescriptor` is used to generate property instances, and is common to item affixes, set items, sets, unique items, and runewords. This was all to remove duplicate code in d2item/ * removed duplicate code for rare item affixes
8 lines
255 B
Go
8 lines
255 B
Go
package d2records
|
|
|
|
// RarePrefixes is where all RareItemPrefixRecords are stored
|
|
type RarePrefixes []*RareItemPrefixRecord
|
|
|
|
// RareItemPrefixRecord is a name prefix for rare items (items with more than 2 affixes)
|
|
type RareItemPrefixRecord = RareItemAffix
|