Commit 9971b590 authored by Amiya's avatar Amiya

蕾祸修复

parent a9403659
Pipeline #26227 passed with stages
in 49 seconds
--蕾禍ノ玄神憑月 --蕾禍ノ玄神憑月
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
aux.AddLinkProcedure(c,nil,2,99,s.lcheck) aux.AddLinkProcedure(c,s.lkfilter,2,99)
c:EnableReviveLimit() c:EnableReviveLimit()
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0)) e1:SetDescription(aux.Stringid(id,0))
...@@ -25,8 +25,8 @@ function s.initial_effect(c) ...@@ -25,8 +25,8 @@ function s.initial_effect(c)
e2:SetOperation(s.spop) e2:SetOperation(s.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function s.lcheck(g) function s.lkfilter(c)
return g:IsExists(Card.IsLinkRace,1,nil,RACE_INSECT+RACE_PLANT+RACE_REPTILE) return c:IsLinkRace(RACE_INSECT+RACE_PLANT+RACE_REPTILE)
end end
function s.costfilter(c) function s.costfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost() return c:IsType(TYPE_MONSTER) and c:IsAbleToRemoveAsCost()
......
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