diff --git a/modules/equipment/api_ench.go b/modules/equipment/api_ench.go index f8f7571fd..806d37be5 100644 --- a/modules/equipment/api_ench.go +++ b/modules/equipment/api_ench.go @@ -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 { - equip.AdverbEntry[req.Index].EnchValue = AttrValue - } + // 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,