Commit 4fbc7634 authored by 未闻皂名's avatar 未闻皂名

2021/12/16 bug修复

parent 8829ec28
Pipeline #7906 passed with stages
in 4 minutes and 57 seconds
No preview for this file type
...@@ -18,8 +18,8 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -18,8 +18,8 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLP(tp)<=1000 return Duel.GetLP(tp)<=1000
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDiscardDeckAsCost(tp,1) end if chk==0 then return Duel.IsPlayerCanDiscardDeckAsCost(tp,5) end
Duel.DiscardDeck(tp,1,REASON_COST) Duel.DiscardDeck(tp,5,REASON_COST)
end end
function cm.operation(e,tp,eg,ep,ev,re,r,rp) function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() 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