Commit 701ba91e authored by wind2009's avatar wind2009

Fix 絢嵐渦麗ヴァルルーン

parent de09aaa0
Pipeline #37460 failed with stages
in 48 seconds
......@@ -76,11 +76,12 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
end
function s.disop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
if not Duel.NegateEffect(ev) then return end
if Duel.IsExistingMatchingCard(s.confilter,tp,LOCATION_GRAVE,0,2,nil)
and re:GetHandler():IsRelateToChain(ev)
and rc:IsRelateToChain(ev) and rc:IsDestructable()
and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
Duel.BreakEffect()
Duel.Destroy(eg,REASON_EFFECT)
Duel.Destroy(rc,REASON_EFFECT)
end
end
\ No newline at end of file
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