Commit f2a339e4 authored by 八宫一月's avatar 八宫一月 Committed by GitHub

fix おとり人形 (#2466)

parent d0cf74eb
...@@ -34,7 +34,9 @@ function c7165085.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -34,7 +34,9 @@ function c7165085.activate(e,tp,eg,ep,ev,re,r,rp)
local tep=tc:GetControler() local tep=tc:GetControler()
if not te then if not te then
Duel.ChangePosition(tc,POS_FACEUP) Duel.ChangePosition(tc,POS_FACEUP)
Duel.Destroy(tc,REASON_EFFECT) if Duel.Destroy(tc,REASON_EFFECT)==0 then
Duel.SendtoGrave(tc,REASON_RULE)
end
else else
local condition=te:GetCondition() local condition=te:GetCondition()
local cost=te:GetCost() local cost=te:GetCost()
...@@ -68,7 +70,9 @@ function c7165085.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,7 +70,9 @@ function c7165085.activate(e,tp,eg,ep,ev,re,r,rp)
tg=g:GetNext() tg=g:GetNext()
end end
else else
Duel.Destroy(tc,REASON_EFFECT) if Duel.Destroy(tc,REASON_EFFECT)==0 then
Duel.SendtoGrave(tc,REASON_RULE)
end
end end
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