Commit 69f666c9 authored by GuGu's avatar GuGu

Update c99999040.lua

parent 4e33194a
Pipeline #39726 passed with stage
in 10 seconds
...@@ -39,13 +39,13 @@ function c99999040.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -39,13 +39,13 @@ function c99999040.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-tp,token) Duel.ConfirmCards(1-tp,token)
end end
-- --
function c99999040.repfilter(c,tp) function c99999040.repfilter(c,tp,ec)
return c:IsLocation(LOCATION_ONFIELD) and c:IsControler(tp) and c:IsFaceup() and c:IsSetCard(0x999) return c:IsLocation(LOCATION_ONFIELD) and c:IsControler(tp) and c:IsFaceup() and c:IsSetCard(0x999)
and not c:IsReason(REASON_REPLACE) and not c:IsReason(REASON_REPLACE) and not c==ec
end end
function c99999040.reptg(e,tp,eg,ep,ev,re,r,rp,chk) function c99999040.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return c:IsLevelAbove(3) and eg:IsExists(c99999040.repfilter,1,c,tp) end if chk==0 then return c:IsLevelAbove(3) and eg:IsExists(c99999040.repfilter,1,c,tp,c) end
if Duel.SelectYesNo(tp,c,96) then if Duel.SelectYesNo(tp,c,96) then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
......
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