gm 发装备

This commit is contained in:
meixiongfeng 2023-02-08 14:03:29 +08:00
parent 8b24855232
commit e519ad0bd2

View File

@ -112,13 +112,13 @@ func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (code pb.ErrorC
res []*cfg.Gameatn res []*cfg.Gameatn
) )
equip := this.configure.GetAllItemConfigure() equip := this.configure.GetAllEquipmentConfigure()
for _, v1 := range equip { for _, v1 := range equip {
res = append(res, &cfg.Gameatn{ res = append(res, &cfg.Gameatn{
A: "equi", A: "equi",
T: v1.Id, T: v1.Id,
N: 1, N: 5,
}) })
} }
data := this.configure.GetHeroConfigData() data := this.configure.GetHeroConfigData()