diff --git a/logic/controller/task.go b/logic/controller/task.go index b4f93569..ae63bd7b 100644 --- a/logic/controller/task.go +++ b/logic/controller/task.go @@ -67,12 +67,7 @@ func (h Controller) Complete_Task(data *task.CompleteTaskInboundInfo, c *player. switch data.TaskId { // 新手任务1 case 85: - c.Info.TaskList[3] = 3 //新手任务 - for i := 0; i < 80; i++ {//超NO芯片填充 - - c.Info.NonoChipList[i] = 255 - } - c.Info.NONO.SuperNono = 1 //送超NO + // out_id=1(默认分支)的奖励物品 result.ItemList = append(result.ItemList, task.ItemInfo{ItemId: 100027, ItemCount: 1}, // 新手帽(默认数量1) diff --git a/modules/blazing/service/info.go b/modules/blazing/service/info.go index 6ab0f920..ca160931 100644 --- a/modules/blazing/service/info.go +++ b/modules/blazing/service/info.go @@ -38,6 +38,11 @@ func (s *UserService) Reg(nick string, color uint32) { //设置用户信息 t.Data = model.NewPlayerInfo() t.Data.Nick = nick + t.Data.TaskList[3] = 3 //新手任务 + for i := 0; i < 80; i++ { //超NO芯片填充 + + t.Data.NonoChipList[i] = 255 + } t.Data.Color = color t.Data.RegisterTime = uint32(time.Now().Unix()) //写入注册时间