Commit 71765c45 authored by GuGu's avatar GuGu

Update c74561023.lua

parent d9f5aa08
Pipeline #32448 passed with stage
in 20 seconds
......@@ -55,16 +55,14 @@ function cCardno.repfilter(c,tp)
return c:IsFaceup() and c:IsControler(tp) and c:IsLocation(LOCATION_ONFIELD) and c:IsCode(30001,74561030,74561045)
end
function cCardno.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(cCardno.repfilter,1,nil,tp) end
if chk==0 then return eg:IsExists(cCardno.repfilter,1,c,tp) and c:IsDestructable(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED) end
if Duel.SelectYesNo(tp,aux.Stringid(Cardno,0)) then
Duel.Destroy(e:GetHandler(),REASON_EFFECT+REASON_REPLACE)
local g=eg:Filter(cCardno.repfilter,nil,tp)
e:SetLabelObject(g)
return true
else return false end
end
function cCardno.repval(e,c)
return Group.IsContains(e:GetLabelObject(),c)
return cCardno.repfilter(c,e:GetHandlerPlayer())
end
--synlimit
function cCardno.synlimit(e,c)
......
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