Commit f9b5604f authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c30005512.lua

parent 84bf7702
Pipeline #31198 failed with stages
in 17 minutes and 44 seconds
...@@ -4,10 +4,9 @@ local cm=_G["c"..m] ...@@ -4,10 +4,9 @@ local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
--Effect 0 --Effect 0
local e01=Effect.CreateEffect(c) local e01=Effect.CreateEffect(c)
e01:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) --e01:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e01:SetType(EFFECT_TYPE_ACTIVATE) e01:SetType(EFFECT_TYPE_ACTIVATE)
e01:SetCode(EVENT_FREE_CHAIN) e01:SetCode(EVENT_FREE_CHAIN)
e01:SetOperation(cm.activate)
c:RegisterEffect(e01) c:RegisterEffect(e01)
--Effect 1 --Effect 1
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -34,7 +33,9 @@ function cm.initial_effect(c) ...@@ -34,7 +33,9 @@ function cm.initial_effect(c)
end end
--Effect 1 --Effect 1
function cm.spf(c,fc,e,tp) function cm.spf(c,fc,e,tp)
return aux.IsMaterialListCode(fc,c:GetCode()) and (c:IsCanBeSpecialSummoned(e,0,tp,false,false) or c:IsAbleToHand()) local b1=aux.IsMaterialListCode(fc,c:GetCode())
local b2=aux.IsCodeListed(fc,c:GetCode())
return (b1 or b2) and (c:IsCanBeSpecialSummoned(e,0,tp,false,false) or c:IsAbleToHand())
end end
function cm.cff(c,e,tp) function cm.cff(c,e,tp)
local b1=c:IsFaceup() and c:IsLocation(LOCATION_MZONE) local b1=c:IsFaceup() and c:IsLocation(LOCATION_MZONE)
......
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