Commit 18c97d84 authored by 想象力很好的毛虫's avatar 想象力很好的毛虫 Committed by GitHub

Update spsmLimit (#2631)

parent a2957837
......@@ -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)
......
......@@ -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
......@@ -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
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