Commit f3eb34b18f975a426e4a32dd7d5f14ee0be09cc0
1 parent
ed44e7de
删除无用日志
Showing
5 changed files
with
5 additions
and
5 deletions
Show diff stats
src/actions/HeroAction.lua
| @@ -916,7 +916,7 @@ function _M.unlockPoolRpc(agent, data) | @@ -916,7 +916,7 @@ function _M.unlockPoolRpc(agent, data) | ||
| 916 | end | 916 | end |
| 917 | 917 | ||
| 918 | if needCost then | 918 | if needCost then |
| 919 | - if not role:costDiamond({count = globalCsv.draw_unlock_pool_diamond or 300, log = {desc = "unlockPool", short1 = type}}) then | 919 | + if not role:costDiamond({count = globalCsv.draw_unlock_pool_diamond or 300, log = {desc = "unlockPool", int1 = type}}) then |
| 920 | return | 920 | return |
| 921 | end | 921 | end |
| 922 | end | 922 | end |
| @@ -925,7 +925,7 @@ function _M.unlockPoolRpc(agent, data) | @@ -925,7 +925,7 @@ function _M.unlockPoolRpc(agent, data) | ||
| 925 | role.dailyData:updateProperty({field="unlockPool", value = unlockPool}) | 925 | role.dailyData:updateProperty({field="unlockPool", value = unlockPool}) |
| 926 | role.dailyData:updateProperty({field="curPool", value = type}) | 926 | role.dailyData:updateProperty({field="curPool", value = type}) |
| 927 | 927 | ||
| 928 | - role:log("hero_action", {desc = "unlockPool", short1=type}) | 928 | + --role:log("hero_action", {desc = "unlockPool", int1=type}) |
| 929 | SendPacket(actionCodes.Hero_unlockPoolRpc, MsgPack.pack({})) | 929 | SendPacket(actionCodes.Hero_unlockPoolRpc, MsgPack.pack({})) |
| 930 | return true | 930 | return true |
| 931 | end | 931 | end |
src/adv/AdvTask.lua
| @@ -365,7 +365,6 @@ function AdvTask.bind(Adv) | @@ -365,7 +365,6 @@ function AdvTask.bind(Adv) | ||
| 365 | else | 365 | else |
| 366 | if (status or -1) >= data.value1 then | 366 | if (status or -1) >= data.value1 then |
| 367 | status = -1 | 367 | status = -1 |
| 368 | - self.owner:log("adv_action", {desc = "finishAchiev", short1 = 1, int1 = self.chapterId, int2 = taskId}) | ||
| 369 | end | 368 | end |
| 370 | if status and status ~= oldStatus then | 369 | if status and status ~= oldStatus then |
| 371 | insertChange(self, self.chapterId, taskId, status) | 370 | insertChange(self, self.chapterId, taskId, status) |
src/models/RoleLog.lua
| @@ -96,6 +96,7 @@ local ItemReason = { | @@ -96,6 +96,7 @@ local ItemReason = { | ||
| 96 | createHero = 1205, -- 碎片合成 | 96 | createHero = 1205, -- 碎片合成 |
| 97 | createHeroRandom = 1206, -- 随机合成 | 97 | createHeroRandom = 1206, -- 随机合成 |
| 98 | resetHero = 1207, -- 重置养成 | 98 | resetHero = 1207, -- 重置养成 |
| 99 | + unlockPool = 1208, -- 解锁英雄定向抽卡池 | ||
| 99 | } | 100 | } |
| 100 | 101 | ||
| 101 | 102 |
src/models/RolePlugin.lua
| @@ -230,7 +230,7 @@ function RolePlugin.bind(Role) | @@ -230,7 +230,7 @@ function RolePlugin.bind(Role) | ||
| 230 | level_before = oldLevel, | 230 | level_before = oldLevel, |
| 231 | level_changemain = log.desc, | 231 | level_changemain = log.desc, |
| 232 | level_changedetail = log.sub, | 232 | level_changedetail = log.sub, |
| 233 | - level_reward = "{}", | 233 | + level_reward = {}, |
| 234 | }) | 234 | }) |
| 235 | else | 235 | else |
| 236 | print("addPlayExp no log ", debug.traceback()) | 236 | print("addPlayExp no log ", debug.traceback()) |