Commit 03c19bf9 authored by GuGu's avatar GuGu

Update c31060.lua

parent 132d17f0
Pipeline #40788 passed with stage
in 7 seconds
...@@ -153,7 +153,9 @@ function c31060.magacon(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -153,7 +153,9 @@ function c31060.magacon(e,tp,eg,ep,ev,re,r,rp,c)
and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil) and Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil)
end end
function c31060.magaop(e,tp,eg,ep,ev,re,r,rp,c) function c31060.magaop(e,tp,eg,ep,ev,re,r,rp,c)
if Duel.SelectYesNo(tp,aux.Stringid(31060,2)) then 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.Hint(HINT_CARD,0,31060)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_SPSUMMON+REASON_DISCARD) Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_SPSUMMON+REASON_DISCARD)
Duel.SpecialSummon(e:GetHandler(),SUMMON_TYPE_SYNCHRO,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(e:GetHandler(),SUMMON_TYPE_SYNCHRO,tp,tp,false,false,POS_FACEUP)
......
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