From db01ddcb0dfca3940cd99ccdc6c9a1115bc71b09 Mon Sep 17 00:00:00 2001 From: by <123456@qq.com> Date: Wed, 31 Jul 2024 11:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=A5=96=E8=AE=B0=E5=BD=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/action_player.go | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/worldsrv/action_player.go b/worldsrv/action_player.go index fac65f3..c2da3b3 100644 --- a/worldsrv/action_player.go +++ b/worldsrv/action_player.go @@ -2896,30 +2896,6 @@ func CSAwardLog(s *netlib.Session, packetId int, data interface{}, sid int64) er if p == nil { return nil } - var items []*Item - item := &Item{ - ItemId: 30011, - ItemNum: 1, - } - var cost []*model.ItemInfo - items = append(items, item) - item = &Item{ - ItemId: 77006, - ItemNum: 1, - } - items = append(items, item) - BagMgrSingleton.AddItemsV2(&ItemParam{ - P: p, - Change: items, - Cost: cost, - Add: 0, - GainWay: common.GainWaySign7Add, - Operator: "system", - Remark: "累计签到进阶奖励获得", - gameId: 0, - gameFreeId: 0, - noLog: false, - }) msg, ok := data.(*player_proto.CS_AwardLog) if !ok { return nil