Commit c36ecfa6 authored by Amiya's avatar Amiya

修复

parent 3f0200e6
......@@ -50,8 +50,11 @@ end
function s.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_PENDULUM)
end
function s.cfilter(c)
return not c:IsCode(id) and c:IsFaceup()
end
function s.atcon(e)
return Duel.IsExistingMatchingCard(aux.AND(aux.NOT(Card.IsCode),Card.IsFaceup),e:GetHandlerPlayer(),LOCATION_MZONE,0,1,e:GetHandler(),id)
return Duel.IsExistingMatchingCard(s.cfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,e:GetHandler())
end
function s.thtg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToHand()
......
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