Commit 26d74176 authored by GuGu's avatar GuGu

Update c20300.lua 空发检测

parent 637e08ec
Pipeline #20797 passed with stage
in 1 minute and 9 seconds
......@@ -70,7 +70,7 @@ function c20300.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(token,nil,2,REASON_EFFECT)
end
function c20300.cffilter(c)
return c:IsSetCard(0x186) and c:IsType(TYPE_MONSTER) and not c:IsPublic()
return c:IsSetCard(0x186) and c:IsType(TYPE_MONSTER) and not c:IsPublic() and Duel.IsExistingMatchingCard(c20300.filter,tp,LOCATION_DECK,0,1,nil,c:GetAttribute())
end
function c20300.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCurrentPhase()==PHASE_MAIN1 and Duel.IsExistingMatchingCard(c20300.cffilter,tp,LOCATION_HAND,0,1,e:GetHandler()) 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