Commit d189dec1 authored by wind2009's avatar wind2009

Fix テンプレート・スキッパー

parent 8c812e99
......@@ -46,10 +46,11 @@ function s.spval(e,c)
return 0,zone
end
function s.rmfilter(c,tc)
return c:IsType(RACE_CYBERSE) and not c:IsCode(tc:GetLinkCode()) and c:IsAbleToRemove()
return c:IsRace(RACE_CYBERSE) and c:IsAbleToRemove() and not c:IsCode(tc:GetLinkCode())
end
function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.rmfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,nil,e:GetHandler()) end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,nil,1,tp,LOCATION_HAND+LOCATION_GRAVE)
end
function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......@@ -72,4 +73,4 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
c:RegisterEffect(e2)
end
end
end
\ No newline at end of file
end
......@@ -86,4 +86,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
g:RemoveCard(dc)
Duel.Overlay(dc,g)
end
end
\ No newline at end of file
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