Commit f3eb34b18f975a426e4a32dd7d5f14ee0be09cc0

Authored by liuzujun
1 parent ed44e7de

删除无用日志

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)
... ...
1   -Subproject commit 677f005ec716d0367b8823833a47f2aba29fe08e
  1 +Subproject commit ec72516d421103deb40278fc734cb0a5cea64689
... ...
src/models/RoleLog.lua
... ... @@ -96,6 +96,7 @@ local ItemReason = {
96 96 createHero = 1205, -- 碎片合成
97 97 createHeroRandom = 1206, -- 随机合成
98 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 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())
... ...