Commit 2ba0f49a authored by 未闻皂名's avatar 未闻皂名

2025/11/14 bug修复

parent 50d0383c
Pipeline #41619 passed with stages
in 6 minutes and 33 seconds
local cm,m=GetID() local cm,m=GetID()
local list={120170029}
cm.name="花牙女忍·绘都兰世" cm.name="花牙女忍·绘都兰世"
function cm.initial_effect(c) function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Special Summon --Special Summon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
...@@ -16,7 +18,7 @@ function cm.tgfilter(c) ...@@ -16,7 +18,7 @@ function cm.tgfilter(c)
return c:IsRace(RACE_PLANT) and c:IsAbleToGrave() return c:IsRace(RACE_PLANT) and c:IsAbleToGrave()
end end
function cm.spfilter(c,e,tp) function cm.spfilter(c,e,tp)
return c:IsCode(m) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP) return c:IsCode(list[1]) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp)>0 if chk==0 then return Duel.GetMZoneCount(tp)>0
......
local cm,m=GetID() local cm,m=GetID()
local list={120105001} local list={120105001,120228050}
cm.name="大道武器-七魔导枪" cm.name="大道武器-七魔导枪"
function cm.initial_effect(c) function cm.initial_effect(c)
RD.AddCodeList(c,list) RD.AddCodeList(c,list)
...@@ -20,7 +20,7 @@ function cm.initial_effect(c) ...@@ -20,7 +20,7 @@ function cm.initial_effect(c)
end end
--Activate --Activate
function cm.confilter(c) function cm.confilter(c)
return c:IsFaceup() and c:IsCode(m) return c:IsFaceup() and c:IsCode(list[2])
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler()) return not Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler())
......
local cm,m=GetID() local cm,m=GetID()
local list={120235027}
cm.name="炎神的遗能者" cm.name="炎神的遗能者"
function cm.initial_effect(c) function cm.initial_effect(c)
RD.AddCodeList(c,list)
--Special Summon --Special Summon
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
...@@ -14,7 +16,7 @@ function cm.initial_effect(c) ...@@ -14,7 +16,7 @@ function cm.initial_effect(c)
end end
--Special Summon --Special Summon
function cm.spfilter(c,e,tp) function cm.spfilter(c,e,tp)
return c:IsCode(m) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP) return c:IsCode(list[1]) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp)>0 if chk==0 then return Duel.GetMZoneCount(tp)>0
......
local cm,m=GetID() local cm,m=GetID()
local list={120105001} local list={120105001,120235045}
cm.name="大道武器-破刃剑" cm.name="大道武器-破刃剑"
function cm.initial_effect(c) function cm.initial_effect(c)
RD.AddCodeList(c,list) RD.AddCodeList(c,list)
...@@ -20,7 +20,7 @@ function cm.initial_effect(c) ...@@ -20,7 +20,7 @@ function cm.initial_effect(c)
end end
--Activate --Activate
function cm.confilter(c) function cm.confilter(c)
return c:IsFaceup() and c:IsCode(m) return c:IsFaceup() and c:IsCode(list[2])
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler()) return not Duel.IsExistingMatchingCard(cm.confilter,tp,LOCATION_ONFIELD,0,1,e:GetHandler())
......
local cm,m=GetID() local cm,m=GetID()
local list={120246052}
cm.name="斩神 奇拔茨" cm.name="斩神 奇拔茨"
function cm.initial_effect(c) function cm.initial_effect(c)
RD.AddCodeList(c,list)
--To Grave --To Grave
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,0))
...@@ -30,7 +32,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -30,7 +32,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if sg:GetCount()>0 then if sg:GetCount()>0 then
if Duel.SendtoGrave(sg,REASON_EFFECT+REASON_REVEAL)~=0 then if Duel.SendtoGrave(sg,REASON_EFFECT+REASON_REVEAL)~=0 then
local tc=Duel.GetOperatedGroup():GetFirst() local tc=Duel.GetOperatedGroup():GetFirst()
des=tc:IsCode(m) and tc:IsLocation(LOCATION_GRAVE) des=tc:IsCode(list[1]) and tc:IsLocation(LOCATION_GRAVE)
end end
end end
Duel.ShuffleDeck(tp) Duel.ShuffleDeck(tp)
......
...@@ -19,7 +19,7 @@ function cm.tdfilter(c) ...@@ -19,7 +19,7 @@ function cm.tdfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToDeck() return c:IsType(TYPE_MONSTER) and c:IsAbleToDeck()
end end
function cm.spfilter(c,e,tp) function cm.spfilter(c,e,tp)
return c:IsCode(m) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP_DEFENSE) return c:IsCode(list[1]) and RD.IsCanBeSpecialSummoned(c,e,tp,POS_FACEUP_DEFENSE)
end end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.tdfilter,tp,0,LOCATION_GRAVE,2,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.tdfilter,tp,0,LOCATION_GRAVE,2,nil) 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