Commit 6b5ac676 authored by GuGu's avatar GuGu

Update c431405.lua

parent d5355d57
Pipeline #33470 passed with stage
in 9 seconds
...@@ -55,11 +55,11 @@ end ...@@ -55,11 +55,11 @@ end
function s.spfilter(c) function s.spfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsReleasable() and c:IsRace(RACE_FAIRY) and c:IsFaceup() return c:IsType(TYPE_MONSTER) and c:IsReleasable() and c:IsRace(RACE_FAIRY) and c:IsFaceup()
end end
function s.spcon(e,c) function s.spcon(e,c,smat,mg)
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,0,nil) local rg=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_MZONE,0,nil)
return rg:CheckSubGroup(s.fselect,2,2,tp,c) return rg:CheckSubGroup(s.fselect,2,2,tp,c) and not smat and not mg
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local rg=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_MZONE,0,nil) local rg=Duel.GetMatchingGroup(s.spfilter,tp,LOCATION_MZONE,0,nil)
......
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