虎牌特效

master
罗家炜 2025-04-10 14:47:25 +08:00
parent 7570f714e4
commit 4850a265de
2 changed files with 5 additions and 4 deletions

View File

@ -314,10 +314,10 @@ end
local specialCardList = { 401, 402, 403, 404, 405, 406, 407 } local specialCardList = { 401, 402, 403, 404, 405, 406, 407 }
function M.tingPai(cardInhand, isZhong, qidui, eightLaizi) function M.tingPai(cardInhand, isZhong, qidui, eightLaizi)
printlog("isZhong", isZhong) -- printlog("isZhong", isZhong)
printlog("qidui", qidui) -- printlog("qidui", qidui)
printlog("eightLaizi", eightLaizi) -- printlog("eightLaizi", eightLaizi)
pt(cardInhand) -- pt(cardInhand)
local self = setmetatable({}, { __index = M }) local self = setmetatable({}, { __index = M })
local tingList = {} local tingList = {}
if not cardInhand or #cardInhand == 0 then if not cardInhand or #cardInhand == 0 then

View File

@ -117,6 +117,7 @@ function M:GetPrefix()
end end
function M:fillCard(obj, pos_str, card, use3d) function M:fillCard(obj, pos_str, card, use3d)
print("=======================================jing", card, DataManager.CurrenRoom.jing)
if DataManager.CurrenRoom.jing and card == DataManager.CurrenRoom.jing then if DataManager.CurrenRoom.jing and card == DataManager.CurrenRoom.jing then
obj:GetController('jing').selectedIndex = 1 obj:GetController('jing').selectedIndex = 1
end end