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 | 916 | end |
917 | 917 | |
918 | 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 | 920 | return |
921 | 921 | end |
922 | 922 | end |
... | ... | @@ -925,7 +925,7 @@ function _M.unlockPoolRpc(agent, data) |
925 | 925 | role.dailyData:updateProperty({field="unlockPool", value = unlockPool}) |
926 | 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 | 929 | SendPacket(actionCodes.Hero_unlockPoolRpc, MsgPack.pack({})) |
930 | 930 | return true |
931 | 931 | end | ... | ... |
src/adv/AdvTask.lua
... | ... | @@ -365,7 +365,6 @@ function AdvTask.bind(Adv) |
365 | 365 | else |
366 | 366 | if (status or -1) >= data.value1 then |
367 | 367 | status = -1 |
368 | - self.owner:log("adv_action", {desc = "finishAchiev", short1 = 1, int1 = self.chapterId, int2 = taskId}) | |
369 | 368 | end |
370 | 369 | if status and status ~= oldStatus then |
371 | 370 | insertChange(self, self.chapterId, taskId, status) | ... | ... |
src/models/RoleLog.lua
src/models/RolePlugin.lua
... | ... | @@ -230,7 +230,7 @@ function RolePlugin.bind(Role) |
230 | 230 | level_before = oldLevel, |
231 | 231 | level_changemain = log.desc, |
232 | 232 | level_changedetail = log.sub, |
233 | - level_reward = "{}", | |
233 | + level_reward = {}, | |
234 | 234 | }) |
235 | 235 | else |
236 | 236 | print("addPlayExp no log ", debug.traceback()) | ... | ... |