Commit 7f5ddca9 authored by TanakaKotoha's avatar TanakaKotoha

fix 2

parent a86f2771
...@@ -75,9 +75,9 @@ function c26807032.cfilter(c,tp) ...@@ -75,9 +75,9 @@ function c26807032.cfilter(c,tp)
return c:GetOwner()==1-tp and c:IsAbleToRemoveAsCost() return c:GetOwner()==1-tp and c:IsAbleToRemoveAsCost()
end end
function c26807032.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c26807032.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c26807032.cfilter,tp,LOCATION_ONFIELD,0,1,nil,tp) end if chk==0 then return Duel.IsExistingMatchingCard(c26807032.cfilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler(),tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g=Duel.SelectMatchingCard(tp,c26807032.cfilter,tp,LOCATION_ONFIELD,0,1,1,nil,tp) local g=Duel.SelectMatchingCard(tp,c26807032.cfilter,tp,LOCATION_ONFIELD,0,1,1,e:GetHandler(),tp)
Duel.Remove(g,POS_FACEDOWN,REASON_COST) Duel.Remove(g,POS_FACEDOWN,REASON_COST)
end end
function c26807032.setlimit(e,c,tp) function c26807032.setlimit(e,c,tp)
......
...@@ -32,8 +32,8 @@ function c65030016.costfil(c) ...@@ -32,8 +32,8 @@ function c65030016.costfil(c)
return c:IsFaceup() and c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() and aux.IsCodeListed(c,65030020) return c:IsFaceup() and c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() and aux.IsCodeListed(c,65030020)
end end
function c65030016.accost(e,tp,eg,ep,ev,re,r,rp,chk) function c65030016.accost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65030016.costfil,tp,LOCATION_SZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65030016.costfil,tp,LOCATION_SZONE,0,1,e:GetHandler()) end
local g=Duel.SelectMatchingCard(tp,c65030016.costfil,tp,LOCATION_SZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65030016.costfil,tp,LOCATION_SZONE,0,1,1,e:GetHandler())
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c65030016.atkcon(e,tp,eg,ep,ev,re,r,rp) function c65030016.atkcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -33,8 +33,8 @@ function c65030017.costfil(c) ...@@ -33,8 +33,8 @@ function c65030017.costfil(c)
return c:IsFaceup() and c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() and aux.IsCodeListed(c,65030020) return c:IsFaceup() and c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() and aux.IsCodeListed(c,65030020)
end end
function c65030017.accost(e,tp,eg,ep,ev,re,r,rp,chk) function c65030017.accost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65030017.costfil,tp,LOCATION_SZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65030017.costfil,tp,LOCATION_SZONE,0,1,e:GetHandler()) end
local g=Duel.SelectMatchingCard(tp,c65030017.costfil,tp,LOCATION_SZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65030017.costfil,tp,LOCATION_SZONE,0,1,1,e:GetHandler())
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c65030017.target(e,c) function c65030017.target(e,c)
......
...@@ -31,8 +31,8 @@ function c65030018.costfil(c) ...@@ -31,8 +31,8 @@ function c65030018.costfil(c)
return c:IsFaceup() and c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() and aux.IsCodeListed(c,65030020) return c:IsFaceup() and c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() and aux.IsCodeListed(c,65030020)
end end
function c65030018.accost(e,tp,eg,ep,ev,re,r,rp,chk) function c65030018.accost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65030018.costfil,tp,LOCATION_SZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65030018.costfil,tp,LOCATION_SZONE,0,1,e:GetHandler()) end
local g=Duel.SelectMatchingCard(tp,c65030018.costfil,tp,LOCATION_SZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65030018.costfil,tp,LOCATION_SZONE,0,1,1,e:GetHandler())
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c65030018.disconfil(c) function c65030018.disconfil(c)
......
...@@ -33,8 +33,8 @@ function c65030019.costfil(c) ...@@ -33,8 +33,8 @@ function c65030019.costfil(c)
return c:IsFaceup() and c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() and aux.IsCodeListed(c,65030020) return c:IsFaceup() and c:IsType(TYPE_SPELL) and c:IsType(TYPE_CONTINUOUS) and c:IsReleasable() and aux.IsCodeListed(c,65030020)
end end
function c65030019.accost(e,tp,eg,ep,ev,re,r,rp,chk) function c65030019.accost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c65030019.costfil,tp,LOCATION_SZONE,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c65030019.costfil,tp,LOCATION_SZONE,0,1,e:GetHandler()) end
local g=Duel.SelectMatchingCard(tp,c65030019.costfil,tp,LOCATION_SZONE,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65030019.costfil,tp,LOCATION_SZONE,0,1,1,e:GetHandler())
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end end
function c65030019.aclimit(e,re,tp) function c65030019.aclimit(e,re,tp)
......
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