Commit 4d58b8ea authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c10060001.lua

parent f3630008
Pipeline #30327 failed with stages
in 20 minutes and 28 seconds
......@@ -3,6 +3,13 @@ local m=10060001
local cm=_G["c"..m]
function cm.initial_effect(c)
aux.AddCodeList(c,10060001)
--cannot special summon
local e0=Effect.CreateEffect(c)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SINGLE_RANGE)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetRange(LOCATION_DECK)
e0:SetCode(EFFECT_SPSUMMON_CONDITION)
--c:RegisterEffect(e0)
--cannot be target
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
......@@ -28,7 +35,7 @@ function cm.initial_effect(c)
e1:SetOperation(cm.operation)
c:RegisterEffect(e1)
local e11=e1:Clone()
e11:SetProperty(EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE)
e11:SetProperty(EFFECT_FLAG_CANNOT_INACTIVATE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e11:SetCondition(cm.condition2)
c:RegisterEffect(e11)
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