Commit a4ebbea4 authored by 聖園ミカ's avatar 聖園ミカ 🐟

54188

parent 2af09fdb
No preview for this file type
......@@ -140,7 +140,11 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function s.disop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
if Duel.NegateEffect(ev) and re:GetHandler():IsRelateToEffect(re) then
if rc:IsType(TYPE_SPELL+TYPE_TRAP) then
rc:CancelToGrave()
end
Duel.SendtoDeck(eg,nil,2,REASON_EFFECT)
end
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