Commit 67e8005c authored by 聖園ミカ's avatar 聖園ミカ 🐟

1+1=3

parent 77119161
No preview for this file type
......@@ -4,6 +4,19 @@ function c29990400.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,7,2,nil,nil,99)
c:EnableReviveLimit()
--voice
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(c29990400.sumsuc)
c:RegisterEffect(e0)
local e31=Effect.CreateEffect(c)
e31:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e31:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e31:SetCode(EVENT_LEAVE_FIELD)
e31:SetCondition(c29990400.leavecon1)
e31:SetOperation(c29990400.leaveop1)
c:RegisterEffect(e31)
--attribute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -39,6 +52,17 @@ function c29990400.initial_effect(c)
e4:SetOperation(c29990400.limop2)
c:RegisterEffect(e4)
end
function c29990400.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990400,14))
end
function c29990400.leavecon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE)
and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
end
function c29990400.leaveop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990400,15))
end
function c29990400.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
local og=e:GetHandler():GetOverlayGroup()
if chk==0 then return og:GetCount()>0 and og:IsExists(Card.IsType,1,nil,TYPE_QUICKPLAY) end
......
......@@ -4,6 +4,19 @@ function c29990410.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,7,2,nil,nil,99)
c:EnableReviveLimit()
--voice
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(c29990410.sumsuc)
c:RegisterEffect(e0)
local e31=Effect.CreateEffect(c)
e31:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e31:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e31:SetCode(EVENT_LEAVE_FIELD)
e31:SetCondition(c29990410.leavecon1)
e31:SetOperation(c29990410.leaveop1)
c:RegisterEffect(e31)
--attribute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -48,6 +61,17 @@ function c29990410.initial_effect(c)
e4:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x751))
c:RegisterEffect(e4)
end
function c29990410.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990410,14))
end
function c29990410.leavecon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE)
and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
end
function c29990410.leaveop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990410,15))
end
function c29990410.efcost(e,tp,eg,ep,ev,re,r,rp,chk)
local og=e:GetHandler():GetOverlayGroup()
if chk==0 then return og:GetCount()>0 and og:IsExists(Card.IsType,1,nil,TYPE_QUICKPLAY) end
......
......@@ -4,6 +4,19 @@ function c29990420.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,7,2)
c:EnableReviveLimit()
--voice
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(c29990420.sumsuc)
c:RegisterEffect(e0)
local e31=Effect.CreateEffect(c)
e31:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e31:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e31:SetCode(EVENT_LEAVE_FIELD)
e31:SetCondition(c29990420.leavecon1)
e31:SetOperation(c29990420.leaveop1)
c:RegisterEffect(e31)
--attribute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -55,6 +68,17 @@ function c29990420.initial_effect(c)
e5:SetOperation(c29990420.recop)
c:RegisterEffect(e5)
end
function c29990420.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990420,14))
end
function c29990420.leavecon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE)
and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
end
function c29990420.leaveop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990420,15))
end
function c29990420.efcost(e,tp,eg,ep,ev,re,r,rp,chk)
local og=e:GetHandler():GetOverlayGroup()
if chk==0 then return og:GetCount()>0 and og:IsExists(Card.IsType,1,nil,TYPE_QUICKPLAY) end
......@@ -65,7 +89,6 @@ end
function c29990420.confilter(c)
return c:IsFaceup() and c:IsRank(7) and c:IsType(TYPE_XYZ) and c:IsRace(RACE_FAIRY) and not c:IsCode(29990420)
end
function c29990420.discon(e,tp,eg,ep,ev,re,r,rp)
local at=Duel.GetAttacker()
return at and at:IsControler(tp)
......
......@@ -4,6 +4,19 @@ function c29990430.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,7,2)
c:EnableReviveLimit()
--voice
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(c29990430.sumsuc)
c:RegisterEffect(e0)
local e31=Effect.CreateEffect(c)
e31:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e31:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e31:SetCode(EVENT_LEAVE_FIELD)
e31:SetCondition(c29990430.leavecon1)
e31:SetOperation(c29990430.leaveop1)
c:RegisterEffect(e31)
--attribute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -37,6 +50,17 @@ function c29990430.initial_effect(c)
e3:SetOperation(c29990430.recop)
c:RegisterEffect(e3)
end
function c29990430.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990430,14))
end
function c29990430.leavecon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE)
and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
end
function c29990430.leaveop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990430,15))
end
function c29990430.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local og=e:GetHandler():GetOverlayGroup()
if chk==0 then return og:GetCount()>0 and og:IsExists(Card.IsType,1,nil,TYPE_QUICKPLAY) end
......
......@@ -4,6 +4,19 @@ function c29990440.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,7,2)
c:EnableReviveLimit()
--voice
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(c29990440.sumsuc)
c:RegisterEffect(e0)
local e31=Effect.CreateEffect(c)
e31:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e31:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e31:SetCode(EVENT_LEAVE_FIELD)
e31:SetCondition(c29990440.leavecon1)
e31:SetOperation(c29990440.leaveop1)
c:RegisterEffect(e31)
--attribute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -60,6 +73,17 @@ function c29990440.initial_effect(c)
e4:SetOperation(c29990440.chainop)
c:RegisterEffect(e4)
end
function c29990440.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990440,14))
end
function c29990440.leavecon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE)
and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
end
function c29990440.leaveop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990440,15))
end
function c29990440.efcost(e,tp,eg,ep,ev,re,r,rp,chk)
local og=e:GetHandler():GetOverlayGroup()
if chk==0 then return og:GetCount()>0 and og:IsExists(Card.IsType,1,nil,TYPE_QUICKPLAY) end
......
......@@ -4,6 +4,19 @@ function c29990450.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,7,2)
c:EnableReviveLimit()
--voice
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_SPSUMMON_SUCCESS)
e0:SetOperation(c29990450.sumsuc)
c:RegisterEffect(e0)
local e31=Effect.CreateEffect(c)
e31:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_SINGLE)
e31:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e31:SetCode(EVENT_LEAVE_FIELD)
e31:SetCondition(c29990450.leavecon1)
e31:SetOperation(c29990450.leaveop1)
c:RegisterEffect(e31)
--attribute
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -34,6 +47,17 @@ function c29990450.initial_effect(c)
e3:SetOperation(c29990450.chainop)
c:RegisterEffect(e3)
end
function c29990450.sumsuc(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990450,14))
end
function c29990450.leavecon1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsPreviousLocation(LOCATION_MZONE)
and c:IsPreviousControler(tp) and c:GetReasonPlayer()==1-tp
end
function c29990450.leaveop1(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(24,0,aux.Stringid(29990450,15))
end
function c29990450.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local og=e:GetHandler():GetOverlayGroup()
if chk==0 then return og:GetCount()>0 and og:IsExists(Card.IsType,1,nil,TYPE_QUICKPLAY) 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