Commit da684f96 authored by Tachibana's avatar Tachibana

ndyd

parent 6394627a
......@@ -2,6 +2,7 @@
local m=26821024
local cm=_G["c"..m]
Duel.LoadScript("c26800000.lua")
cm.named_with_SliverScene=1
function cm.initial_effect(c)
--recycle
local e0=Effect.CreateEffect(c)
......@@ -28,6 +29,10 @@ function cm.initial_effect(c)
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e2)
end
function cm.IsSliverScene(c)
local m=_G["c"..c:GetCode()]
return m and (m.named_with_SliverScene or c:IsCode(26821000,26821999))
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsDiscardable() and Amana.SliverCost(e,tp,eg,ep,ev,re,r,rp,0) end
Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD)
......
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