From 3df38d5626a727382b6d827d1fe8e9dccd2d7491 Mon Sep 17 00:00:00 2001 From: 1 <1@72wo.cn> Date: Thu, 23 Oct 2025 06:04:05 +0000 Subject: [PATCH] =?UTF-8?q?fix(task):=20=E5=B0=86=E6=96=B0=E6=89=8B?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=92=8C=E8=B6=85NO=E5=A5=96=E5=8A=B1?= =?UTF-8?q?=E4=BB=8E=E4=BB=BB=E5=8A=A1=E5=AE=8C=E6=88=90=E7=A7=BB=E8=87=B3?= =?UTF-8?q?=E6=B3=A8=E5=86=8C=E6=97=B6=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logic/controller/task.go | 7 +------ modules/blazing/service/info.go | 5 +++++ 2 files changed, 6 insertions(+), 6 deletions(-) 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()) //写入注册时间