Commit c6fe2e1e authored by Tachibana's avatar Tachibana

ybb

parent 4b5615ff
Pipeline #10449 passed with stages
in 30 minutes and 45 seconds
......@@ -31,7 +31,7 @@ function cm.initial_effect(c)
end
function cm.setfilter1(c)
return c:IsSetCard(0xcc5) and c:IsType(TYPE_MONSTER) and c:IsLevelAbove(5) and c:IsAbleToHand()
and Duel.IsPlayerCanSummon(tp,SUMMON_TYPE_NORMAL,c)
and Duel.IsPlayerCanSummon(tp,SUMMON_TYPE_ADVANCE,c)
end
function cm.togtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and cm.setfilter1(chkc) end
......@@ -44,7 +44,6 @@ function cm.togop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local ct=Duel.GetFirstTarget()
if ct:IsRelateToEffect(e) then
local tp=tc:GetOwner()
Duel.SendtoHand(ct,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,ct)
if ct:IsLocation(LOCATION_HAND) then
......
......@@ -3,7 +3,7 @@ local m=33502009
local cm=_G["c"..m]
function cm.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(c.setname,"Gmemories"),1)
aux.AddSynchroProcedure(c,nil,aux.NonTuner(cm.filter),1)
c:EnableReviveLimit()
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,1))
......@@ -56,6 +56,9 @@ function cm.initial_effect(c)
end
cm.setname="Gmemories"
--e2
function cm.filter(c)
return c.setname=="Gmemories"
end
function cm.thfilter(c)
return c.setname=="Gmemories" and c:IsAbleToHand()
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