#35016 任务 【梦工场系统】 <-后端-> 【完成条件】 - 驯龙养成等级
This commit is contained in:
parent
8ba44bf097
commit
1ff9bef70c
@ -901,6 +901,7 @@ const (
|
|||||||
Rtype231 TaskType = 231 // 每期循环塔达到x层
|
Rtype231 TaskType = 231 // 每期循环塔达到x层
|
||||||
Rtype232 TaskType = 232 // 种族塔通关x阵营x层
|
Rtype232 TaskType = 232 // 种族塔通关x阵营x层
|
||||||
Rtype234 TaskType = 234 // 完成多次捕羊大赛
|
Rtype234 TaskType = 234 // 完成多次捕羊大赛
|
||||||
|
Rtype235 TaskType = 235 // 指定X龙的等级达到Y级
|
||||||
)
|
)
|
||||||
const (
|
const (
|
||||||
MailLineEasy int32 = 1 // 简单
|
MailLineEasy int32 = 1 // 简单
|
||||||
|
@ -163,5 +163,10 @@ func (this *apiComp) Train(session comm.IUserSession, req *pb.DragonTrainReq) (e
|
|||||||
Dragons: chanegList,
|
Dragons: chanegList,
|
||||||
})
|
})
|
||||||
session.SendMsg(string(this.module.GetType()), "train", rsp)
|
session.SendMsg(string(this.module.GetType()), "train", rsp)
|
||||||
|
if curLv > preLv { // 升级后统计任务
|
||||||
|
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
|
||||||
|
this.module.ModuleBuried.TriggerBuried(session, comm.GetBuriedParam2(comm.Rtype235, dragon.Dragonid, dragon.Lv))
|
||||||
|
})
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user