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)
end
function c1110005.tfilter2_2(c,e,tp,lv,lg)
return muxu.check_set_Urban(c) and c:IsLevel(lv)
and c:IsType(TYPE_SYNCHRO)
and Duel.GetLocationCountFromEx(tp,tp,lg,c)>0
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_SYNCHRO,tp,false,false)
end
......
......@@ -35,7 +35,7 @@ function c1110121.ovfilter(c)
return c:IsFaceup() and c:IsCode(1110001)
end
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
function c1110121.xyzop(e,tp,chk)
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)
return c:IsFaceup() and c:IsCode(1110002)
end
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
function c1110122.xyzop(e,tp,chk)
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)
e2_1:SetCountLimit(1)
e2_1:SetReset(RESET_EVENT+0x1fe0000+RESET_PHASE+PHASE_END)
e2_1:SetRange(LOCATION_GRAVE)
-- e2_1:SetCondition(c1110122.con2_1)
-- e2_1:SetCondition(c1110122.con2_1)
e2_1:SetOperation(c1110122.op2_1)
c:RegisterEffect(e2_1)
end
......@@ -94,7 +94,7 @@ function c1110122.cfilter2_1(c)
end
--
--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
--
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)
end
function cm.leaveop(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsFacedown() then return end
if Duel.GetCurrentPhase()<=PHASE_BATTLE then
local effp=e:GetHandler():GetControler()
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SKIP_BP)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
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)
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