Commit b469a1fd authored by TanakaKotoha's avatar TanakaKotoha

ts

parent 3049083c
expansions/pics/17010301.jpg

577 KB | W: | H:

expansions/pics/17010301.jpg

577 KB | W: | H:

expansions/pics/17010301.jpg
expansions/pics/17010301.jpg
expansions/pics/17010301.jpg
expansions/pics/17010301.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -35,11 +35,10 @@ function c75646617.spfilter(c,e,tp)
end
function c75646617.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
local sg=Duel.GetMatchingGroup(c75646617.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,nil,e,tp)
if tc and tc:IsRelateToEffect(e) then
if Duel.SendtoHand(tc,nil,REASON_EFFECT)>0 and (tc:IsCode(75646600) or Duel.GetFlagEffect(tp,75646600)>0) and Duel.SelectYesNo(tp,aux.Stringid(75646617,0)) and sg:GetCount()>0 then
if Duel.SendtoHand(tc,nil,REASON_EFFECT)>0 and (tc:IsCode(75646600) or Duel.GetFlagEffect(tp,75646600)>0) and Duel.SelectYesNo(tp,aux.Stringid(75646617,0)) and Duel.IsExistingMatchingCard(c75646617.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,nil,e,tp) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tg=sg:Select(tp,1,1,nil)
local tg=Duel.SelectMatchingCard(tp,c75646617.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp)
Duel.BreakEffect()
Duel.SpecialSummon(tg,0,tp,tp,false,false,POS_FACEUP)
end
......
......@@ -2,7 +2,7 @@
function c75646620.initial_effect(c)
aux.AddCodeList(c,75646600)
--link summon
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2,3,c75646620.lcheck)
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkType,TYPE_EFFECT),2,99,c75646620.lcheck)
c:EnableReviveLimit()
--indes
local e1=Effect.CreateEffect(c)
......@@ -23,6 +23,7 @@ function c75646620.initial_effect(c)
e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE)
e3:SetCondition(c75646620.nkcon)
e3:SetOperation(c75646620.regop)
c:RegisterEffect(e3)
--cannot select battle target
......@@ -31,6 +32,7 @@ function c75646620.initial_effect(c)
e4:SetRange(LOCATION_MZONE)
e4:SetTargetRange(0,LOCATION_MZONE)
e4:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e4:SetCondition(c75646620.nkcon)
e4:SetValue(c75646620.atlimit)
c:RegisterEffect(e4)
--recover
......@@ -55,13 +57,16 @@ function c75646620.initial_effect(c)
c:RegisterEffect(e8)
local e9=e5:Clone()
e9:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e9:SetCondition(c75646620.con)
e9:SetCondition(c75646620.recon)
c:RegisterEffect(e9)
local e10=e6:Clone()
e10:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e10:SetCondition(c75646620.con)
e10:SetCondition(c75646620.recon)
c:RegisterEffect(e10)
end
function c75646620.nkcon(e)
return Duel.GetFlagEffect(e:GetHandlerPlayer(),75646600)==0
end
function c75646620.con(e)
local f=Duel.GetFlagEffect(e:GetHandlerPlayer(),75646600)
return f and f~=0
......@@ -90,6 +95,11 @@ function c75646620.cfilter(c,ec)
end
function c75646620.reccon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c75646620.cfilter,1,nil,e:GetHandler())
and Duel.GetFlagEffect(e:GetHandlerPlayer(),75646600)==0
end
function c75646620.recon(e,tp,eg,ep,ev,re,r,rp)
local f=Duel.GetFlagEffect(e:GetHandlerPlayer(),75646600)
return f and f~=0 and eg:IsExists(c75646620.cfilter,1,nil,e:GetHandler())
end
function c75646620.recop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,75646620)
......
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