Commit 5037f4732ffab809c0b56a115616428f332c2d3d
Merge branch 'cn/develop' into cn/publish/release
# Conflicts: # config/nodenames.lua
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
src/actions/GmAction.lua
| ... | ... | @@ -1101,6 +1101,16 @@ function _M.do_lua(role, pms) |
| 1101 | 1101 | return "成功" |
| 1102 | 1102 | end |
| 1103 | 1103 | |
| 1104 | + | |
| 1105 | +table.insert(helpDes, {"每日活跃度拉满", "full_active"}) | |
| 1106 | +function _M.full_active(role, pms) | |
| 1107 | + local taskStatus = role:getProperty("dTask") | |
| 1108 | + taskStatus["a"] = 200 | |
| 1109 | + role:updateProperty({field="dTask", value=taskStatus}) | |
| 1110 | + role:checkTaskEnter("DailyTask", {pre = 0, cur = 200}) | |
| 1111 | + return "成功" | |
| 1112 | +end | |
| 1113 | + | |
| 1104 | 1114 | table.insert(helpDes, {"抽英雄", "get_draw_hero_pro"}) |
| 1105 | 1115 | function _M.get_draw_hero_pro(role, pms) |
| 1106 | 1116 | -- 普池 10 up池 207 心愿单 20 | ... | ... |