无关牌型直接退出

master
罗家炜 2025-05-14 14:45:35 +08:00
parent 4499ae219b
commit 51034ca828
2 changed files with 4 additions and 4 deletions

View File

@ -228,7 +228,7 @@ function M:OnPlaySuccCheck(evt_data)
local card_type, number, length, plan_three_count = self:GetCardListInfo(out_card_list)
player.out_card_list = self:GetSortOutCardList(out_card_list, card_type, number, plan_three_count)
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPlaySucc, player, remain, card_type, number, otherList,
length, cards)
length, out_card_list)
end
)
end

View File

@ -1219,9 +1219,7 @@ function M:CreateRankEff()
end
function M:_Effect(type1, player)
if type1 < 7 and type1 ~= 4 and type1 ~= 5 then
return
end
print("lingmeng_Effect", type1)
local eff_code = 0
if type1 == 5 or 8 then
eff_code = 1
@ -1233,6 +1231,8 @@ function M:_Effect(type1, player)
eff_code = 5
elseif type1 == 6 then
eff_code = 3
else
return
end
local info = self._player_card_info[self:GetPos(player.seat)]
local pNode = info._mask_liangpai