扔番茄type为7

master
1076390229 2025-08-06 16:58:34 +08:00
parent 682b3aa1aa
commit 771aaca657
2 changed files with 4 additions and 2 deletions

View File

@ -787,7 +787,9 @@ function M:EventInit()
local arg = { ... } local arg = { ... }
local data = arg[1] local data = arg[1]
local _type = arg[2] local _type = arg[2]
if _type == "Missile" then
-- 扔番茄
if _type == 7 then
local sendSeat = arg[3].sendSeat local sendSeat = arg[3].sendSeat
local targetSeat = arg[3].targetSeat local targetSeat = arg[3].targetSeat
local Missile = arg[3].Missile local Missile = arg[3].Missile

View File

@ -1,7 +1,7 @@
local playerDetailView = {} local playerDetailView = {}
local function Send(self, Missile) local function Send(self, Missile)
local _type = "Missile" local _type = 7
local _data = {} local _data = {}
_data.sendSeat = DataManager.CurrenRoom.self_player.seat --DataManager.SelfUser.account_id _data.sendSeat = DataManager.CurrenRoom.self_player.seat --DataManager.SelfUser.account_id
_data.targetSeat = self.player.seat _data.targetSeat = self.player.seat