From d3f7213de05e065411e6f298958bcc692ea2c750 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Thu, 2 Sep 2021 11:34:15 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=B8=BF=E8=92=99=E9=98=B5=E3=80=911?= =?UTF-8?q?=E7=BA=A7=E7=9A=84=E4=B9=9D=E6=B2=B3=E7=A5=9E=E5=A5=B3=EF=BC=8C?= =?UTF-8?q?=E5=86=8D=E5=8A=A0=E4=B8=80=E4=B8=AA330=E7=BA=A7=E8=A7=89?= =?UTF-8?q?=E9=86=92=E5=B0=86=EF=BC=8C=E9=80=81=E6=8E=891=E7=BA=A7?= =?UTF-8?q?=E5=B0=86=EF=BC=8C=E5=8F=AF=E4=BB=A5=E7=9B=B4=E6=8E=A5=E5=BC=80?= =?UTF-8?q?=E5=90=AF=E9=B8=BF=E8=92=99=E7=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Net/IndicationManager.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Net/IndicationManager.lua b/Assets/ManagedResources/~Lua/Modules/Net/IndicationManager.lua index 979ff11cc7..3a633b0e01 100644 --- a/Assets/ManagedResources/~Lua/Modules/Net/IndicationManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Net/IndicationManager.lua @@ -192,7 +192,9 @@ function this.HongMengIndication(buffer) local msg = HeroInfoProto_pb.HongmengInfoIndication() msg:ParseFromString(data) - if msg.hongmengTabletMax ~= 0 then + local data = ConfigManager.GetConfigData(ConfigName.SpecialConfig,101).Value + local d = string.split(data,"#") + if msg.hongmengTabletMax >= tonumber(d[2]) then -- body -- LogYellow("鸿蒙碑开启!!!!!!!!!```````````````````````````` "..msg.hongmengTabletMax) HarmonyManager:SetHongMengTowerUpLimit(msg.hongmengTabletMax)