Commit 44c5d5ce authored by tsubaki's avatar tsubaki

2.0.0 fix5

parent a236f269
Pipeline #39107 passed with stage
in 48 seconds
...@@ -20,7 +20,7 @@ function s.initial_effect(c) ...@@ -20,7 +20,7 @@ function s.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_TO_HAND) e2:SetCode(EVENT_TO_HAND)
e2:SetCountLimit(1,id+2) e2:SetCountLimit(1,id)
e2:SetCondition(s.spcon2) e2:SetCondition(s.spcon2)
e2:SetTarget(s.sptg2) e2:SetTarget(s.sptg2)
e2:SetOperation(s.spop2) e2:SetOperation(s.spop2)
......
...@@ -19,7 +19,7 @@ function s.initial_effect(c) ...@@ -19,7 +19,7 @@ function s.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetProperty(EFFECT_FLAG_DELAY) e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCode(EVENT_TO_HAND) e2:SetCode(EVENT_TO_HAND)
e2:SetCountLimit(1,id+2) e2:SetCountLimit(1,id)
e2:SetCondition(s.scon2) e2:SetCondition(s.scon2)
e2:SetTarget(s.stg2) e2:SetTarget(s.stg2)
e2:SetOperation(s.sop2) e2:SetOperation(s.sop2)
...@@ -57,7 +57,7 @@ function s.spop1(e,tp,eg,ep,ev,re,r,rp) ...@@ -57,7 +57,7 @@ function s.spop1(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e2,tp) Duel.RegisterEffect(e2,tp)
end end
function s.filter(c) function s.filter(c,tp)
return c:IsCode(25220) and c:GetActivateEffect():IsActivatable(tp) return c:IsCode(25220) and c:GetActivateEffect():IsActivatable(tp)
end end
function s.scon2(e,tp,eg,ep,ev,re,r,rp) function s.scon2(e,tp,eg,ep,ev,re,r,rp)
...@@ -65,7 +65,7 @@ function s.scon2(e,tp,eg,ep,ev,re,r,rp) ...@@ -65,7 +65,7 @@ function s.scon2(e,tp,eg,ep,ev,re,r,rp)
end end
function s.stg2(e,tp,eg,ep,ev,re,r,rp,chk) function s.stg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,0x11,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,0x11,0,1,nil,tp) end
end end
function s.sop2(e,tp,eg,ep,ev,re,r,rp) function s.sop2(e,tp,eg,ep,ev,re,r,rp)
......
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