2019-11-14 22:20:01 -05:00
|
|
|
package d2core
|
|
|
|
|
|
|
|
import (
|
2020-01-26 00:39:13 -05:00
|
|
|
"github.com/OpenDiablo2/OpenDiablo2/d2common/d2enum"
|
2019-11-14 22:20:01 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
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"),
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|