Commit 9033ed8b authored by 未闻皂名's avatar 未闻皂名

2024/8/6 bug修复

parent f02f1718
Pipeline #28955 passed with stages
in 8 minutes and 33 seconds
......@@ -18,7 +18,7 @@ function cm.ctfilter(c)
return c:IsFaceup() and c:IsRace(RACE_CELESTIALWARRIOR)
end
function cm.tdfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToDeck()
return c:IsAbleToDeck()
end
function cm.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.ctfilter,tp,LOCATION_MZONE,0,1,nil)
......
......@@ -31,7 +31,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local tc=g:GetFirst()
local min,max=aux.GetMaterialListCount(tc)
local ex=tc:IsSummonType(SUMMON_TYPE_FUSION) and not tc.unspecified_funsion and min>0 and min==max
if RD.SendToDeckAndExists(tc) then
if RD.SendToDeckAndExists(tc) and ex then
local sump=tc:GetControler()
local filter=RD.Filter(cm.spfilter,e,sump,tc)
local check=RD.Check(cm.check,tc)
......
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