Commit 0b2e2fba authored by nekrozar's avatar nekrozar Committed by DailyShana

fix Poison Chain (#635)

parent 67a638ec
...@@ -26,7 +26,7 @@ function c33302407.filter(c) ...@@ -26,7 +26,7 @@ function c33302407.filter(c)
end end
function c33302407.distg(e,tp,eg,ep,ev,re,r,rp,chk) function c33302407.distg(e,tp,eg,ep,ev,re,r,rp,chk)
local ct=Duel.GetMatchingGroupCount(c33302407.filter,tp,LOCATION_MZONE,0,nil) local ct=Duel.GetMatchingGroupCount(c33302407.filter,tp,LOCATION_MZONE,0,nil)
if chk==0 then return ct>0 and Duel.IsPlayerCanDiscardDeck(1-tp,0) end if chk==0 then return ct>0 and Duel.IsPlayerCanDiscardDeck(1-tp,ct) end
Duel.SetOperationInfo(0,CATEGORY_DECKDES,nil,0,1-tp,ct) Duel.SetOperationInfo(0,CATEGORY_DECKDES,nil,0,1-tp,ct)
end end
function c33302407.disop(e,tp,eg,ep,ev,re,r,rp) function c33302407.disop(e,tp,eg,ep,ev,re,r,rp)
......
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