Commit 81cc97aa authored by 未闻皂名's avatar 未闻皂名

2020/12/15 修正bug

parent b62fb70a
...@@ -24,7 +24,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -24,7 +24,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetTargetParam(2) Duel.SetTargetParam(2)
Duel.SetOperationInfo(0,CATEGORY_DECKDES,nil,0,tp,2) Duel.SetOperationInfo(0,CATEGORY_DECKDES,nil,0,tp,2)
end end
function cm.dactivateisop(e,tp,eg,ep,ev,re,r,rp) function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM) local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.DiscardDeck(p,d,REASON_EFFECT) Duel.DiscardDeck(p,d,REASON_EFFECT)
if Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)==3 and Duel.IsPlayerCanDiscardDeck(tp,1) if Duel.GetFieldGroupCount(tp,0,LOCATION_MZONE)==3 and Duel.IsPlayerCanDiscardDeck(tp,1)
......
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