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

54188

parent 2af09fdb
Pipeline #30879 passed with stages
in 38 minutes and 11 seconds
No preview for this file type
...@@ -140,7 +140,11 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -140,7 +140,11 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function s.disop(e,tp,eg,ep,ev,re,r,rp) 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 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) Duel.SendtoDeck(eg,nil,2,REASON_EFFECT)
end end
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