Commit 0545bd55 authored by TanakaKotoha's avatar TanakaKotoha

amd yes 2

parent e2be3c33
...@@ -82,18 +82,17 @@ function c60151601.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -82,18 +82,17 @@ function c60151601.target(e,tp,eg,ep,ev,re,r,rp,chk)
if e:GetHandler():IsLocation(LOCATION_EXTRA) then if e:GetHandler():IsLocation(LOCATION_EXTRA) then
if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
else else
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
end end
end end
function c60151601.operation(e,tp,eg,ep,ev,re,r,rp) function c60151601.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
if c:IsFaceup() then
c:RegisterFlagEffect(60151601,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,1)
end
end end
end end
function c60151601.filter3(c) function c60151601.filter3(c)
......
...@@ -51,7 +51,7 @@ function c60151602.initial_effect(c) ...@@ -51,7 +51,7 @@ function c60151602.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c60151602.spcondition(e,tp,eg,ep,ev,re,r,rp) function c60151602.spcondition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(60151602)==0 return e:GetHandler():GetFlagEffect(60151601)==0
end end
function c60151602.filter(c) function c60151602.filter(c)
return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER)
...@@ -82,18 +82,17 @@ function c60151602.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -82,18 +82,17 @@ function c60151602.target(e,tp,eg,ep,ev,re,r,rp,chk)
if e:GetHandler():IsLocation(LOCATION_EXTRA) then if e:GetHandler():IsLocation(LOCATION_EXTRA) then
if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
else else
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
end end
end end
function c60151602.operation(e,tp,eg,ep,ev,re,r,rp) function c60151602.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP)
if c:IsFaceup() then
c:RegisterFlagEffect(60151602,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,1)
end
end end
end end
function c60151602.filter3(c) function c60151602.filter3(c)
......
...@@ -51,7 +51,7 @@ function c60151603.initial_effect(c) ...@@ -51,7 +51,7 @@ function c60151603.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c60151603.spcondition(e,tp,eg,ep,ev,re,r,rp) function c60151603.spcondition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(60151603)==0 return e:GetHandler():GetFlagEffect(60151601)==0
end end
function c60151603.filter(c) function c60151603.filter(c)
return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER)
...@@ -82,18 +82,17 @@ function c60151603.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -82,18 +82,17 @@ function c60151603.target(e,tp,eg,ep,ev,re,r,rp,chk)
if e:GetHandler():IsLocation(LOCATION_EXTRA) then if e:GetHandler():IsLocation(LOCATION_EXTRA) then
if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
else else
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
end end
end end
function c60151603.operation(e,tp,eg,ep,ev,re,r,rp) function c60151603.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP)
if c:IsFaceup() then
c:RegisterFlagEffect(60151603,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,1)
end
end end
end end
function c60151603.filter3(c,e,tp) function c60151603.filter3(c,e,tp)
......
...@@ -51,7 +51,7 @@ function c60151604.initial_effect(c) ...@@ -51,7 +51,7 @@ function c60151604.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c60151604.spcondition(e,tp,eg,ep,ev,re,r,rp) function c60151604.spcondition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(60151604)==0 return e:GetHandler():GetFlagEffect(60151601)==0
end end
function c60151604.filter(c) function c60151604.filter(c)
return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER)
...@@ -82,18 +82,17 @@ function c60151604.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -82,18 +82,17 @@ function c60151604.target(e,tp,eg,ep,ev,re,r,rp,chk)
if e:GetHandler():IsLocation(LOCATION_EXTRA) then if e:GetHandler():IsLocation(LOCATION_EXTRA) then
if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
else else
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
end end
end end
function c60151604.operation(e,tp,eg,ep,ev,re,r,rp) function c60151604.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP)
if c:IsFaceup() then
c:RegisterFlagEffect(60151604,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,1)
end
end end
end end
function c60151604.filter3(c,e,tp) function c60151604.filter3(c,e,tp)
......
...@@ -51,7 +51,7 @@ function c60151605.initial_effect(c) ...@@ -51,7 +51,7 @@ function c60151605.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c60151605.spcondition(e,tp,eg,ep,ev,re,r,rp) function c60151605.spcondition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(60151605)==0 return e:GetHandler():GetFlagEffect(60151601)==0
end end
function c60151605.filter(c) function c60151605.filter(c)
return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER)
...@@ -82,18 +82,17 @@ function c60151605.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -82,18 +82,17 @@ function c60151605.target(e,tp,eg,ep,ev,re,r,rp,chk)
if e:GetHandler():IsLocation(LOCATION_EXTRA) then if e:GetHandler():IsLocation(LOCATION_EXTRA) then
if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
else else
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
end end
end end
function c60151605.operation(e,tp,eg,ep,ev,re,r,rp) function c60151605.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP)
if c:IsFaceup() then
c:RegisterFlagEffect(60151605,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,1)
end
end end
end end
function c60151605.filter3(c) function c60151605.filter3(c)
......
...@@ -51,7 +51,7 @@ function c60151606.initial_effect(c) ...@@ -51,7 +51,7 @@ function c60151606.initial_effect(c)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function c60151606.spcondition(e,tp,eg,ep,ev,re,r,rp) function c60151606.spcondition(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetFlagEffect(60151606)==0 return e:GetHandler():GetFlagEffect(60151601)==0
end end
function c60151606.filter(c) function c60151606.filter(c)
return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER) return c:IsFaceup() and c:IsSetCard(0xcb25) and c:IsType(TYPE_MONSTER)
...@@ -82,18 +82,17 @@ function c60151606.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -82,18 +82,17 @@ function c60151606.target(e,tp,eg,ep,ev,re,r,rp,chk)
if e:GetHandler():IsLocation(LOCATION_EXTRA) then if e:GetHandler():IsLocation(LOCATION_EXTRA) then
if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCountFromEx(tp,tp,nil,e:GetHandler())>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
else else
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
e:GetHandler():RegisterFlagEffect(60151601,RESET_PHASE+PHASE_END,0,1)
end end
end end
function c60151606.operation(e,tp,eg,ep,ev,re,r,rp) function c60151606.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if c:IsRelateToEffect(e) then if c:IsRelateToEffect(e) then
Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,1,tp,tp,false,false,POS_FACEUP)
if c:IsFaceup() then
c:RegisterFlagEffect(60151606,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,0,1)
end
end end
end end
function c60151606.filter3(c) function c60151606.filter3(c)
......
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