boss 关卡类型定义
This commit is contained in:
parent
8ac605b645
commit
6337ba17dd
@ -332,6 +332,7 @@ const (
|
||||
const (
|
||||
MaxMainlineIntensity = 3 // 最大难度
|
||||
MaxRankNum = 3
|
||||
MainLineBoss = 3
|
||||
)
|
||||
|
||||
///聊天消息公告类型
|
||||
|
@ -61,7 +61,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MainlineCh
|
||||
"chapterId": mainline.ChapterId,
|
||||
"branchID": mainline.BranchID,
|
||||
}
|
||||
if node.Episodetype == 5 { // 打完boss 设置领奖状态
|
||||
if node.Episodetype == comm.MainLineBoss { // 打完boss 设置领奖状态
|
||||
update["awaredID"] = pb.AwaredType_TypeAvailable
|
||||
mainline.AwaredID = pb.AwaredType_TypeAvailable
|
||||
}
|
||||
@ -71,7 +71,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MainlineCh
|
||||
return
|
||||
}
|
||||
|
||||
if node.Episodetype == 5 { // 挑战完成 boss关
|
||||
if node.Episodetype == comm.MainLineBoss { // 挑战完成 boss关
|
||||
_data := &pb.DBMainline{}
|
||||
conf := this.module.configure.GetMainlineChapter(mainline.ChapterId + 1)
|
||||
_data.Id = primitive.NewObjectID().Hex()
|
||||
|
Loading…
Reference in New Issue
Block a user