diff --git a/src/actions/RoleAction.lua b/src/actions/RoleAction.lua index 5cb76f5..9c18d5a 100644 --- a/src/actions/RoleAction.lua +++ b/src/actions/RoleAction.lua @@ -1013,6 +1013,10 @@ function _M.chatRpc(agent, data) result = 1 return end + if role:getProperty("level") < (globalCsv.chat_level or 15) then + result = 3 + return + end role._worldChatLimit = role._worldChatLimit or {start = 0, count = 0, canSayt = 0} --第一次开始说话时间 从第一次说话次数 能说话的时间 diff --git a/src/csvdata b/src/csvdata index 6c280f1..76b7ed2 160000 --- a/src/csvdata +++ b/src/csvdata @@ -1 +1 @@ -Subproject commit 6c280f14faafd9be8f7a578bc270bdd2310aa930 +Subproject commit 76b7ed2b1684a9741a5c531e616acc31c8b5aa9d -- libgit2 0.21.2