Commit c96c30fa authored by mercury233's avatar mercury233 Committed by GitHub

fix 進化の特異点

parent d02b4a08
...@@ -29,15 +29,13 @@ function c74100225.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -29,15 +29,13 @@ function c74100225.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end end
function c74100225.activate(e,tp,eg,ep,ev,re,r,rp) function c74100225.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c74100225.spfilter,tp,LOCATION_EXTRA,0,nil,e,tp)
if g:GetCount()==0 then return end
local mg=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS):Filter(Card.IsRelateToEffect,nil,e)
if mg:GetCount()~=2 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=g:Select(tp,1,1,nil) local sg=Duel.SelectMatchingCard(tp,c74100225.spfilter,tp,LOCATION_EXTRA,0,1,1,nil,e,tp)
local sc=sg:GetFirst() local sc=sg:GetFirst()
if sc then if sc and Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP)>0 then
Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP) local mg=Duel.GetTargetsRelateToChain()
if #mg>0 then
Duel.Overlay(sc,mg) Duel.Overlay(sc,mg)
end end
end
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