Commit e73b5492 authored by TanakaKotoha's avatar TanakaKotoha

iNode

parent de7b5d8f
......@@ -60,24 +60,26 @@ function c12026000.operation(e,tp,eg,ep,ev,re,r,rp)
e1:SetTargetRange(1,1)
Duel.RegisterEffect(e1,tp)
local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_FIELD)
e4:SetCode(EFFECT_CANNOT_SUMMON)
e4:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e4:SetTargetRange(1,1)
e4:SetCondition(c12026000.scon1)
e1:SetTarget(c12026000.splimit1)
Duel.RegisterEffect(e4,tp)
local e5=e4:Clone()
e5:SetCode(EFFECT_CANNOT_MSET)
Duel.RegisterEffect(e5,tp)
local e14=Effect.CreateEffect(e:GetHandler())
e14:SetType(EFFECT_TYPE_FIELD)
e14:SetCode(EFFECT_CANNOT_SUMMON)
e14:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e14:SetTargetRange(0,1)
e14:SetCondition(c12026000.scon11)
e14:SetTarget(c12026000.splimit1)
Duel.RegisterEffect(e14,tp)
local e15=e14:Clone()
e15:SetCode(EFFECT_CANNOT_MSET)
Duel.RegisterEffect(e15,tp)
end
function c12026000.scon1(e)
local tp=e:GetHandlerPlayer()
function c12026000.scon1(e,tp)
return not Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_MZONE,0,1,nil,TYPE_MONSTER)
end
function c12026000.scon11(e,tp)
return not Duel.IsExistingMatchingCard(Card.IsType,tp,0,LOCATION_MZONE,1,nil,TYPE_MONSTER)
end
function c12026000.splimit1(e,c,sump,sumtype,sumpos,targetp,se)
return c:IsLevelAbove(5)
function c12026000.splimit1(e,c)
return not c:IsLevelBelow(4)
end
function c12026000.splimit(e,c,sump,sumtype,sumpos,targetp,se)
if c:IsType(TYPE_FUSION) then return not c:IsLocation(LOCATION_EXTRA) or not se:GetHandler():IsType(TYPE_SPELL) 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