Commit d1caa240 authored by mercury233's avatar mercury233 Committed by GitHub

fix 聖蔓の交配

parent 0ed8c51a
...@@ -22,8 +22,8 @@ function c70473293.costfilter(c,tp) ...@@ -22,8 +22,8 @@ function c70473293.costfilter(c,tp)
return c:IsType(TYPE_LINK) and (c:IsControler(tp) or c:IsFaceup()) and Duel.GetMZoneCount(tp,c)>0 return c:IsType(TYPE_LINK) and (c:IsControler(tp) or c:IsFaceup()) and Duel.GetMZoneCount(tp,c)>0
end end
function c70473293.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c70473293.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,c70473293.costfilter,1,false,nil,tp) end if chk==0 then return Duel.CheckReleaseGroup(tp,c70473293.costfilter,1,nil,tp) end
local rg=Duel.SelectReleaseGroup(tp,c70473293.costfilter,1,1,false,nil,tp) local rg=Duel.SelectReleaseGroup(tp,c70473293.costfilter,1,1,nil,tp)
Duel.Release(rg,REASON_COST) Duel.Release(rg,REASON_COST)
e:SetLabelObject(rg:GetFirst()) e:SetLabelObject(rg:GetFirst())
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