Commit 93bce532 authored by wyykak's avatar wyykak

fix 74563044 from kiritosoft

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 63a4fb3a
Pipeline #14735 passed with stage
in 1 minute and 11 seconds
......@@ -9,6 +9,7 @@ function c74563044.initial_effect(c)
e2:SetCode(EFFECT_SPSUMMON_PROC)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e2:SetRange(LOCATION_EXTRA)
e2:SetCountLimit(1,74563044+EFFECT_COUNT_CODE_OATH)
e2:SetCondition(c74563044.spcon)
e2:SetOperation(c74563044.spop)
c:RegisterEffect(e2)
......@@ -46,7 +47,7 @@ function c74563044.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
return Duel.GetTurnCount()>=10
and Duel.IsExistingMatchingCard(c74563044.spfilter,tp,LOCATION_DECK,0,10,nil,tp,c)
and Duel.IsExistingMatchingCard(c74563044.spfilter,tp,LOCATION_DECK,0,10,nil,tp,c) and not Duel.IsExistingMatchingCard(aux.TRUE,tp,LOCATION_MZONE,0,1,nil)
end
function c74563044.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
......
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