Commit 31a68299 authored by mercury233's avatar mercury233

fix

parent d7a0d468
...@@ -38,7 +38,8 @@ end ...@@ -38,7 +38,8 @@ end
function c100409024.sumtg(e,tp,eg,ep,ev,re,r,rp,chk) function c100409024.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0
or not Duel.IsExistingMatchingCard(c100409024.tffilter,tp,LOCATION_DECK,0,1,nil,tp) then return false end or not Duel.IsExistingMatchingCard(c100409024.acfilter,tp,LOCATION_DECK,0,1,nil,tp) then return false end
local c=e:GetHandler()
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LIMIT_SUMMON_PROC) e1:SetCode(EFFECT_LIMIT_SUMMON_PROC)
......
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