Commit 1ecc9b13 authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent 72d727d3
Pipeline #2509 passed with stages
in 23 minutes and 57 seconds
No preview for this file type
...@@ -95,6 +95,7 @@ function c1110005.tfilter2_1(c,e,tp,tc) ...@@ -95,6 +95,7 @@ function c1110005.tfilter2_1(c,e,tp,tc)
end end
function c1110005.tfilter2_2(c,e,tp,lv,lg) function c1110005.tfilter2_2(c,e,tp,lv,lg)
return muxu.check_set_Urban(c) and c:IsLevel(lv) return muxu.check_set_Urban(c) and c:IsLevel(lv)
and c:IsType(TYPE_SYNCHRO)
and Duel.GetLocationCountFromEx(tp,tp,lg,c)>0 and Duel.GetLocationCountFromEx(tp,tp,lg,c)>0
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_SYNCHRO,tp,false,false) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_SYNCHRO,tp,false,false)
end end
......
...@@ -35,7 +35,7 @@ function c1110121.ovfilter(c) ...@@ -35,7 +35,7 @@ function c1110121.ovfilter(c)
return c:IsFaceup() and c:IsCode(1110001) return c:IsFaceup() and c:IsCode(1110001)
end end
function c1110121.ofilter(c) function c1110121.ofilter(c)
return muxu.check_set_Urban(c) and c:IsType(TYPE_FIELD) return muxu.check_set_Urban(c) and c:IsType(TYPE_FIELD) and c:IsFaceup()
end end
function c1110121.xyzop(e,tp,chk) function c1110121.xyzop(e,tp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c1110121.ofilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c1110121.ofilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
......
...@@ -35,7 +35,7 @@ function c1110122.ovfilter(c) ...@@ -35,7 +35,7 @@ function c1110122.ovfilter(c)
return c:IsFaceup() and c:IsCode(1110002) return c:IsFaceup() and c:IsCode(1110002)
end end
function c1110122.ofilter(c) function c1110122.ofilter(c)
return muxu.check_set_Urban(c) and c:IsType(TYPE_FIELD) return muxu.check_set_Urban(c) and c:IsType(TYPE_FIELD) and c:IsFaceup()
end end
function c1110122.xyzop(e,tp,chk) function c1110122.xyzop(e,tp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c1110122.ofilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c1110122.ofilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
...@@ -84,7 +84,7 @@ function c1110122.op2(e,tp,eg,ep,ev,re,r,rp) ...@@ -84,7 +84,7 @@ function c1110122.op2(e,tp,eg,ep,ev,re,r,rp)
e2_1:SetCountLimit(1) e2_1:SetCountLimit(1)
e2_1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END) e2_1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
e2_1:SetRange(LOCATION_GRAVE) e2_1:SetRange(LOCATION_GRAVE)
-- e2_1:SetCondition(c1110122.con2_1) -- e2_1:SetCondition(c1110122.con2_1)
e2_1:SetOperation(c1110122.op2_1) e2_1:SetOperation(c1110122.op2_1)
c:RegisterEffect(e2_1) c:RegisterEffect(e2_1)
end end
...@@ -94,7 +94,7 @@ function c1110122.cfilter2_1(c) ...@@ -94,7 +94,7 @@ function c1110122.cfilter2_1(c)
end end
-- --
--function c1110122.con2_1(e,tp,eg,ep,ev,re,r,rp) --function c1110122.con2_1(e,tp,eg,ep,ev,re,r,rp)
-- return Duel.IsExistingMatchingCard(c1110122.cfilter2_1,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil) -- return Duel.IsExistingMatchingCard(c1110122.cfilter2_1,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
--end --end
-- --
function c1110122.op2_1(e,tp,eg,ep,ev,re,r,rp) function c1110122.op2_1(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -43,12 +43,14 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -43,12 +43,14 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function cm.leaveop(e,tp,eg,ep,ev,re,r,rp) function cm.leaveop(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsFacedown() then return end if e:GetHandler():IsFacedown() then return end
if Duel.GetCurrentPhase()<=PHASE_BATTLE then
local effp=e:GetHandler():GetControler() local effp=e:GetHandler():GetControler()
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SKIP_BP) e1:SetCode(EFFECT_SKIP_BP)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,1) e1:SetTargetRange(1,1)
e1:SetReset(RESET_PHASE+PHASE_END+RESET_SELF_TURN,1) e1:SetReset(RESET_PHASE+PHASE_END,1)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
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