Commit b68b0ffb authored by nekrozar's avatar nekrozar
parent c9e094af
......@@ -22,8 +22,11 @@ function c94092230.initial_effect(c)
e3:SetOperation(c94092230.ttop)
e3:SetValue(SUMMON_TYPE_ADVANCE)
c:RegisterEffect(e3)
local e4=e3:Clone()
e4:SetCode(EFFECT_LIMIT_SET_PROC)
local e4=Effect.CreateEffect(c)
e4:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetCode(EFFECT_LIMIT_SUMMON_PROC)
e4:SetCondition(c94092230.setcon)
c:RegisterEffect(e4)
--destroy
local e5=Effect.CreateEffect(c)
......@@ -49,6 +52,10 @@ function c94092230.ttop(e,tp,eg,ep,ev,re,r,rp,c)
c:SetMaterial(g)
Duel.Release(g,REASON_SUMMON+REASON_MATERIAL)
end
function c94092230.setcon(e,c,minc)
if not c then return true end
return false
end
function c94092230.descost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.PayLPCost(tp,math.floor(Duel.GetLP(tp)/2))
......
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