refactor(logic): 优化战斗状态效果持续时间计算及清理冗余代码

This commit is contained in:
1
2025-11-04 14:01:17 +00:00
parent 699db8406b
commit 603c33c832
5 changed files with 7 additions and 32 deletions

View File

@@ -39,14 +39,14 @@ func (h Controller) AddTaskBuf(data *task.AddTaskBufInboundInfo, c *player.Playe
// if data.Head.CMD != 2204 { //判断是每日任务
// isdaliy = true
// }
result = &task.AddTaskBufOutboundInfo{}
c.Service.Task(data.TaskId, func(te *model.TaskEX) bool {
te.Data = data.TaskList
return true
})
return &task.AddTaskBufOutboundInfo{}, 0
return result, 0
}
/**