Commit 25fc71bd authored by wyykak's avatar wyykak

fix 14090028

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 4f048a15
...@@ -102,13 +102,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -102,13 +102,8 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local tg=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_GRAVE,0,nil,e,tp) local tg=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_GRAVE,0,nil,e,tp)
if ft<=0 then return end if ft<=0 then return end
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end if Duel.IsPlayerAffectedByEffect(tp,59822133) then ft=1 end
local g=nil Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
if tg:GetCount()>ft then local g=tg:Select(tp,1,ft,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
g=tg:Select(tp,ft,ft,nil)
else
g=tg
end
if #g>0 then if #g>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
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