Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into meixiongfeng
This commit is contained in:
commit
730b36d615
@ -450,7 +450,7 @@ const (
|
||||
Rtype90 TaskType = 90 //进行N次普通招募10连抽(从接到任务开始,单抽点10次不算,10连抽才进度+1)
|
||||
Rtype91 TaskType = 91 //进行N次阵营招募10连抽(从接到任务开始,单抽点10次不算,10连抽才进度+1)
|
||||
Rtype92 TaskType = 92 //强化装备N次(从接到任务开始,强化任意装备,失败和成功进度都+1)
|
||||
Rtype93 TaskType = 93 //拥有一套强化到N级的A套装(记录A套装中每个部位的最高强化等级,并将这些强化等级中最低的数值计入进度,如果达到了任务所需的强化等级则完成任务。)
|
||||
// Rtype93 TaskType = 93 //拥有一套强化到N级的A套装(记录A套装中每个部位的最高强化等级,并将这些强化等级中最低的数值计入进度,如果达到了任务所需的强化等级则完成任务。)
|
||||
Rtype94 TaskType = 94 //装备附魔N次(历史)(从创号开始记录,附魔成功进度+1)
|
||||
Rtype95 TaskType = 95 //装备洗练N次(历史)(从创号开始记录,洗练成功进度+1)
|
||||
Rtype96 TaskType = 96 //强化失败N次(从接到任务开始,强化失败进度+1)
|
||||
|
@ -177,9 +177,11 @@ func (this *apiComp) Equip(session comm.IUserSession, req *pb.EquipmentEquipReq)
|
||||
}
|
||||
if hero.SuiteId != 0 {
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype49, 1, hero.Suite1Star, hero.Suite1Lv)
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype98, 1, hero.Suite1Lv)
|
||||
}
|
||||
if hero.SuiteExtId != 0 {
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype48, 1, hero.Suite2Star, hero.Suite2Lv)
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype98, 1, hero.Suite1Lv)
|
||||
}
|
||||
|
||||
session.SendMsg(string(this.module.GetType()), "equip", &pb.EquipmentEquipResp{Equipments: updatequipment})
|
||||
|
@ -181,6 +181,11 @@ func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.EquipmentUpgrade
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype43, 1, equipment.Lv)
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype44, equipment.Lv)
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype47, 1)
|
||||
if conf.Pos == 7 {
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype102, 1)
|
||||
} else if conf.Pos == 6 {
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype100, 1)
|
||||
}
|
||||
//聊天系统通知
|
||||
if user = this.module.ModuleUser.GetUser(session.GetUserId()); user != nil {
|
||||
// var color *cfg.GameGameColorData
|
||||
|
@ -110,6 +110,21 @@ func (this *modelEquipmentComp) AddEquipments(session comm.IUserSession, cIds ma
|
||||
} else {
|
||||
//随机任务
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype50, 1, c.Star)
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype97, 1, c.Suittype, c.Star)
|
||||
unm := int32(1)
|
||||
if equipment.AdverbEntry != nil {
|
||||
unm += int32(len(equipment.AdverbEntry))
|
||||
}
|
||||
if equipment.Adverbskill != nil {
|
||||
unm += int32(len(equipment.Adverbskill))
|
||||
}
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype99, 1, unm, c.Star)
|
||||
if c.Pos == 7 {
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype103, 1, c.Star)
|
||||
} else if c.Pos == 6 {
|
||||
this.module.ModuleRtask.SendToRtask(session, comm.Rtype101, 1, c.Star)
|
||||
}
|
||||
|
||||
add[equipment.Id] = equipment
|
||||
change = append(change, equipment)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user