Commit 748cacac authored by wind2009's avatar wind2009

Fix メメント・スリーピィ

parent d0eefea7
......@@ -55,8 +55,10 @@ function s.cfilter(c,tp)
and c:IsReason(REASON_EFFECT)
end
function s.checkop(e,tp,eg,ep,ev,re,r,rp)
if eg:IsExists(s.cfilter,1,c,tp) then
Duel.RegisterFlagEffect(tp,id,RESET_PHASE+PHASE_END,0,1)
for p=0,1 do
if eg:IsExists(s.cfilter,1,c,p) then
Duel.RegisterFlagEffect(p,id,RESET_PHASE+PHASE_END,0,1)
end
end
end
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
......@@ -146,4 +148,4 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
if g:GetCount()>0 then
Duel.SendtoGrave(g,REASON_EFFECT)
end
end
end
\ No newline at end of file
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