This commit is contained in:
meixiongfeng 2023-06-15 13:47:44 +08:00
parent 309690ca97
commit 5091d2c9b9

View File

@ -314,10 +314,8 @@ func (this *apiComp) ForgeEquip(session comm.IUserSession, req *pb.SmithyForgeEq
var equip map[int32]int32 // key xingji value 数量
equip = make(map[int32]int32, 0)
tasks := make([]*pb.BuriedParam, 0)
for _, v := range atno {
if cfg := this.module.configure.GetEquipmentConfigureById(v.T); cfg != nil {
equip[cfg.InitLv]++
}
for _, v := range rsp.Equip {
equip[int32(len(v.AdverbEntry))]++
}
for k, v := range equip {
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype51, v, k))