1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-06-10 18:00:42 +00:00
OpenDiablo2/d2core/d2inventory/hero_objects.go
Alex Yatskov 8a547ebf0e
Moving files around to make more sense (#279)
* Prevent input fighting between terminal and other input listeners.

* Moving files around, removing exports

* Add missing line
2020-02-01 18:55:56 -05:00

42 lines
1.0 KiB
Go

package d2inventory
import (
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
)
var HeroObjects map[d2enum.Hero]CharacterEquipment
func LoadHeroObjects() {
//Mode: d2enum.AnimationModePlayerNeutral.String(),
//Base: "/data/global/chars",
HeroObjects = map[d2enum.Hero]CharacterEquipment{
d2enum.HeroBarbarian: {
RightHand: GetWeaponItemByCode("hax"),
Shield: GetArmorItemByCode("buc"),
},
d2enum.HeroNecromancer: {
RightHand: GetWeaponItemByCode("wnd"),
},
d2enum.HeroPaladin: {
RightHand: GetWeaponItemByCode("ssd"),
Shield: GetArmorItemByCode("buc"),
},
d2enum.HeroAssassin: {
RightHand: GetWeaponItemByCode("ktr"),
Shield: GetArmorItemByCode("buc"),
},
d2enum.HeroSorceress: {
RightHand: GetWeaponItemByCode("sst"),
LeftHand: GetWeaponItemByCode("sst"),
},
d2enum.HeroAmazon: {
RightHand: GetWeaponItemByCode("jav"),
Shield: GetArmorItemByCode("buc"),
},
d2enum.HeroDruid: {
RightHand: GetWeaponItemByCode("clb"),
Shield: GetArmorItemByCode("buc"),
},
}
}