Commit a270be48 authored by Amiya's avatar Amiya

修复

parent d2e2bb57
Pipeline #37555 failed with stages
in 12 seconds
......@@ -94,12 +94,12 @@ end
function s.chkfilter(c,odevity)
return c:GetCurrentScale()%2==odevity
end
function s.chkcon(g,tp)
function s.chkcon(g)
return g:IsExists(s.chkfilter,1,nil,1) and g:IsExists(s.chkfilter,1,nil,0)
end
function s.effcon(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.scfilter,tp,LOCATION_PZONE,0,nil)
return s.chkcon(g,tp)
local g=Duel.GetMatchingGroup(s.scfilter,e:GetHandlerPlayer(),LOCATION_PZONE,0,nil)
return s.chkcon(g)
end
function s.effectfilter(e,ct)
local p=e:GetHandler():GetControler()
......
......@@ -95,6 +95,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
elseif e:GetLabel()==2 then
if Duel.GetFlagEffect(tp,id+o*3)~=0 then return end
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,5))
e1:SetType(EFFECT_TYPE_FIELD)
......
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