铁匠铺非定制打造才玩小游戏

This commit is contained in:
meixiongfeng 2023-03-28 19:04:12 +08:00
parent 3dce048b58
commit 0c1d675c8e

View File

@ -132,7 +132,7 @@ func (this *apiComp) ForgeEquip(session comm.IUserSession, req *pb.SmithyForgeEq
return
}
// 玩小游戏增加双倍产出校验
if req.SuiteId != 0 { // 定制才有
if req.SuiteId == 0 { // 定制才有
var (
hitLen int32
)
@ -164,7 +164,7 @@ func (this *apiComp) ForgeEquip(session comm.IUserSession, req *pb.SmithyForgeEq
}
curProbability += v * confMake.Probability
}
if curProbability > addProbability {
if curProbability < addProbability {
stove.Hit = req.Hit
update["hit"] = stove.Hit
}