Commit 306ea0ee authored by salix5's avatar salix5

Merge pull request #155 from Tianchenglipu/patch-3

Update c98301564.lua
parents ab4aa80b 1f9d55ff
...@@ -42,7 +42,8 @@ function c98301564.cfilter(c) ...@@ -42,7 +42,8 @@ function c98301564.cfilter(c)
return c:IsType(TYPE_TRAP) and c:IsType(TYPE_COUNTER) and c:IsAbleToHand() return c:IsType(TYPE_TRAP) and c:IsType(TYPE_COUNTER) and c:IsAbleToHand()
end end
function c98301564.regtg(e,tp,eg,ep,ev,re,r,rp,chk) function c98301564.regtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c98301564.cfilter,tp,LOCATION_DECK,0,3,nil) end if chk==0 then return not e:GetHandler():IsLocation(LOCATION_DECK)
and Duel.IsExistingMatchingCard(c98301564.cfilter,tp,LOCATION_DECK,0,3,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,0,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,0,LOCATION_DECK)
end end
function c98301564.regop(e,tp,eg,ep,ev,re,r,rp) function c98301564.regop(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