From d8206035a54597067472ed5e59035f7107821d96 Mon Sep 17 00:00:00 2001 From: Wind2009-Louse Date: Mon, 6 Jul 2026 08:55:54 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E6=99=82=E7=A9=BA=E3=81=AE=E6=B8=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- c42138622.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/c42138622.lua b/c42138622.lua index dca6330474..cd49e53bb4 100644 --- a/c42138622.lua +++ b/c42138622.lua @@ -1,4 +1,4 @@ ---Vortex of Time +--時空の渦 local s,id,o=GetID() function s.initial_effect(c) aux.AddCodeList(c,97077563) @@ -14,9 +14,12 @@ function s.initial_effect(c) e1:SetOperation(s.chop) c:RegisterEffect(e1) end +function s.mfilter(c) + return c:IsRace(RACE_ZOMBIE) and c:IsType(TYPE_MONSTER) and c:IsFaceup() +end function s.condition(e,tp,eg,ep,ev,re,r,rp) local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_ONFIELD,0,nil) - local check=g:IsExists(Card.IsRace,1,nil,RACE_ZOMBIE) and g:IsExists(Card.IsCode,1,nil,97077563) + local check=g:IsExists(s.mfilter,1,nil) and g:IsExists(Card.IsCode,1,nil,97077563) return rp==1-tp and check and (re:IsActiveType(TYPE_MONSTER) or re:GetActiveType()==TYPE_SPELL or re:IsActiveType(TYPE_QUICKPLAY)) end