Commit 8d16a02f authored by Tachibana's avatar Tachibana

ndyd

parent add3eb8d
......@@ -41,7 +41,7 @@ function c21520121.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function c21520121.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc and tc:IsRelateToEffect(e) then
if Duel.Destroy(tc,REASON_EFFECT)~=0 then
Duel.BreakEffect()
Duel.Draw(e:GetHandler():GetControler(),Duel.GetMatchingGroupCount(c21520121.effectfilter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,nil),REASON_EFFECT)
......
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