Commit 361c85d5 authored by mercury233's avatar mercury233 Committed by GitHub

fix 冀望郷-バリアン-

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