Feature d2datadict monstats (#341)

* adding rules for swap files to .gitignore

* 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

* adding ItemStatCost data dict loader

* Adding monstats.txt data dict loader

* adding myself to contributors file
This commit is contained in:
dk 2020-06-19 15:24:03 -07:00 committed by GitHub
parent 8021423919
commit 983f757db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1050 additions and 2 deletions

View File

@ -12,6 +12,7 @@ Lectem
wtfblub
q3cpma
averrin
Dylan "Gravestench" Knuth
* DIABLO2 LOGO
Jose Pardilla (th3-prophetman)

File diff suppressed because it is too large Load Diff

View File

@ -397,6 +397,7 @@ func loadDataDict() error {
{d2resource.MagicSuffix, d2datadict.LoadMagicSuffix},
{d2resource.ItemStatCost, d2datadict.LoadItemStatCosts},
{d2resource.CharStats, d2datadict.LoadCharStats},
{d2resource.MonStats, d2datadict.LoadMonStats},
}
for _, entry := range entries {