Commit 23379d7e authored by 未闻皂名's avatar 未闻皂名

2023/10/23 bug修复

parent b3ee2a0a
Pipeline #23823 passed with stages
in 7 minutes and 2 seconds
...@@ -8,7 +8,7 @@ function cm.initial_effect(c) ...@@ -8,7 +8,7 @@ function cm.initial_effect(c)
RD.AddHandSpecialSummonProcedure(c,aux.Stringid(m,0),cm.spcon) RD.AddHandSpecialSummonProcedure(c,aux.Stringid(m,0),cm.spcon)
--To Hand --To Hand
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0)) e1:SetDescription(aux.Stringid(m,1))
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_IGNITION) e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
...@@ -32,7 +32,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -32,7 +32,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)<4 then return end if Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)<4 then return end
local sg,g=RD.RevealDeckTopAndCanSelect(tp,5,aux.Stringid(m,1),HINTMSG_ATOHAND,cm.thfilter,1,1) local sg,g=RD.RevealDeckTopAndCanSelect(tp,4,aux.Stringid(m,2),HINTMSG_ATOHAND,cm.thfilter,1,1)
if sg:GetCount()>0 then if sg:GetCount()>0 then
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
RD.SendToHandAndExists(sg,1-tp) RD.SendToHandAndExists(sg,1-tp)
......
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