diff --git a/src/actions/GmAction.lua b/src/actions/GmAction.lua index 8d537be..b546cda 100644 --- a/src/actions/GmAction.lua +++ b/src/actions/GmAction.lua @@ -154,4 +154,11 @@ function _M.idlec(role, pms) return "成功" end +function _M.tower(role, pms) + local level = tonum(pms.pm1, 1) + if not csvdb["tower_battleCsv"][level] then return "不存在" end + role:updateProperty({field = "towerInfo", value = {c = globalCsv.tower_count_limit, l = level}}) + return "成功" +end + return _M \ No newline at end of file -- libgit2 0.21.2