修复月子秘境战斗异常问题
This commit is contained in:
parent
78d3254bc2
commit
18e8b1968a
@ -88,10 +88,10 @@ func (this *apiComp) Battle(session comm.IUserSession, req *pb.MoonfantasyBattle
|
||||
// cd = pb.ErrorCode_MoonfantasyNotEnoughbattles
|
||||
// }
|
||||
// umfantasy.Ticket -= this.module.configure.GetGlobalConf().DreamlandCos
|
||||
// if boss, err = this.module.configure.GetMonsterById(mdata.Monster); err != nil {
|
||||
// cd = pb.ErrorCode_ConfigNoFound
|
||||
// return
|
||||
// }
|
||||
if boss, err = this.module.configure.GetMonsterById(mdata.Monster); err != nil {
|
||||
cd = pb.ErrorCode_ConfigNoFound
|
||||
return
|
||||
}
|
||||
|
||||
if len(mdata.Join) >= int(mdata.Numup) {
|
||||
cd = pb.ErrorCode_MoonfantasyJoinUp
|
||||
|
Loading…
Reference in New Issue
Block a user