Commit 34e8c59b authored by GuGu's avatar GuGu

Update c31060.lua

parent 03c19bf9
Pipeline #40789 passed with stage
in 5 seconds
......@@ -154,12 +154,13 @@ function c31060.magacon(e,tp,eg,ep,ev,re,r,rp,c)
end
function c31060.magaop(e,tp,eg,ep,ev,re,r,rp,c)
local c=e:GetHandler()
if Duel.SelectYesNo(tp,aux.Stringid(31060,2)) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_SYNCHRO,tp,false,false) then
Duel.Hint(HINT_CARD,0,31060)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_SPSUMMON+REASON_DISCARD)
Duel.SpecialSummon(e:GetHandler(),SUMMON_TYPE_SYNCHRO,tp,tp,false,false,POS_FACEUP)
e:GetHandler():CompleteProcedure()
if Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_SYNCHRO,tp,false,false) then
if Duel.SelectYesNo(tp,aux.Stringid(31060,2)) then
Duel.Hint(HINT_CARD,0,31060)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_SPSUMMON+REASON_DISCARD)
Duel.SpecialSummon(e:GetHandler(),SUMMON_TYPE_SYNCHRO,tp,tp,false,false,POS_FACEUP)
e:GetHandler():CompleteProcedure()
end
end
end
function c31060.descon(e,tp,eg,ep,ev,re,r,rp)
......
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