Commit 11372079 authored by wind2009's avatar wind2009 Committed by GitHub

Add Duel.Hint for Traptrix Sera (#2600)

parent 5cf1b4b1
...@@ -60,6 +60,7 @@ end ...@@ -60,6 +60,7 @@ end
function c73639099.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c73639099.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c73639099.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp) end and Duel.IsExistingMatchingCard(c73639099.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp) end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end end
function c73639099.spop(e,tp,eg,ep,ev,re,r,rp) function c73639099.spop(e,tp,eg,ep,ev,re,r,rp)
...@@ -80,6 +81,7 @@ function c73639099.setfilter(c) ...@@ -80,6 +81,7 @@ function c73639099.setfilter(c)
end end
function c73639099.settg(e,tp,eg,ep,ev,re,r,rp,chk) function c73639099.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c73639099.setfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(c73639099.setfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end end
function c73639099.setop(e,tp,eg,ep,ev,re,r,rp) function c73639099.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
......
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