Commit 57891296 authored by Tachibana's avatar Tachibana

ybb

parent 2150e6a5
Pipeline #10967 passed with stages
in 27 minutes and 21 seconds
......@@ -43,7 +43,7 @@ function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function cm.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateActivation(ev)
if Duel.SendtoDeck(eg,nil,2,REASON_EFFECT) then
if re:GetHandler():IsRelateToEffect(re) and Duel.SendtoDeck(eg,nil,2,REASON_EFFECT)~=0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local tg=Duel.SelectMatchingCard(tp,cm.filter,tp,LOCATION_DECK,0,1,1,nil)
if tg:GetCount()>0 then
......
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