Commit ea3adcf7 authored by HertzPrime's avatar HertzPrime Committed by GitHub

Fix 古代の機械熱核竜 and 古代の機械合成竜 (#2857)

parent c4730dfc
......@@ -41,8 +41,8 @@ function c44874522.valcheck(e,c)
local flag=0
local tc=g:GetFirst()
while tc do
if tc:IsSetCard(0x7) then flag=bit.bor(flag,0x1) end
if tc:IsSetCard(0x51) then flag=bit.bor(flag,0x2) end
if tc:IsSetCard(0x7) and tc:IsType(TYPE_MONSTER) then flag=bit.bor(flag,0x1) end
if tc:IsSetCard(0x51) and tc:IsType(TYPE_MONSTER) then flag=bit.bor(flag,0x2) end
tc=g:GetNext()
end
e:SetLabel(flag)
......
......@@ -31,8 +31,8 @@ function c81269231.valcheck(e,c)
local flag=0
local tc=g:GetFirst()
while tc do
if tc:IsSetCard(0x7) then flag=bit.bor(flag,0x1) end
if tc:IsSetCard(0x51) then flag=bit.bor(flag,0x2) end
if tc:IsSetCard(0x7) and tc:IsType(TYPE_MONSTER) then flag=bit.bor(flag,0x1) end
if tc:IsSetCard(0x51) and tc:IsType(TYPE_MONSTER) then flag=bit.bor(flag,0x2) end
tc=g:GetNext()
end
e:SetLabel(flag)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment