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