Commit 1feff639 authored by 聖園ミカ's avatar 聖園ミカ 🐟

null

parent da5ebcfb
Pipeline #26207 passed with stages
in 24 minutes and 14 seconds
...@@ -218,10 +218,10 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -218,10 +218,10 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if e:GetLabel()~=100 then return false end if e:GetLabel()~=100 then return false end
e:SetLabel(0) e:SetLabel(0)
return aux.MustMaterialCheck(nil,tp,EFFECT_MUST_BE_SMATERIAL) return aux.MustMaterialCheck(nil,tp,EFFECT_MUST_BE_SMATERIAL)
and Duel.CheckReleaseGroup(REASON_COST,tp,cm.costfilter,1,nil,e,tp) and Duel.CheckReleaseGroup(tp,cm.costfilter,1,nil,e,tp)
end end
e:SetLabel(0) e:SetLabel(0)
local g=Duel.SelectReleaseGroup(REASON_COST,tp,cm.costfilter,1,1,nil,e,tp) local g=Duel.SelectReleaseGroup(tp,cm.costfilter,1,1,nil,e,tp)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
Duel.SetTargetCard(g) Duel.SetTargetCard(g)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
...@@ -249,7 +249,7 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp) ...@@ -249,7 +249,7 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
-- --
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetDescription(aux.Stringid(m,4)) e1:SetDescription(aux.Stringid(m,1))
e1:SetProperty(EFFECT_FLAG_CLIENT_HINT) e1:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_PIERCE) e1:SetCode(EFFECT_PIERCE)
...@@ -264,7 +264,7 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp) ...@@ -264,7 +264,7 @@ function cm.effop(e,tp,eg,ep,ev,re,r,rp)
e2:SetReset(RESET_EVENT+RESETS_STANDARD) e2:SetReset(RESET_EVENT+RESETS_STANDARD)
rc:RegisterEffect(e2,true) rc:RegisterEffect(e2,true)
end end
rc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,4)) rc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(m,1))
end end
function cm.pencon(e,tp,eg,ep,ev,re,r,rp) function cm.pencon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -68,10 +68,10 @@ function cm.linktg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -68,10 +68,10 @@ function cm.linktg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
if e:GetLabel()~=100 then return false end if e:GetLabel()~=100 then return false end
e:SetLabel(0) e:SetLabel(0)
return Duel.CheckReleaseGroup(REASON_COST,tp,cm.linkfilter,1,c) return Duel.CheckReleaseGroup(tp,cm.linkfilter,1,c)
end end
e:SetLabel(0) e:SetLabel(0)
local g=Duel.SelectReleaseGroup(REASON_COST,tp,cm.linkfilter,1,1,c) local g=Duel.SelectReleaseGroup(tp,cm.linkfilter,1,1,c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
Duel.SetTargetCard(g) Duel.SetTargetCard(g)
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