Commit 3ce0353f authored by mallu11's avatar mallu11 Committed by GitHub

fix パラレルエクシード and 烙印 (#1576)

parent 085d088f
......@@ -121,7 +121,8 @@ function c34995106.activate(e,tp,eg,ep,ev,re,r,rp)
aux.FCheckAdditional=nil
end
function c34995106.regcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_COST) and re:IsActivated() and re:GetHandler():IsCode(68468459)
local code1,code2=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CODE2)
return e:GetHandler():IsReason(REASON_COST) and re and re:IsActivated() and (code1==68468459 or code2==68468459)
end
function c34995106.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -76,7 +76,8 @@ function c67100549.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function c67100549.regcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_COST) and re:IsActivated() and re:GetHandler():IsCode(68468459)
local code1,code2=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CODE2)
return e:GetHandler():IsReason(REASON_COST) and re and re:IsActivated() and (code1==68468459 or code2==68468459)
end
function c67100549.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -37,7 +37,8 @@ function c71278040.initial_effect(c)
c:RegisterEffect(e4)
end
function c71278040.lvcon(e,tp,eg,ep,ev,re,r,rp)
return re and re:GetHandler():IsCode(71278040)
local code1,code2=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CODE2)
return re and (code1==71278040 or code2==71278040)
end
function c71278040.lvop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
......@@ -56,7 +56,8 @@ function c93595154.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function c93595154.regcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsReason(REASON_COST) and re:IsActivated() and re:GetHandler():IsCode(68468459)
local code1,code2=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE,CHAININFO_TRIGGERING_CODE2)
return e:GetHandler():IsReason(REASON_COST) and re and re:IsActivated() and (code1==68468459 or code2==68468459)
end
function c93595154.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
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