上传附魔数据写入失败
This commit is contained in:
parent
f32bf350ab
commit
c4e29c067a
@ -57,9 +57,9 @@ func (this *apiComp) Ench(session comm.IUserSession, req *pb.EquipmentEnchReq) (
|
||||
return
|
||||
}
|
||||
AttrValue = rand.Int31n(conf.AttrMax-conf.AttrMini) + conf.AttrMini
|
||||
if AttrValue > equip.AdverbEntry[req.Index].Value {
|
||||
// if AttrValue > equip.AdverbEntry[req.Index].Value {
|
||||
equip.AdverbEntry[req.Index].EnchValue = AttrValue
|
||||
}
|
||||
// }
|
||||
if err = this.module.modelEquipment.ChangeList(session.GetUserId(), equip.Id, map[string]interface{}{
|
||||
"adverbEntry": equip.AdverbEntry,
|
||||
"isInitialState": false,
|
||||
|
Loading…
Reference in New Issue
Block a user