修复魔药消耗
This commit is contained in:
parent
6bda6b237d
commit
f67ff3de1e
@ -34,7 +34,7 @@ func (this *apiComp) PotionSynthesis(session comm.IUserSession, req *pb.ItemsPot
|
|||||||
N: v.N * req.Num,
|
N: v.N * req.Num,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if code = this.module.ConsumeRes(session, configure.Material, true); code != pb.ErrorCode_Success {
|
if code = this.module.ConsumeRes(session, need, true); code != pb.ErrorCode_Success {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
give = make([]*cfg.Gameatn, 0)
|
give = make([]*cfg.Gameatn, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user