Commit e7806e6f9f93f7dc9c997a331fc1e35fe9258b96

Authored by zhouhaihai
1 parent 1cfe4c75

签到成就

Showing 2 changed files with 1 additions and 1 deletions   Show diff stats
src/actions/ActivityAction.lua
@@ -138,6 +138,7 @@ function _M.signRpc(agent, data) @@ -138,6 +138,7 @@ function _M.signRpc(agent, data)
138 138
139 local reward, change = role:award(monthData[curDay].item, {log = {desc = "sign", int1 = yearMonth, int2 = curDay}}) 139 local reward, change = role:award(monthData[curDay].item, {log = {desc = "sign", int1 = yearMonth, int2 = curDay}})
140 role:changeUpdates({{type = "sign", field = curDay, value = yearMonth}}) 140 role:changeUpdates({{type = "sign", field = curDay, value = yearMonth}})
  141 + role:checkTaskEnter("SignIn")
141 142
142 SendPacket(actionCodes.Activity_signRpc, MsgPack.pack(role:packReward(reward, change))) 143 SendPacket(actionCodes.Activity_signRpc, MsgPack.pack(role:packReward(reward, change)))
143 return true 144 return true
src/models/RoleLog.lua
@@ -367,7 +367,6 @@ local MethodType = { @@ -367,7 +367,6 @@ local MethodType = {
367 --]] 367 --]]
368 friend_opt = { --好友操作 368 friend_opt = { --好友操作
369 friend_opt_type = true, -- 好友操作类型,见枚举表中 好友操作类型枚举表 369 friend_opt_type = true, -- 好友操作类型,见枚举表中 好友操作类型枚举表
370 - friend_accountid = true, -- 好友账户id  
371 friend_roleid = true, -- 好友账户下的角色id 370 friend_roleid = true, -- 好友账户下的角色id
372 friend_cnt = true, -- 操作后好友数量 371 friend_cnt = true, -- 操作后好友数量
373 }, 372 },