Commit 5394e6d2 authored by mercury233's avatar mercury233 Committed by GitHub

fix 真六武衆-ミズホ

parent 17f0e169
......@@ -29,9 +29,12 @@ function c74094021.spcon(e,c)
return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 and
Duel.IsExistingMatchingCard(c74094021.spfilter,c:GetControler(),LOCATION_ONFIELD,0,1,nil)
end
function c74094021.costfilter(c,tp)
return c:IsSetCard(0x3d) and (c:IsControler(tp) or c:IsFaceup())
end
function c74094021.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckReleaseGroup(tp,Card.IsSetCard,1,e:GetHandler(),0x3d) end
local sg=Duel.SelectReleaseGroup(tp,Card.IsSetCard,1,1,e:GetHandler(),0x3d)
if chk==0 then return Duel.CheckReleaseGroup(tp,c74094021.costfilter,1,e:GetHandler(),tp) end
local sg=Duel.SelectReleaseGroup(tp,c74094021.costfilter,1,1,e:GetHandler(),tp)
Duel.Release(sg,REASON_COST)
end
function c74094021.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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