Commit 05cc91d2 authored by TanakaKotoha's avatar TanakaKotoha

y1s1

parent f7c813b7
......@@ -5,7 +5,7 @@ local cm=_G["c"..m]
function cm.initial_effect(c)
--xyz summon
c:EnableReviveLimit()
aux.AddXyzProcedureLevelFree(c,cm.mfilter,nil,2,99)
aux.AddXyzProcedureLevelFree(c,cm.mfilter,nil,2,2)
--SpecialSummon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1))
......
......@@ -27,6 +27,7 @@ function c65020046.initial_effect(c)
e4:SetCategory(CATEGORY_REMOVE)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_TO_GRAVE)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetRange(LOCATION_MZONE)
e4:SetCountLimit(1,65020046)
e4:SetCondition(c65020046.con)
......@@ -40,9 +41,9 @@ function c65020046.con(e,tp,eg,ep,ev,re,r,rp)
return a>b and eg:IsExists(Card.IsControler,1,nil,1-tp)
end
function c65020046.remtg(e,tp,eg,ep,ev,re,r,rp,chk)
local g=eg:Filter(Card.IsControler,nil,1-tp)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g:GetCount(),0,0)
local g=eg:Filter(Card.IsControler,nil,1-tp):Filter(Card.IsAbleToRemove,nil)
if chk==0 then return g:GetCount()>0 end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,g:GetCount(),0,0)
end
function c65020046.remop(e,tp,eg,ep,ev,re,r,rp)
local g=eg:Filter(Card.IsControler,nil,1-tp)
......
......@@ -39,7 +39,7 @@ function c65030033.initial_effect(c)
c:RegisterEffect(e4)
end
function c65030033.confil(c)
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) or c:IsPreviousPosition(POS_FACEUP))
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsPosition(POS_FACEUP) or c:IsPreviousPosition(POS_FACEUP))
end
function c65030033.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65030033.confil,1,nil)
......
......@@ -39,7 +39,7 @@ function c65030034.initial_effect(c)
c:RegisterEffect(e4)
end
function c65030034.confil(c)
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) or c:IsPreviousPosition(POS_FACEUP))
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsPosition(POS_FACEUP) or c:IsPreviousPosition(POS_FACEUP))
end
function c65030034.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65030034.confil,1,nil)
......
......@@ -39,7 +39,7 @@ function c65030035.initial_effect(c)
c:RegisterEffect(e4)
end
function c65030035.confil(c)
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) or c:IsPreviousPosition(POS_FACEUP))
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsPosition(POS_FACEUP) or c:IsPreviousPosition(POS_FACEUP))
end
function c65030035.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65030035.confil,1,nil)
......
......@@ -39,7 +39,7 @@ function c65030036.initial_effect(c)
c:RegisterEffect(e4)
end
function c65030036.confil(c)
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) or c:IsPreviousPosition(POS_FACEUP))
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsPosition(POS_FACEUP) or c:IsPreviousPosition(POS_FACEUP))
end
function c65030036.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65030036.confil,1,nil)
......
......@@ -33,7 +33,7 @@ function c65030037.initial_effect(c)
c:RegisterEffect(e4)
end
function c65030037.confil(c)
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) or c:IsPreviousPosition(POS_FACEUP))
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsPosition(POS_FACEUP) or c:IsPreviousPosition(POS_FACEUP))
end
function c65030037.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65030037.confil,1,nil)
......
......@@ -39,7 +39,7 @@ function c65030038.initial_effect(c)
c:RegisterEffect(e4)
end
function c65030038.confil(c)
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) or c:IsPreviousPosition(POS_FACEUP))
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsPosition(POS_FACEUP) or c:IsPreviousPosition(POS_FACEUP))
end
function c65030038.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65030038.confil,1,nil)
......
......@@ -39,7 +39,7 @@ function c65030039.initial_effect(c)
c:RegisterEffect(e4)
end
function c65030039.confil(c)
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) or c:IsPreviousPosition(POS_FACEUP))
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsPosition(POS_FACEUP) or c:IsPreviousPosition(POS_FACEUP))
end
function c65030039.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65030039.confil,1,nil)
......
......@@ -33,7 +33,7 @@ function c65030040.initial_effect(c)
c:RegisterEffect(e4)
end
function c65030040.confil(c)
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) or c:IsPreviousPosition(POS_FACEUP))
return c:IsSetCard(0x3da9) and c:IsPreviousLocation(LOCATION_MZONE) and (c:IsPosition(POS_FACEUP) or c:IsPreviousPosition(POS_FACEUP))
end
function c65030040.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65030040.confil,1,nil)
......
......@@ -53,7 +53,7 @@ end
function c65050161.atkop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsFaceup() and tc:IsRelateToEffect(e) then
local e1=Effect.CreateEffect(c)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_ATTACK_FINAL)
e1:SetValue(2000)
......
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