Commit 333f8f14 authored by 未闻皂名's avatar 未闻皂名

2023/9/7 bug修复

parent 89c7e042
Pipeline #23412 passed with stages
in 6 minutes and 38 seconds
......@@ -21,7 +21,11 @@ function cm.filter(c)
and c:IsAbleToHand()
end
function cm.check(g)
return g:GetClassCount(Card.GetType)==g:GetCount()
if g:GetCount()<2 then return true end
local tc1=g:GetFirst()
local tc2=g:GetNext()
return (tc1:IsRace(RACE_DRAGON) and tc2:IsCode(list[1]))
or (tc2:IsRace(RACE_DRAGON) and tc1:IsCode(list[1]))
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
......
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