Commit f8aae0cc authored by Huangnan's avatar Huangnan

add

parent a8651a53
--匠心·叉烧煎蛋盖饭
local m=100007
local cm=_G["c"..m]
Duel.LoadScript("c100000.lua")
function cm.initial_effect(c)
KanKan.RiceFunsion(c,RACE_CYBERSE+RACE_MACHINE+RACE_PSYCHO+RACE_THUNDER,cm.cfilter,LOCATION_ONFIELD,LOCATION_ONFIELD,Duel.SendtoGrave)
--indes
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e3:SetRange(LOCATION_MZONE)
e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e3:SetValue(1)
c:RegisterEffect(e3)
end
function cm.cfilter(c,fc)
return c:IsAbleToGraveAsCost() and (c:IsControler(fc:GetControler()) or c:IsFaceup())
end
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