Commit 5854a492 authored by mercury233's avatar mercury233 Committed by GitHub

fix 冀望郷-バリアン-

parent 7b2a5bf2
......@@ -73,6 +73,10 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
local tc1=e:GetLabelObject()
local tc2=g:Filter(Card.IsControler,tc1,1-tp):GetFirst()
if tc1:IsType(TYPE_XYZ) and not tc1:IsImmuneToEffect(e) and tc2 then
local og=tc2:GetOverlayGroup()
if og:GetCount()>0 then
Duel.SendtoGrave(og,REASON_RULE)
end
Duel.Overlay(tc1,tc2)
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