Commit 9f0e89f1 authored by tsubaki's avatar tsubaki

fix2

parent 0beaf3b5
Pipeline #42305 passed with stage
in 7 seconds
......@@ -44,7 +44,7 @@ function c22130.activate(e,tp,eg,ep,ev,re,r,rp)
e2:SetRange(LOCATION_MZONE+LOCATION_HAND)
e2:SetValue(c22130.synlevel)
e2:SetReset(RESET_EVENT+RESETS_STANDARD)
c:RegisterEffect(e2)
sg:GetFirst():RegisterEffect(e2)
if Duel.SelectYesNo(tp,aux.Stringid(22130,2)) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -39,7 +39,7 @@ function c22222.initial_effect(c)
end
function c22222.spcon(e,c)
if c==nil then return true end
return Duel.GetMatchingGroupCount(c22222.spcfilter,c:GetControler(),LOCATION_ONFIELD,0,nil)==0
return Duel.GetMatchingGroupCount(c22222.spcfilter,c:GetControler(),LOCATION_ONFIELD,0,nil)>0
and Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0
end
function c22222.spcfilter(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