From 771aaca6576f5380b58d0ce0546a741a05a3dcc4 Mon Sep 17 00:00:00 2001 From: 1076390229 <1076390229@qq.com> Date: Wed, 6 Aug 2025 16:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=94=E7=95=AA=E8=8C=84type=E4=B8=BA7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua_probject/base_project/Game/View/MainView.lua | 4 +++- lua_probject/base_project/Game/View/playerDetailView.lua | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lua_probject/base_project/Game/View/MainView.lua b/lua_probject/base_project/Game/View/MainView.lua index b4163c17..9c25ccdf 100644 --- a/lua_probject/base_project/Game/View/MainView.lua +++ b/lua_probject/base_project/Game/View/MainView.lua @@ -787,7 +787,9 @@ function M:EventInit() local arg = { ... } local data = arg[1] local _type = arg[2] - if _type == "Missile" then + + -- æ‰”į•ŠčŒ„ + if _type == 7 then local sendSeat = arg[3].sendSeat local targetSeat = arg[3].targetSeat local Missile = arg[3].Missile diff --git a/lua_probject/base_project/Game/View/playerDetailView.lua b/lua_probject/base_project/Game/View/playerDetailView.lua index d6a5d26a..87a9c00e 100644 --- a/lua_probject/base_project/Game/View/playerDetailView.lua +++ b/lua_probject/base_project/Game/View/playerDetailView.lua @@ -1,7 +1,7 @@ local playerDetailView = {} local function Send(self, Missile) - local _type = "Missile" + local _type = 7 local _data = {} _data.sendSeat = DataManager.CurrenRoom.self_player.seat --DataManager.SelfUser.account_id _data.targetSeat = self.player.seat