Commit 1ff77f7c authored by Tachibana's avatar Tachibana

1145141919810

parent 3c20b3bf
Pipeline #14722 passed with stages
in 23 minutes and 15 seconds
......@@ -45,13 +45,13 @@ function c65020080.initial_effect(c)
c:RegisterEffect(e6)
end
function c65020080.con0(e,tp,eg,ep,ev,re,r,rp)
return not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020080.con1(e,tp,eg,ep,ev,re,r,rp)
return (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020080.con2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020095)
return Duel.GetFlagEffect(tp,65020095)>0
end
function c65020080.counterfilter(c)
return c:IsSetCard(0xada3)
......@@ -88,10 +88,10 @@ function c65020080.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function c65020080.con3(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020080.con4(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020080.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
......
......@@ -45,13 +45,13 @@ function c65020082.initial_effect(c)
c:RegisterEffect(e6)
end
function c65020082.con0(e,tp,eg,ep,ev,re,r,rp)
return not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020082.con1(e,tp,eg,ep,ev,re,r,rp)
return (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020082.con2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020095)
return Duel.GetFlagEffect(tp,65020095)>0
end
function c65020082.counterfilter(c)
return c:IsSetCard(0xada3)
......@@ -88,10 +88,10 @@ function c65020082.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function c65020082.con3(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020082.con4(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020082.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
......
......@@ -45,13 +45,13 @@ function c65020084.initial_effect(c)
c:RegisterEffect(e6)
end
function c65020084.con0(e,tp,eg,ep,ev,re,r,rp)
return not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020084.con1(e,tp,eg,ep,ev,re,r,rp)
return (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020084.con2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020095)
return Duel.GetFlagEffect(tp,65020095)>0
end
function c65020084.counterfilter(c)
return c:IsSetCard(0xada3)
......@@ -88,10 +88,10 @@ function c65020084.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function c65020084.con3(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020084.con4(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020084.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
......
......@@ -45,13 +45,13 @@ function c65020086.initial_effect(c)
c:RegisterEffect(e6)
end
function c65020086.con0(e,tp,eg,ep,ev,re,r,rp)
return not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020086.con1(e,tp,eg,ep,ev,re,r,rp)
return (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020086.con2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020095)
return Duel.GetFlagEffect(tp,65020095)>0
end
function c65020086.counterfilter(c)
return c:IsSetCard(0xada3)
......@@ -88,10 +88,10 @@ function c65020086.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function c65020086.con3(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020086.con4(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020086.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
......
......@@ -44,13 +44,13 @@ function c65020090.initial_effect(c)
c:RegisterEffect(e6)
end
function c65020090.con0(e,tp,eg,ep,ev,re,r,rp)
return not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020090.con1(e,tp,eg,ep,ev,re,r,rp)
return (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020090.con2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020095)
return Duel.GetFlagEffect(tp,65020095)>0
end
function c65020090.counterfilter(c)
return c:IsSetCard(0xada3)
......@@ -87,10 +87,10 @@ function c65020090.op(e,tp,eg,ep,ev,re,r,rp)
end
end
function c65020090.con3(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and not (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and not (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020090.con4(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsPlayerAffectedByEffect(tp,65020092) and (Duel.IsPlayerAffectedByEffect(tp,65020093) or e:GetHandler():GetFlagEffect(65001020)~=0)
return Duel.GetFlagEffect(tp,65020092)>0 and (Duel.GetFlagEffect(tp,65020093)>0 or e:GetHandler():GetFlagEffect(65001020)~=0)
end
function c65020090.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
......
......@@ -20,13 +20,13 @@ function c65020092.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(65020092)
e2:SetCode(0x10000000+65020092)
e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(1,0)
c:RegisterEffect(e2)
end
function c65020092.confil(c,tp)
return c:GetPreviousControler()==1-tp and c:IsReason(REASON_EFFECT) and c:IsPreviousLocation(LOCATION_ONFIELD)
return c:GetPreviousControler()==1-tp and c:IsReason(REASON_EFFECT)
end
function c65020092.con(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c65020092.confil,1,nil,tp)
......
......@@ -15,7 +15,7 @@ function c65020093.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(65020093)
e2:SetCode(0x10000000+65020093)
e2:SetRange(LOCATION_MZONE)
e2:SetTargetRange(1,0)
c:RegisterEffect(e2)
......
......@@ -19,7 +19,7 @@ function c65020095.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetCode(65020095)
e2:SetCode(0x10000000+65020095)
e2:SetRange(LOCATION_FZONE)
e2:SetTargetRange(1,0)
c:RegisterEffect(e2)
......
......@@ -35,7 +35,7 @@ function c65020096.op(e,tp,eg,ep,ev,re,r,rp)
e2:SetCondition(c65020096.descon)
e2:SetOperation(c65020096.desop)
Duel.RegisterEffect(e2,tp)
tc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(65020096,1))
tc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(65020096,2))
end
end
function c65020096.descon(e,tp,eg,ep,ev,re,r,rp)
......@@ -73,11 +73,11 @@ function c65020096.thop(e,tp,eg,ep,ev,re,r,rp)
m=1
end
if m==0 then
local g1=Duel.SelectMatchingCard(tp,c65020096.thfil,tp,LOCATION_DECK,0,1,1,nil)
local g1=Duel.SelectMatchingCard(tp,c65020080.thfil,tp,LOCATION_DECK,0,1,1,nil)
Duel.SendtoHand(g1,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,g1)
elseif m==1 then
local g2=Duel.SelectMatchingCard(tp,c65020096.thfil,tp,LOCATION_DECK,0,1,1,nil,e,tp)
local g2=Duel.SelectMatchingCard(tp,c65020084.thfil,tp,LOCATION_DECK,0,1,1,nil,e,tp)
Duel.SpecialSummon(g2,0,tp,tp,false,false,POS_FACEUP)
end
e:Reset()
......
......@@ -29,6 +29,7 @@ end
function c65020098.op(e,tp,eg,ep,ev,re,r,rp)
if not Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,LOCATION_GRAVE,LOCATION_GRAVE,5,nil) then return end
local gn=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_GRAVE,LOCATION_GRAVE,5,5,nil)
Duel.HintSelection(gn)
if Duel.SendtoDeck(gn,nil,2,REASON_COST)==5 then
Duel.BreakEffect()
local g=Duel.SelectMatchingCard(tp,c65020098.thfil,tp,LOCATION_DECK,0,1,1,nil)
......
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