Commit 0f8ed97a authored by 伊蕾娜's avatar 伊蕾娜

暗黑调整限制检测

parent c562bd1e
......@@ -52,7 +52,7 @@ function c16000006.value(e,c)
return c:GetLevel()*300
end
function c16000006.synlimit(e,c)
if not c:IsSetCard(0x5208) then return true end
if c and not c:IsSetCard(0x5208) then return true end
end
function c16000006.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsDiscardable() end
......
......@@ -10,7 +10,7 @@ function cCardno.initial_effect(c)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,Cardno+EFFECT_COUNT_CODE_OATH)
e2:SetCountLimit(1,Cardno)
e2:SetCondition(cCardno.spcon)
e2:SetOperation(cCardno.spop)
c:RegisterEffect(e2)
......@@ -112,5 +112,5 @@ function cCardno.spop(e,tp,eg,ep,ev,re,r,rp,c)
end
--synlimit
function cCardno.synlimit(e,c)
if not c:IsSetCard(0x5208) then return true end
if c and not c:IsSetCard(0x5208) then return true end
end
\ No newline at end of file
......@@ -33,7 +33,7 @@ function cCardno.initial_effect(c)
e3:SetCondition(cCardno.spcon)
e3:SetOperation(cCardno.spop)
c:RegisterEffect(e3)
end
--Nirvana
function cCardno.nircost(e,tp,eg,ep,ev,re,r,rp,chk)
......@@ -118,7 +118,7 @@ function cCardno.reop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cCardno.synlimit(e,c)
if not c:IsSetCard(0x5208) then return true end
if c and not c:IsSetCard(0x5208) then return true end
end
--
function cCardno.spcon(e,tp,eg,ep,ev,re,r,rp)
......@@ -136,5 +136,5 @@ function cCardno.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e3_1,tp)
end
function cCardno.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return not c:IsSetCard(0x5208) and ( c:IsType(TYPE_SYNCHRO) or c:IsType(TYPE_XYZ) or c:IsType(TYPE_FUSION) )
return not c:IsSetCard(0x5208) and ( c:IsType(TYPE_SYNCHRO) or c:IsType(TYPE_XYZ) or c:IsType(TYPE_FUSION) )
end
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