Commit c74c808d authored by TanakaKotoha's avatar TanakaKotoha

mopempoe

parent 111db27e
Pipeline #765 passed with stages
in 43 minutes and 52 seconds
No preview for this file type
......@@ -68,4 +68,4 @@ function c10909013.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoHand(c,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,c)
end
end
\ No newline at end of file
end
......@@ -72,7 +72,7 @@ function c15000051.spfilter(c)
return c:IsRace(RACE_FIEND) and c:IsType(TYPE_PENDULUM) and c:IsFaceup()
end
function c15000051.spcon(e)
return not Duel.IsExistingMatchingCard(nil,e:GetHandlerPlayer(),LOCATION_PZONE,0,1,e:GetHandler())
return Duel.IsExistingMatchingCard(c15000051.spfilter,e:GetHandlerPlayer(),LOCATION_EXTRA+LOCATION_GRAVE,0,1,1,nil) and not Duel.IsExistingMatchingCard(nil,e:GetHandlerPlayer(),LOCATION_PZONE,0,1,e:GetHandler())
end
function c15000051.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(15000051,0))
......@@ -139,4 +139,4 @@ function c15000051.sp2op(e,tp,eg,ep,ev,re,r,rp)
end
function c15000051.splimit(e,c)
return not c:IsRace(RACE_FIEND)
end
\ No newline at end of file
end
......@@ -48,11 +48,14 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,cm.thfil,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
if Duel.SendtoGrave(g,REASON_EFFECT)~=0 then
Duel.BreakEffect()
local xg=Duel.GetOperatedGroup()
if xg:GetCount()>0 and xg:IsExists(cm.thfil1,1,nil,tp) then
local xg0=xg:GetFirst()
Duel.MoveToField(xg0,tp,tp,LOCATION_SZONE,POS_FACEUP,true)
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then cost(te,tep,eg,ep,ev,re,r,rp,1) end
end
end
end
......@@ -100,4 +103,4 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.filter(c)
return c:IsFaceup() and c.setname=="Gmemories"
end
\ No newline at end of file
end
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