Commit 60c57548 authored by HidarimeYume's avatar HidarimeYume Committed by GitHub

fix スプライト・ダブルクロス (#1946)

Fixed an issue that the target monster will destory if there is no linked zone when the effect resolves.
parent ea9be939
...@@ -91,7 +91,7 @@ end ...@@ -91,7 +91,7 @@ end
function c68250822.operation2(e,tp,eg,ep,ev,re,r,rp) function c68250822.operation2(e,tp,eg,ep,ev,re,r,rp)
local zone=c68250822.getzone(tp) local zone=c68250822.getzone(tp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) and zone~=0 then
Duel.GetControl(tc,tp,0,0,zone) Duel.GetControl(tc,tp,0,0,zone)
end end
end end
...@@ -110,7 +110,7 @@ end ...@@ -110,7 +110,7 @@ end
function c68250822.operation3(e,tp,eg,ep,ev,re,r,rp) function c68250822.operation3(e,tp,eg,ep,ev,re,r,rp)
local zone=c68250822.getzone(tp) local zone=c68250822.getzone(tp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) and zone~=0 then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP,zone) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP,zone)
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