Commit 902e1285 authored by 未闻皂名's avatar 未闻皂名

2025/5/22 bug修复

parent 710f1e35
Pipeline #36646 passed with stages
in 9 minutes and 22 seconds
......@@ -24,7 +24,7 @@ function cm.desfilter(c)
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetMatchingGroupCount(cm.costfilter,tp,LOCATION_GRAVE,LOCATION_GRAVE,nil)
if chk==0 then return Duel.IsPlayerCanDiscardDeckAsCost(tp,ct) end
if chk==0 then return ct>0 and Duel.IsPlayerCanDiscardDeckAsCost(tp,ct) end
if Duel.DiscardDeck(tp,ct,REASON_COST)~=0 then
local og=Duel.GetOperatedGroup()
if og:IsExists(Card.IsAttackBelow,1,nil,1500) then
......
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