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

byd

parent a6ea2ebe
Pipeline #30386 passed with stages
in 28 minutes and 28 seconds
...@@ -130,7 +130,7 @@ function cm.splimit(e,c) ...@@ -130,7 +130,7 @@ function cm.splimit(e,c)
return not c:IsSetCard(0x3540) and c:IsLocation(LOCATION_EXTRA) return not c:IsSetCard(0x3540) and c:IsLocation(LOCATION_EXTRA)
end end
function cm.ter2(c) function cm.ter2(c)
return c:IsSetCard(0x3540) and c:IsAbleToHand() return c:IsSetCard(0x3541) and c:IsAbleToHand()
end end
function cm.tg2(e,tp,eg,ep,ev,re,r,rp,chk) function cm.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.ter2,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.ter2,tp,LOCATION_DECK,0,1,nil) end
......
...@@ -10,10 +10,10 @@ function cm.initial_effect(c) ...@@ -10,10 +10,10 @@ function cm.initial_effect(c)
e1:SetRange(LOCATION_EXTRA) e1:SetRange(LOCATION_EXTRA)
e1:SetCondition(function(e,c) e1:SetCondition(function(e,c)
if c==nil then return true end if c==nil then return true end
return Duel.CheckReleaseGroup(REASON_COST,c:GetControler(),cm.ff,2,nil,c:GetControler(),c) return Duel.CheckReleaseGroup(c:GetControler(),cm.ff,2,nil,c:GetControler(),c)
end) end)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp,c) e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectReleaseGroup(REASON_COST,tp,cm.ff,2,2,nil,tp,c) local g=Duel.SelectReleaseGroup(tp,cm.ff,2,2,nil,tp,c)
c:SetMaterial(g) c:SetMaterial(g)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
end) 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