Commit 53f7e747 authored by 未闻皂名's avatar 未闻皂名

2024/2/6 bug修复

parent f4a62cb0
Pipeline #25279 passed with stages
in 17 minutes and 14 seconds
...@@ -17,7 +17,7 @@ function cm.initial_effect(c) ...@@ -17,7 +17,7 @@ function cm.initial_effect(c)
end end
--Discard Deck --Discard Deck
function cm.exfilter(c) function cm.exfilter(c)
return c:IsCode(list[1]) return c:IsFaceup() and c:IsCode(list[1])
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -17,7 +17,7 @@ function cm.initial_effect(c) ...@@ -17,7 +17,7 @@ function cm.initial_effect(c)
end end
--Discard Deck --Discard Deck
function cm.exfilter(c) function cm.exfilter(c)
return c:IsCode(list[1]) return c:IsFaceup() and c:IsCode(list[1])
end end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -17,7 +17,7 @@ function cm.initial_effect(c) ...@@ -17,7 +17,7 @@ function cm.initial_effect(c)
end end
--Discard Deck --Discard Deck
function cm.exfilter(c) function cm.exfilter(c)
return c:IsCode(list[1]) return c:IsFaceup() and c:IsCode(list[1])
end end
function cm.desfilter(c) function cm.desfilter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsType(TYPE_SPELL+TYPE_TRAP)
......
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