From 469cda9aa8229264162142f93b0e09b561696bb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=83=B3=E8=B1=A1=E5=8A=9B=E5=BE=88=E5=A5=BD=E7=9A=84?= =?UTF-8?q?=E6=AF=9B=E8=99=AB?= <71340108+Crescent0v0@users.noreply.github.com> Date: Tue, 13 Aug 2024 11:30:49 +0800 Subject: [PATCH] Update spsmLimit --- c10158145.lua | 2 +- c63060238.lua | 2 +- c64442155.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/c10158145.lua b/c10158145.lua index b43eabeeed..44762067fc 100644 --- a/c10158145.lua +++ b/c10158145.lua @@ -87,7 +87,7 @@ function c10158145.spop(e,tp,eg,ep,ev,re,r,rp) end end function c10158145.splimit(e,c,sump,sumtype,sumpos,targetp) - return not c:IsType(TYPE_LINK) + return c:GetOriginalType()&TYPE_LINK~=TYPE_LINK end function c10158145.condition(e,tp,eg,ep,ev,re,r,rp) return e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD) and e:GetHandler():IsPreviousControler(tp) diff --git a/c63060238.lua b/c63060238.lua index a4dfbf4923..4b2f9ed289 100644 --- a/c63060238.lua +++ b/c63060238.lua @@ -87,5 +87,5 @@ function c63060238.tgop(e,tp,eg,ep,ev,re,r,rp) Duel.RegisterEffect(e5,tp) end function c63060238.splimit(e,c,tp,sumtp,sumpos) - return not c:IsType(TYPE_FUSION) + return c:GetOriginalType()&TYPE_FUSION~=TYPE_FUSION end diff --git a/c64442155.lua b/c64442155.lua index 1ae6c5a985..600d2c1570 100644 --- a/c64442155.lua +++ b/c64442155.lua @@ -47,5 +47,5 @@ function c64442155.activate(e,tp,eg,ep,ev,re,r,rp) Duel.RegisterEffect(e1,tp) end function c64442155.splimit(e,c) - return c:GetType()&0x81~=0x81 + return c:GetOriginalType()&0x81~=0x81 end