mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-14 08:16:06 -05:00
2461142fbd
* Minor changes to reduce interdependencies on modules.
15 lines
277 B
Go
15 lines
277 B
Go
package d2datadict
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
|
|
)
|
|
|
|
var Armors map[string]*ItemCommonRecord
|
|
|
|
func LoadArmors(file []byte) {
|
|
Armors = *LoadCommonItems(file, d2enum.InventoryItemTypeArmor)
|
|
log.Printf("Loaded %d armors", len(Armors))
|
|
}
|