Commit 15c05d69 authored by mercury233's avatar mercury233 Committed by GitHub

fix デコイドラゴン

parent 74a7f87c
......@@ -24,10 +24,14 @@ function c2732323.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c2732323.spop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsRelateToEffect(e) and Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)>0 then
local a=Duel.GetAttacker()
if a:IsAttackable() and not a:IsImmuneToEffect(e) then
Duel.CalculateDamage(a,tc)
if tc and tc:IsRelateToEffect(e) then
Duel.DisableSelfDestroyCheck()
if Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)>0 then
local a=Duel.GetAttacker()
if a:IsAttackable() and not a:IsImmuneToEffect(e) then
Duel.CalculateDamage(a,tc)
end
end
Duel.DisableSelfDestroyCheck(false)
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