Commit 8e14aed6 authored by wind2009's avatar wind2009

Fix 燦幻封炉

parent e2357951
...@@ -46,7 +46,7 @@ end ...@@ -46,7 +46,7 @@ end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chkc then return false end if chkc then return false end
local g=eg:Filter(s.tgfilter,nil,e,tp) local g=eg:Filter(s.tgfilter,nil,e,tp)
if chk==0 then return g:GetCount()>0 end if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and g:GetCount()>0 end
local bc=g:GetFirst() local bc=g:GetFirst()
if g:GetCount()>1 then if g:GetCount()>1 then
bc=g:FilterSelect(tp,s.tgfilter,1,1,nil,e,tp):GetFirst() bc=g:FilterSelect(tp,s.tgfilter,1,1,nil,e,tp):GetFirst()
......
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