Commit 403e22e2 authored by fallenstardust's avatar fallenstardust

fix TW01-JP122 script

parent 29fd50a0
...@@ -44,7 +44,7 @@ function s.filter(c) ...@@ -44,7 +44,7 @@ function s.filter(c)
return c:IsSetCard(0xb5) and c:IsSummonable(true,nil) return c:IsSetCard(0xb5) and c:IsSummonable(true,nil)
end end
function s.sumtg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_HAND,0,1,e:GetHandler()) end
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0)
end end
function s.sumop(e,tp,eg,ep,ev,re,r,rp) function s.sumop(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