Commit 51b78067 authored by salix5's avatar salix5

fix XYZ series

parent 351cafe7
...@@ -42,7 +42,7 @@ function c2111707.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -42,7 +42,7 @@ function c2111707.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c2111707.desop(e,tp,eg,ep,ev,re,r,rp) function c2111707.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsFaceup() then if tc:IsRelateToEffect(e) and tc:IsControler(1-tp) and tc:IsFaceup() then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
end end
end end
...@@ -42,7 +42,7 @@ function c25119460.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -42,7 +42,7 @@ function c25119460.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c25119460.desop(e,tp,eg,ep,ev,re,r,rp) function c25119460.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsFacedown() then if tc:IsRelateToEffect(e) and tc:IsControler(1-tp) and tc:IsFacedown() then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
end end
end end
...@@ -45,7 +45,7 @@ function c84243274.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -45,7 +45,7 @@ function c84243274.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c84243274.rmop(e,tp,eg,ep,ev,re,r,rp) function c84243274.rmop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) and tc:IsControler(1-tp) then
Duel.Remove(tc,POS_FACEUP,REASON_EFFECT) Duel.Remove(tc,POS_FACEUP,REASON_EFFECT)
end end
end end
......
...@@ -39,7 +39,7 @@ function c91998119.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -39,7 +39,7 @@ function c91998119.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c91998119.desop(e,tp,eg,ep,ev,re,r,rp) function c91998119.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) and tc:IsControler(1-tp) then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,REASON_EFFECT)
end end
end end
...@@ -42,7 +42,7 @@ function c99724761.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -42,7 +42,7 @@ function c99724761.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c99724761.desop(e,tp,eg,ep,ev,re,r,rp) function c99724761.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and tc:IsFacedown() then if tc:IsRelateToEffect(e) and tc:IsControler(1-tp) and tc:IsFacedown() then
Duel.Destroy(tc,REASON_EFFECT) Duel.Destroy(tc,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