Commit 027d016e authored by GuGu's avatar GuGu

Update c23013.lua

parent 2b3d77e3
Pipeline #34915 passed with stage
in 29 seconds
......@@ -12,17 +12,14 @@ function c23013.initial_effect(c)
e2:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_TO_DECK)
e2:SetCost(c23013.cost)
e2:SetCountLimit(1,23013)
e2:SetTarget(c23013.sptg)
e2:SetOperation(c23013.spop)
c:RegisterEffect(e2)
end
function c23013.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFlagEffect(tp,23013)==0 end
Duel.RegisterFlagEffect(tp,23013,RESET_PHASE+PHASE_END,0,1)
end
function c23013.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function c23013.spop(e,tp,eg,ep,ev,re,r,rp)
......
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