Commit 1b01c590 authored by 未闻皂名's avatar 未闻皂名

2023/5/18 bug修复

parent 1f50e284
...@@ -34,6 +34,6 @@ function cm.target(c,e,tp) ...@@ -34,6 +34,6 @@ function cm.target(c,e,tp)
end end
--Pierce --Pierce
function cm.prctg(e,c) function cm.prctg(e,c)
local ct=Duel.GetFieldGroupCount(e:GetHandlerPlayer(),LOCATION_MZONE,0) local ct=Duel.GetMatchingGroupCount(Card.IsFaceup,e:GetHandlerPlayer(),LOCATION_MZONE,0,nil)
return (ct==1 or ct==3) and c==e:GetHandler():GetEquipTarget() return (ct==1 or ct==3) and c==e:GetHandler():GetEquipTarget()
end end
\ No newline at end of file
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