Commit 2bb59ff7 authored by GuGu's avatar GuGu

Update c99999040.lua

parent 6053fd0e
Pipeline #39730 passed with stage
in 10 seconds
...@@ -41,12 +41,12 @@ end ...@@ -41,12 +41,12 @@ end
-- --
function c99999040.repfilter(c,tp,ec) 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==ec and not c:IsReason(REASON_REPLACE) and 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,c) 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.SelectEffectYesNo(tp,c,96) then
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_UPDATE_LEVEL) e1:SetCode(EFFECT_UPDATE_LEVEL)
......
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