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

1+1=3

parent a4306fa8
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
local m=30900707 local m=30900707
local cm=_G["c"..m] local cm=_G["c"..m]
function cm.initial_effect(c) function cm.initial_effect(c)
aux.AddXyzProcedureLevelFree(c,cm.mfilter,nil,1,4) aux.AddXyzProcedureLevelFree(c,cm.mfilter,nil,4,4)
c:EnableReviveLimit() c:EnableReviveLimit()
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,1)) e2:SetDescription(aux.Stringid(m,1))
...@@ -38,14 +38,14 @@ function cm.initial_effect(c) ...@@ -38,14 +38,14 @@ function cm.initial_effect(c)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_MAIN_END) e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_MAIN_END)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET) e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetCountLimit(1,m) e3:SetCountLimit(1,m+m)
e3:SetCondition(cm.spcon1) e3:SetCondition(cm.spcon1)
e3:SetTarget(cm.sptg1) e3:SetTarget(cm.sptg1)
e3:SetOperation(cm.spop1) e3:SetOperation(cm.spop1)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function cm.mfilter(c,xyzc) function cm.mfilter(c,xyzc)
return (c:IsXyzLevel(xyzc,1) or c:IsRank(1)) and c:IsAttribute(ATTRIBUTE_DARK) return c:IsXyzLevel(xyzc,1) or c:IsRank(1) and c:IsAttribute(ATTRIBUTE_DARK)
end end
function cm.condition2(e,tp,eg,ep,ev,re,r,rp) function cm.condition2(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0xc87) return e:GetHandler():GetOverlayGroup():IsExists(Card.IsSetCard,1,nil,0xc87)
......
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