1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-11-02 09:17:19 -04:00
OpenDiablo2/d2core/d2records/rare_suffix_loader.go
2020-12-18 18:46:34 +01:00

19 lines
351 B
Go

package d2records
import (
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2fileformats/d2txt"
)
func rareItemSuffixLoader(r *RecordManager, d *d2txt.DataDictionary) error {
records, err := rareItemAffixLoader(d)
if err != nil {
return err
}
r.Debugf("Loaded %d RareSuffix records", len(records))
r.Item.Rare.Suffix = records
return nil
}