Commit 10ee2249 authored by songtongtong's avatar songtongtong

fixed

parent e6b8d2b2
Pipeline #23906 passed with stages
in 30 minutes and 26 seconds
......@@ -95,7 +95,7 @@ function cm.disop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.NegateEffect(ev) and re:GetHandler():IsRelateToEffect(re) then
if Duel.Destroy(eg,REASON_EFFECT)~=0 then
if Duel.IsExistingMatchingCard(cm.dfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,e,tp) then
if Duel.IsExistingMatchingCard(cm.dfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,e,tp) and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
local bg=Duel.SelectMatchingCard(tp,cm.dfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
local tc=bg:GetFirst()
Duel.NegateRelatedChain(tc,RESET_TURN_SET)
......
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