Commit 7b918043 authored by POLYMER's avatar POLYMER

fix

parent e07ed645
......@@ -62,10 +62,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,cm.spfilter,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil,check,e,tp)
local tc=g:GetFirst()
--if tc then
--Duel.SpecialSummon(tc,0,tp,tp,true,true,POS_FACEUP)
--tc:CompleteProcedure()
if tc and Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)~=0 and tc:IsCode(40010499) and c:IsLocation(LOCATION_HAND) then
if tc and Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)~=0 and not tc:IsCode(40010499) and c:IsRelateToEffect(e) then
Duel.BreakEffect()
Duel.SendtoGrave(c,REASON_EFFECT)
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