无关牌型直接退出
parent
4499ae219b
commit
51034ca828
|
|
@ -228,7 +228,7 @@ function M:OnPlaySuccCheck(evt_data)
|
||||||
local card_type, number, length, plan_three_count = self:GetCardListInfo(out_card_list)
|
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)
|
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,
|
DispatchEvent(self._dispatcher, RunFast_GameEvent.OnPlaySucc, player, remain, card_type, number, otherList,
|
||||||
length, cards)
|
length, out_card_list)
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1219,9 +1219,7 @@ function M:CreateRankEff()
|
||||||
end
|
end
|
||||||
|
|
||||||
function M:_Effect(type1, player)
|
function M:_Effect(type1, player)
|
||||||
if type1 < 7 and type1 ~= 4 and type1 ~= 5 then
|
print("lingmeng_Effect", type1)
|
||||||
return
|
|
||||||
end
|
|
||||||
local eff_code = 0
|
local eff_code = 0
|
||||||
if type1 == 5 or 8 then
|
if type1 == 5 or 8 then
|
||||||
eff_code = 1
|
eff_code = 1
|
||||||
|
|
@ -1233,6 +1231,8 @@ function M:_Effect(type1, player)
|
||||||
eff_code = 5
|
eff_code = 5
|
||||||
elseif type1 == 6 then
|
elseif type1 == 6 then
|
||||||
eff_code = 3
|
eff_code = 3
|
||||||
|
else
|
||||||
|
return
|
||||||
end
|
end
|
||||||
local info = self._player_card_info[self:GetPos(player.seat)]
|
local info = self._player_card_info[self:GetPos(player.seat)]
|
||||||
local pNode = info._mask_liangpai
|
local pNode = info._mask_liangpai
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue