Commit 44202178 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 18d2fe0d
......@@ -51,7 +51,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local sg=g:Select(tp,1,1,nil)
Duel.Release(sg,REASON_COST)
end
function cm.filter(c)
function cm.spcostfilter(c)
return c:IsFaceup() and (c:GetFlagEffect(12053000)>0 or c:GetFlagEffect(12053001)>0 or c:GetFlagEffect(12053002)>0 or c:GetFlagEffect(12053003)>0 or c:GetFlagEffect(12053004)>0 or c:GetFlagEffect(12053005)>0 or c:GetFlagEffect(12053006)>0 or c:GetFlagEffect(12053007)>0 or c:GetFlagEffect(12053008)>0 or c:GetFlagEffect(12053009)>0 or c:GetFlagEffect(12053010)>0)
end
function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
......
......@@ -67,6 +67,7 @@ function cm.disfilter(c)
end
function cm.epexop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local dg=Duel.GetMatchingGroup(cm.disfilter,tp,0,LOCATION_ONFIELD,nil)
if dg:GetCount()>0 and Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_ONFIELD,0,1,e:GetHandler(),c:GetCode()) and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.BreakEffect()
......
......@@ -10,7 +10,7 @@ function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetCode(m)
e1:SetCode(75646072)
e1:SetRange(LOCATION_MZONE)
c:RegisterEffect(e1)
--
......
......@@ -28,7 +28,7 @@ function c9910224.condition(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(c9910224.cfilter,tp,LOCATION_MZONE,0,1,nil)
end
function c9910224.spfilter(c,e,tp)
return c:IsRace(RACE_PSYCHO) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsSetCard(0x955) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c9910224.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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