mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-18 09:15:59 -04:00
515b66736d
* main, d2common: load Magic/Rare/Unique Affix * d2common: item affixes only removed Rare/Unique Prefix/Suffix as those are related to monsters, not items. * removed debug print from item_affix.go * changed item affix type names for clarity, removed debug print from data_dictionary * d2common: item affix datadict and records Item Affixes are defined in `/data/global/excel/Magic{Prefix,Suffix}.txt` Rare and Unique Pre/Suffixes seem to be for monsters, not items. d2common: item affixes only removed Rare/Unique Prefix/Suffix as those are related to monsters, not items. removed debug print from item_affix.go changed item affix type names for clarity, removed debug print from data_dictionary * reverting to pre-allocating memory for parsing txt lines * removing the rest of the rare/unique definitions * removing the rest of the rare/unique definitions
15 lines
209 B
Go
15 lines
209 B
Go
package d2enum
|
|
|
|
type ItemAffixSuperType int
|
|
type ItemAffixSubType int
|
|
|
|
const (
|
|
ItemAffixPrefix ItemAffixSuperType = iota
|
|
ItemAffixSuffix
|
|
)
|
|
|
|
const (
|
|
ItemAffixCommon ItemAffixSubType = iota
|
|
ItemAffixMagic
|
|
)
|