This commit is contained in:
meixiongfeng 2023-08-15 18:43:13 +08:00
commit 045a033f4d
4 changed files with 408 additions and 28 deletions

View File

@ -1283,33 +1283,5 @@
"AssistTeam": 0,
"CanFriendHelp": 0,
"Numrounds": 0
},
{
"id": 207,
"PlayType": 0,
"HeroCount": 5,
"readyScene": "scenesfight_role_interface_04",
"battleScenes": [
"scenesfight_08"
],
"HideAlienSpace": 0,
"ShowBuff": 0,
"RuleTips": {
"key": "",
"text": ""
},
"battleEvents": [],
"ScoreGroupID": 0,
"disableAiCamera": 0,
"ChoseCamp": [],
"DisableCamp": [],
"DefaultHero": 720018,
"ChoseHero": [],
"DisableHero": [],
"LockSlots": [],
"HeroCheck": [],
"AssistTeam": 0,
"CanFriendHelp": 0,
"Numrounds": 0
}
]

File diff suppressed because it is too large Load Diff

View File

@ -321,6 +321,7 @@ func (this *modelBattleComp) createpve(session comm.IUserSession, conn *db.DBCon
Team: masters,
}
}
return
}

View File

@ -70,6 +70,13 @@ func (this *apiComp) BuyLv(session comm.IUserSession, req *pb.WarorderBuyLvReq)
}
return
}
need := this.module.ModuleTools.GetGlobalConf().Passcheck4GetLvCos
lv := req.Lv - dwarorder.Lv
if errdata = this.module.ConsumeRes(session, []*cfg.Gameatn{{A: need.A, T: need.T, N: need.N * lv}}, true); errdata != nil {
return
}
exp = dwarorder.Exp - expconf.Parameter
if dwarorder.Lv >= req.Lv {
errdata = &pb.ErrorData{