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) ...@@ -35,11 +35,10 @@ function c75646617.spfilter(c,e,tp)
end end
function c75646617.operation(e,tp,eg,ep,ev,re,r,rp) function c75646617.operation(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() 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 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) 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.BreakEffect()
Duel.SpecialSummon(tg,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(tg,0,tp,tp,false,false,POS_FACEUP)
end end
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
function c75646620.initial_effect(c) function c75646620.initial_effect(c)
aux.AddCodeList(c,75646600) aux.AddCodeList(c,75646600)
--link summon --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() c:EnableReviveLimit()
--indes --indes
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
...@@ -23,6 +23,7 @@ function c75646620.initial_effect(c) ...@@ -23,6 +23,7 @@ function c75646620.initial_effect(c)
e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e3:SetCode(EVENT_CHAINING) e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCondition(c75646620.nkcon)
e3:SetOperation(c75646620.regop) e3:SetOperation(c75646620.regop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--cannot select battle target --cannot select battle target
...@@ -31,6 +32,7 @@ function c75646620.initial_effect(c) ...@@ -31,6 +32,7 @@ function c75646620.initial_effect(c)
e4:SetRange(LOCATION_MZONE) e4:SetRange(LOCATION_MZONE)
e4:SetTargetRange(0,LOCATION_MZONE) e4:SetTargetRange(0,LOCATION_MZONE)
e4:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET) e4:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e4:SetCondition(c75646620.nkcon)
e4:SetValue(c75646620.atlimit) e4:SetValue(c75646620.atlimit)
c:RegisterEffect(e4) c:RegisterEffect(e4)
--recover --recover
...@@ -55,13 +57,16 @@ function c75646620.initial_effect(c) ...@@ -55,13 +57,16 @@ function c75646620.initial_effect(c)
c:RegisterEffect(e8) c:RegisterEffect(e8)
local e9=e5:Clone() local e9=e5:Clone()
e9:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e9:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e9:SetCondition(c75646620.con) e9:SetCondition(c75646620.recon)
c:RegisterEffect(e9) c:RegisterEffect(e9)
local e10=e6:Clone() local e10=e6:Clone()
e10:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e10:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e10:SetCondition(c75646620.con) e10:SetCondition(c75646620.recon)
c:RegisterEffect(e10) c:RegisterEffect(e10)
end end
function c75646620.nkcon(e)
return Duel.GetFlagEffect(e:GetHandlerPlayer(),75646600)==0
end
function c75646620.con(e) function c75646620.con(e)
local f=Duel.GetFlagEffect(e:GetHandlerPlayer(),75646600) local f=Duel.GetFlagEffect(e:GetHandlerPlayer(),75646600)
return f and f~=0 return f and f~=0
...@@ -90,11 +95,16 @@ function c75646620.cfilter(c,ec) ...@@ -90,11 +95,16 @@ function c75646620.cfilter(c,ec)
end end
function c75646620.reccon(e,tp,eg,ep,ev,re,r,rp) function c75646620.reccon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c75646620.cfilter,1,nil,e:GetHandler()) 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 end
function c75646620.recop(e,tp,eg,ep,ev,re,r,rp) function c75646620.recop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,75646620) Duel.Hint(HINT_CARD,0,75646620)
Duel.Recover(tp,200,REASON_EFFECT) Duel.Recover(tp,200,REASON_EFFECT)
if Duel.GetFlagEffect(tp,75646600)>0 and Duel.IsPlayerCanDraw(tp,1) and Duel.SelectYesNo(tp,aux.Stringid(75646602,2)) then if Duel.GetFlagEffect(tp,75646600)>0 and Duel.IsPlayerCanDraw(tp,1) and Duel.SelectYesNo(tp,aux.Stringid(75646602,2)) then
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
end end
\ No newline at end of file
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