修复少一道判断导致恒为飞机

master
罗家炜 2025-05-14 14:48:37 +08:00
parent 51034ca828
commit cce4889267
1 changed files with 2 additions and 1 deletions

View File

@ -1221,7 +1221,7 @@ end
function M:_Effect(type1, player) function M:_Effect(type1, player)
print("lingmeng_Effect", type1) print("lingmeng_Effect", type1)
local eff_code = 0 local eff_code = 0
if type1 == 5 or 8 then if type1 == 5 or type1 == 8 then
eff_code = 1 eff_code = 1
elseif type1 == 2 then elseif type1 == 2 then
eff_code = 2 eff_code = 2
@ -1234,6 +1234,7 @@ function M:_Effect(type1, player)
else else
return return
end end
print("lingmeng_Effect2", eff_code)
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
local effect = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/eff_" .. eff_code) local effect = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/eff_" .. eff_code)