Commit 58f98679 authored by Tachibana's avatar Tachibana

1145141919810

parent e673e1bf
Pipeline #15053 passed with stages
in 26 minutes and 43 seconds
...@@ -46,15 +46,12 @@ function cm.initial_effect(c) ...@@ -46,15 +46,12 @@ function cm.initial_effect(c)
e4:SetOperation(cm.operation) e4:SetOperation(cm.operation)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
function cm.cknfilter(c)
return c:GetOriginalCode()==77765004 and not c:IsDisabled()
end
function cm.lkfilter(c,lc,tp) function cm.lkfilter(c,lc,tp)
local flag=c:IsFaceup() and c:IsCanBeLinkMaterial(lc) local flag=c:IsFaceup() and c:IsCanBeLinkMaterial(lc)
if c:IsType(TYPE_MONSTER) then if c:IsType(TYPE_MONSTER) then
return flag and c:IsSetCard(0xfa4) return flag and c:IsSetCard(0xfa4)
else else
return c:IsFaceup() and c:IsType(TYPE_SPELL) and not Duel.IsExistingMatchingCard(cm.cknfilter,tp,0,LOCATION_SZONE,1,nil) return c:IsFaceup() and c:IsType(TYPE_SPELL)
end end
end end
function cm.lvfilter(c) function cm.lvfilter(c)
......
...@@ -35,7 +35,7 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp) ...@@ -35,7 +35,7 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT) e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1+900) e1:SetCountLimit(1,m+900)
e1:SetTarget(cm.thtg) e1:SetTarget(cm.thtg)
e1:SetOperation(cm.thop) e1:SetOperation(cm.thop)
e1:SetReset(RESET_EVENT+RESETS_STANDARD) e1:SetReset(RESET_EVENT+RESETS_STANDARD)
......
i--海港知彼·莉莉 --海港知彼·莉莉
local m=52520023 local m=52520023
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
......
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