1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2025-02-03 15:17:04 -05:00
OpenDiablo2/d2core/d2item/diablo2item
gravestench 622186e350
fixed 'dupl' lint errors (#845)
* 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
2020-10-26 00:38:18 -07:00
..
doc.go lint fixes (#727) 2020-09-12 16:25:09 -04:00
item_factory.go fix all gosec lint errors (#844) 2020-10-25 23:38:15 -07:00
item_property_test.go removed globals, added nolint to tests that used globals (#843) 2020-10-25 21:06:00 -07:00
item_property.go fix all gosec lint errors (#844) 2020-10-25 23:38:15 -07:00
item.go fixed 'dupl' lint errors (#845) 2020-10-26 00:38:18 -07:00