Commit d89fff71 authored by salix5's avatar salix5 Committed by GitHub

fix 臨時ダイヤ

parent b9b67cb4
...@@ -35,7 +35,7 @@ function c97520701.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -35,7 +35,7 @@ function c97520701.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c97520701.operation(e,tp,eg,ep,ev,re,r,rp) function c97520701.operation(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:IsRace(RACE_MACHINE) then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP_DEFENSE) Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP_DEFENSE)
end end
end end
...@@ -54,7 +54,7 @@ function c97520701.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -54,7 +54,7 @@ function c97520701.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c97520701.thop(e,tp,eg,ep,ev,re,r,rp) function c97520701.thop(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:IsRace(RACE_MACHINE) then
Duel.SendtoHand(tc,nil,REASON_EFFECT) Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc) Duel.ConfirmCards(1-tp,tc)
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