Commit d189dec1 authored by wind2009's avatar wind2009

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

parent 8c812e99
...@@ -46,10 +46,11 @@ function s.spval(e,c) ...@@ -46,10 +46,11 @@ function s.spval(e,c)
return 0,zone return 0,zone
end end
function s.rmfilter(c,tc) 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 end
function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk) 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 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 end
function s.rmop(e,tp,eg,ep,ev,re,r,rp) function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
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