红桃10翻倍显示
parent
bd0feb2a37
commit
8279760669
|
|
@ -839,18 +839,18 @@ function M:EventInit()
|
|||
-- local card_code_obj = UIPackage.CreateObjectFromURL("ui://Main_Poker/" .. card_n .. "_2")
|
||||
local card_code_obj = nil
|
||||
if DataManager.CurrenRoom.pai == 0 then
|
||||
if card_n == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if card_n == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. card_n ..
|
||||
"_1")
|
||||
"_1")
|
||||
else
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. card_n)
|
||||
end
|
||||
else
|
||||
if card_n == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if card_n == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. card_n ..
|
||||
"_2")
|
||||
"_2")
|
||||
else
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Main_Poker/" .. card_n .. "_2")
|
||||
end
|
||||
|
|
@ -1219,7 +1219,7 @@ function M:ReconnectForClearing()
|
|||
else
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Main_Poker/" .. card_n .. "_2")
|
||||
end
|
||||
if card_n == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if card_n == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. card_n .. "_1")
|
||||
end
|
||||
|
|
|
|||
|
|
@ -65,19 +65,19 @@ function M:SetOutCardInfo(cardlist, isPass, isAnim)
|
|||
-- else
|
||||
-- card_code_obj = UIPackage.CreateObjectFromURL("ui://Main_Poker/" .. code .. "_2")
|
||||
-- end
|
||||
-- if code==310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
-- if code==310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- -- body
|
||||
-- card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFast/"..code.."_1")
|
||||
-- end
|
||||
if DataManager.CurrenRoom.pai == 0 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code .. "_1")
|
||||
else
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code)
|
||||
end
|
||||
else
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code .. "_2")
|
||||
else
|
||||
|
|
@ -110,14 +110,14 @@ function M:SetOutCardInfo(cardlist, isPass, isAnim)
|
|||
local code = self:ChangeCodeByTo(cardlist[i])
|
||||
local card_code_obj
|
||||
if DataManager.CurrenRoom.pai == 0 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code .. "_1")
|
||||
else
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code)
|
||||
end
|
||||
else
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code .. "_2")
|
||||
else
|
||||
|
|
@ -293,14 +293,14 @@ function M:CreatPoker1(poker, scale, bank)
|
|||
local card_code_obj
|
||||
|
||||
if DataManager.CurrenRoom.pai == 0 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code .. "_1")
|
||||
else
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code)
|
||||
end
|
||||
else
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code .. "_2")
|
||||
else
|
||||
|
|
@ -322,14 +322,14 @@ function M:CreatPoker(poker, scale, bank)
|
|||
local code = self:ChangeCodeByTo(poker)
|
||||
local card_code_obj
|
||||
if DataManager.CurrenRoom.pai == 0 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code .. "_1")
|
||||
else
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code)
|
||||
end
|
||||
else
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFastNew/" .. code .. "_2")
|
||||
else
|
||||
|
|
|
|||
|
|
@ -644,19 +644,19 @@ function M:SetOutCardList(cardlist, isAnim)
|
|||
-- else
|
||||
-- card_code_obj = UIPackage.CreateObjectFromURL("ui://Main_Poker/" .. code .. "_2")
|
||||
-- end
|
||||
-- if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
-- if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- -- body
|
||||
-- card_code_obj = UIPackage.CreateObjectFromURL("ui://Extend_Poker_RunFast/" .. code .. "_1")
|
||||
-- end
|
||||
if DataManager.CurrenRoom.pai == 0 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL('ui://Extend_Poker_RunFastNew/' .. code .. '_1')
|
||||
else
|
||||
card_code_obj = UIPackage.CreateObjectFromURL('ui://Extend_Poker_RunFastNew/' .. code)
|
||||
end
|
||||
else
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 1 then
|
||||
if code == 310 and DataManager.CurrenRoom.room_config.Heart10 == 2 then
|
||||
-- body
|
||||
card_code_obj = UIPackage.CreateObjectFromURL('ui://Extend_Poker_RunFastNew/' .. code .. '_2')
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue