Commit 7f7e6fcf authored by mercury233's avatar mercury233

fix

parent 735c1d38
......@@ -83,7 +83,7 @@ function c100257011.eqop(e,tp,eg,ep,ev,re,r,rp)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e3:SetTargetRange(1,0)
e3:SetLabelObject(gc)
e3:SetLabel(gc:GetCode())
e3:SetTarget(c100257011.splimit)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
......@@ -94,5 +94,5 @@ function c100257011.eqlimit(e,c)
return c==e:GetLabelObject()
end
function c100257011.splimit(e,c)
return c:IsCode(e:GetLabelObject():GetCode())
return c:IsCode(e:GetLabel())
end
......@@ -76,5 +76,6 @@ function c100257021.thop(e,tp,eg,ep,ev,re,r,rp)
local sg=g:SelectSubGroup(tp,aux.dncheck,false,1,2)
if sg then
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
end
end
......@@ -64,6 +64,7 @@ function c100260001.disop(e,tp,eg,ep,ev,re,r,rp)
if Duel.NegateEffect(ev) then
local g=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
if g:GetCount()>0 then
Duel.HintSelection(g)
Duel.Destroy(g,REASON_EFFECT)
end
end
......
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