扔番茄type为7
parent
682b3aa1aa
commit
771aaca657
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue