放慢出牌和碰的速度

master
罗家炜 2025-07-06 06:32:30 +08:00
parent 3e97cddb8a
commit 294e13e0bf
2 changed files with 6 additions and 5 deletions

View File

@ -451,11 +451,13 @@ function M:OnEventFzAction(evt_data)
if (p == _room.self_player) then
for i = 1, #p.fz_list do
if p.fz_list[i].card == card then
flag_pengPao = true
if p.fz_list[i].type == RB_FZType.Kan then
isNeedDelHandCard = 3
for i = 1, remove_num do
list_remove(_room.self_player.handcard_list, opcard[i])
end
flag_pengPao = false
end
remove_num = 0
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
isAddTi = true
remove_num = 0
flag_pengPao = true
end
end
if isAddTi == false then
p.fz_list[#p.fz_list + 1] = fz
end
else
flag_pengPao = true
end
else
local num = 0

View File

@ -485,7 +485,7 @@ function M:EventInit()
end
coroutine.start(
function()
coroutine.wait(0.23)
coroutine.wait(0.36)
self._popEvent = true
end
)
@ -1209,7 +1209,7 @@ function M:OnFangziAction(...)
if fz.type ~= RB_FZType.Kan then
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
time = 0.66
time = 0.8
end
local removeOutcard = _player_card_info[self:GetPos(fz.from_seat)]
coroutine.start(
@ -1265,7 +1265,7 @@ function M:OnFangziAction(...)
local time = 0.01
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
time = time + 0.66
time = time + 0.8
end
end