Commit 4dddf824 authored by 大崎甜花's avatar 大崎甜花 Committed by GitHub

Update c81015000.lua

parent 002d5777
...@@ -8,7 +8,7 @@ function c81015000.initial_effect(c) ...@@ -8,7 +8,7 @@ function c81015000.initial_effect(c)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND) e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,81015000) e1:SetCountLimit(1,81015000)
e1:SetCondition(Tenka.ReikaCon) e1:SetCondition(c81015000.spcon)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--destroy --destroy
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -24,12 +24,9 @@ function c81015000.initial_effect(c) ...@@ -24,12 +24,9 @@ function c81015000.initial_effect(c)
e3:SetCode(EVENT_SPSUMMON_SUCCESS) e3:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c81015000.cfilter(c)
return c:GetSequence()<5
end
function c81015000.spcon(e,c) function c81015000.spcon(e,c)
if c==nil then return true end if c==nil then return true end
return not Duel.IsExistingMatchingCard(c81015000.cfilter,tp,LOCATION_SZONE,0,1,nil) return Tenka.ReikaCon(e)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
end end
function c81015000.desfilter(c) function c81015000.desfilter(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