Commit 8257410c authored by salix5's avatar salix5

Sin Territory

parent 5178a4e1
--Sin パラドクスギア
function c48829461.initial_effect(c)
--sin territory
c:SetUniqueOnField(1,1,c48829461.uqfilter,LOCATION_MZONE)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND+CATEGORY_SEARCH)
......@@ -20,6 +22,17 @@ function c48829461.initial_effect(c)
e2:SetCountLimit(1,48829462)
c:RegisterEffect(e2)
end
function c48829461.sfilter(c)
return c:IsCode(598988,1710476,9433350,36521459,37115575,55343236) and not c:IsDisabled()
end
function c48829461.uqfilter(c)
if Duel.IsPlayerAffectedByEffect(c:GetControler(),75223115)
and Duel.IsExistingMatchingCard(c48829461.sfilter,c:GetControler(),LOCATION_MZONE,LOCATION_MZONE,1,nil) then
return c:IsCode(48829461)
else
return false
end
end
function c48829461.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(Card.IsFaceup,tp,LOCATION_FZONE,LOCATION_FZONE,1,nil)
end
......
--Sin パラレルギア
function c74509280.initial_effect(c)
--sin territory
c:SetUniqueOnField(1,1,c74509280.uqfilter,LOCATION_MZONE)
--synchro custom
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -10,6 +12,17 @@ function c74509280.initial_effect(c)
e1:SetValue(LOCATION_HAND)
c:RegisterEffect(e1)
end
function c74509280.sfilter(c)
return c:IsCode(598988,1710476,9433350,36521459,37115575,55343236) and not c:IsDisabled()
end
function c74509280.uqfilter(c)
if Duel.IsPlayerAffectedByEffect(c:GetControler(),75223115)
and Duel.IsExistingMatchingCard(c74509280.sfilter,c:GetControler(),LOCATION_MZONE,LOCATION_MZONE,1,nil) then
return c:IsCode(74509280)
else
return false
end
end
function c74509280.synlimit(e,c)
return c:IsSetCard(0x23)
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