修复少一道判断导致恒为飞机
parent
51034ca828
commit
cce4889267
|
|
@ -1221,7 +1221,7 @@ end
|
|||
function M:_Effect(type1, player)
|
||||
print("lingmeng_Effect", type1)
|
||||
local eff_code = 0
|
||||
if type1 == 5 or 8 then
|
||||
if type1 == 5 or type1 == 8 then
|
||||
eff_code = 1
|
||||
elseif type1 == 2 then
|
||||
eff_code = 2
|
||||
|
|
@ -1234,6 +1234,7 @@ function M:_Effect(type1, player)
|
|||
else
|
||||
return
|
||||
end
|
||||
print("lingmeng_Effect2", eff_code)
|
||||
local info = self._player_card_info[self:GetPos(player.seat)]
|
||||
local pNode = info._mask_liangpai
|
||||
local effect = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/eff_" .. eff_code)
|
||||
|
|
|
|||
Loading…
Reference in New Issue