Commit 6518265f authored by GuGu's avatar GuGu

Update c20516.lua

parent 5e062177
Pipeline #33472 passed with stage
in 12 seconds
...@@ -57,11 +57,11 @@ function s.spfilter(c) ...@@ -57,11 +57,11 @@ function s.spfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToRemove() and c:IsSetCard(0x713) return c:IsType(TYPE_MONSTER) and c:IsAbleToRemove() and c:IsSetCard(0x713)
and (c:IsFaceup() or c:IsLocation(LOCATION_EXTRA)) and (c:IsFaceup() or c:IsLocation(LOCATION_EXTRA))
end end
function s.hspcon(e,c) function s.hspcon(e,c,og)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
local rg=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_MZONE+LOCATION_EXTRA,0,c) local rg=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_MZONE+LOCATION_EXTRA,0,c)
return rg:CheckSubGroup(s.fselect,5,5,tp,c) return rg:CheckSubGroup(s.fselect,5,5,tp,c) and not og
end end
function s.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c) function s.hsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local rg=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_MZONE+LOCATION_EXTRA,0,c) local rg=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_MZONE+LOCATION_EXTRA,0,c)
......
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