This commit is contained in:
meixiongfeng 2022-11-29 20:18:18 +08:00
commit a3499ec9cc

View File

@ -88,10 +88,10 @@ func (this *apiComp) Battle(session comm.IUserSession, req *pb.MoonfantasyBattle
// cd = pb.ErrorCode_MoonfantasyNotEnoughbattles // cd = pb.ErrorCode_MoonfantasyNotEnoughbattles
// } // }
// umfantasy.Ticket -= this.module.configure.GetGlobalConf().DreamlandCos // umfantasy.Ticket -= this.module.configure.GetGlobalConf().DreamlandCos
// if boss, err = this.module.configure.GetMonsterById(mdata.Monster); err != nil { if boss, err = this.module.configure.GetMonsterById(mdata.Monster); err != nil {
// cd = pb.ErrorCode_ConfigNoFound cd = pb.ErrorCode_ConfigNoFound
// return return
// } }
if len(mdata.Join) >= int(mdata.Numup) { if len(mdata.Join) >= int(mdata.Numup) {
cd = pb.ErrorCode_MoonfantasyJoinUp cd = pb.ErrorCode_MoonfantasyJoinUp