Commit 20f490bf authored by mallu11's avatar mallu11 Committed by GitHub

fix 六花聖カンザシ (#1428)

parent deeb8226
......@@ -80,7 +80,7 @@ function c6284176.rfilter(c)
end
function c6284176.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(c6284176.repfilter,1,nil,tp)
and Duel.IsExistingMatchingCard(c6284176.rfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,nil) end
and Duel.CheckReleaseGroupEx(tp,c6284176.rfilter,1,nil) end
return Duel.SelectEffectYesNo(tp,e:GetHandler(),96)
end
function c6284176.repval(e,c)
......@@ -88,7 +88,7 @@ function c6284176.repval(e,c)
end
function c6284176.repop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESREPLACE)
local g=Duel.SelectMatchingCard(tp,c6284176.rfilter,tp,LOCATION_HAND+LOCATION_MZONE,0,1,1,nil)
Duel.Release(g,REASON_EFFECT+REASON_REPLACE)
local g=Duel.SelectReleaseGroupEx(tp,c6284176.rfilter,1,1,nil)
Duel.Hint(HINT_CARD,0,6284176)
Duel.Release(g,REASON_EFFECT+REASON_REPLACE)
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