Commit 2c118cfc authored by wind2009's avatar wind2009

Fix 糾罪巧-裁誕

parent dcddf3fa
Pipeline #40405 passed with stages
in 2 minutes and 36 seconds
...@@ -33,7 +33,7 @@ function s.tdfilter(c) ...@@ -33,7 +33,7 @@ function s.tdfilter(c)
return c:IsFaceupEx() and c:IsSetCard(0x2d5) and (c:GetOriginalType()&TYPE_MONSTER)~=0 and c:IsAbleToDeck() return c:IsFaceupEx() and c:IsSetCard(0x2d5) and (c:GetOriginalType()&TYPE_MONSTER)~=0 and c:IsAbleToDeck()
end end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk) function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) if chk==0 then return Duel.IsPlayerCanDraw(tp)
and Duel.IsExistingMatchingCard(s.tdfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,e:GetHandler()) end and Duel.IsExistingMatchingCard(s.tdfilter,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,e:GetHandler()) end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,tp,LOCATION_HAND+LOCATION_ONFIELD) Duel.SetOperationInfo(0,CATEGORY_TODECK,nil,1,tp,LOCATION_HAND+LOCATION_ONFIELD)
......
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