放慢出牌和碰的速度
parent
3e97cddb8a
commit
294e13e0bf
|
|
@ -451,11 +451,13 @@ function M:OnEventFzAction(evt_data)
|
||||||
if (p == _room.self_player) then
|
if (p == _room.self_player) then
|
||||||
for i = 1, #p.fz_list do
|
for i = 1, #p.fz_list do
|
||||||
if p.fz_list[i].card == card then
|
if p.fz_list[i].card == card then
|
||||||
|
flag_pengPao = true
|
||||||
if p.fz_list[i].type == RB_FZType.Kan then
|
if p.fz_list[i].type == RB_FZType.Kan then
|
||||||
isNeedDelHandCard = 3
|
isNeedDelHandCard = 3
|
||||||
for i = 1, remove_num do
|
for i = 1, remove_num do
|
||||||
list_remove(_room.self_player.handcard_list, opcard[i])
|
list_remove(_room.self_player.handcard_list, opcard[i])
|
||||||
end
|
end
|
||||||
|
flag_pengPao = false
|
||||||
end
|
end
|
||||||
remove_num = 0
|
remove_num = 0
|
||||||
p.fz_list[i].type = RB_FZType.Pao
|
p.fz_list[i].type = RB_FZType.Pao
|
||||||
|
|
@ -479,13 +481,12 @@ function M:OnEventFzAction(evt_data)
|
||||||
p.fz_list[i].type = RB_FZType.Pao
|
p.fz_list[i].type = RB_FZType.Pao
|
||||||
isAddTi = true
|
isAddTi = true
|
||||||
remove_num = 0
|
remove_num = 0
|
||||||
|
flag_pengPao = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if isAddTi == false then
|
if isAddTi == false then
|
||||||
p.fz_list[#p.fz_list + 1] = fz
|
p.fz_list[#p.fz_list + 1] = fz
|
||||||
end
|
end
|
||||||
else
|
|
||||||
flag_pengPao = true
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
local num = 0
|
local num = 0
|
||||||
|
|
|
||||||
|
|
@ -485,7 +485,7 @@ function M:EventInit()
|
||||||
end
|
end
|
||||||
coroutine.start(
|
coroutine.start(
|
||||||
function()
|
function()
|
||||||
coroutine.wait(0.23)
|
coroutine.wait(0.36)
|
||||||
self._popEvent = true
|
self._popEvent = true
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
@ -1209,7 +1209,7 @@ function M:OnFangziAction(...)
|
||||||
if fz.type ~= RB_FZType.Kan then
|
if fz.type ~= RB_FZType.Kan then
|
||||||
local time = 0.01
|
local time = 0.01
|
||||||
if fz.type == RB_FZType.Pao or fz.type == RB_FZType.Ti or fz.type == RB_FZType.Wei or fz.type == RB_FZType.ChouWei then
|
if fz.type == RB_FZType.Pao or fz.type == RB_FZType.Ti or fz.type == RB_FZType.Wei or fz.type == RB_FZType.ChouWei then
|
||||||
time = 0.66
|
time = 0.8
|
||||||
end
|
end
|
||||||
local removeOutcard = _player_card_info[self:GetPos(fz.from_seat)]
|
local removeOutcard = _player_card_info[self:GetPos(fz.from_seat)]
|
||||||
coroutine.start(
|
coroutine.start(
|
||||||
|
|
@ -1265,7 +1265,7 @@ function M:OnFangziAction(...)
|
||||||
local time = 0.01
|
local time = 0.01
|
||||||
if fz.type ~= RB_FZType.Kan then
|
if fz.type ~= RB_FZType.Kan then
|
||||||
if fz.type == RB_FZType.Pao or fz.type == RB_FZType.Ti or fz.type == RB_FZType.Wei or fz.type == RB_FZType.ChouWei then
|
if fz.type == RB_FZType.Pao or fz.type == RB_FZType.Ti or fz.type == RB_FZType.Wei or fz.type == RB_FZType.ChouWei then
|
||||||
time = time + 0.66
|
time = time + 0.8
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue