Commit b175d639 authored by wind2009's avatar wind2009

Update 原質の臨界超過

parent ea7a4220
Pipeline #30229 failed with stages
in 1 minute and 17 seconds
......@@ -32,7 +32,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
rg:Merge(hg)
end
end
if chk==0 then return rg and rg:Filter(s.ovfilter,nil,tp):GetCount()>0 end
if chk==0 then return rg and rg:FilterCount(s.ovfilter,nil,tp)>0 end
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
end
function s.atkfilter(c,e)
......@@ -50,7 +50,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
rg:Merge(hg)
end
end
if rg and rg:Filter(s.ovfilter,nil,tp):GetCount()>0 then
if rg and rg:FilterCount(s.ovfilter,nil,tp)>0 then
Duel.BreakEffect()
local tc=rg:FilterSelect(tp,s.ovfilter,1,1,nil,tp):GetFirst()
if Duel.SendtoHand(tc,nil,REASON_EFFECT)~=0 and tc:IsLocation(LOCATION_HAND) then
......
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