Skip to content

Commit 63d6b2a

Browse files
committed
Script updates
Added hint messages to a few cards that were missing them when the user was prompted to select cards.
1 parent d00afcf commit 63d6b2a

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

official/c10808715.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ function s.spcostfilter(c)
3636
end
3737
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
3838
if chk==0 then return Duel.IsExistingMatchingCard(s.spcostfilter,tp,LOCATION_MZONE|LOCATION_GRAVE,0,1,nil) end
39+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
3940
local g=Duel.SelectMatchingCard(tp,s.spcostfilter,tp,LOCATION_MZONE|LOCATION_GRAVE,0,1,1,nil)
4041
Duel.Remove(g,POS_FACEUP,REASON_COST)
4142
end

official/c27415516.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
2525
end
2626
function s.spop(e,tp,eg,ep,ev,re,r,rp)
2727
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
28+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
2829
local tc=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp):GetFirst()
2930
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
3031
--Cannot attack this turn

official/c53797637.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
2525
end
2626
function s.spop(e,tp,eg,ep,ev,re,r,rp)
2727
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
28+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
2829
local tc=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp):GetFirst()
2930
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
3031
--Cannot attack this turn

official/c59400890.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ function s.selfspcon(e,c)
7676
and Duel.IsExistingMatchingCard(s.selfspcostfilter,tp,LOCATION_MZONE,0,1,nil,tp,c)
7777
end
7878
function s.selfsptg(e,tp,eg,ep,ev,re,r,rp,chk,c)
79+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
7980
local g=Duel.SelectMatchingCard(tp,s.selfspcostfilter,tp,LOCATION_MZONE,0,1,1,true,nil,tp,c)
8081
if g and #g>0 then
8182
g:KeepAlive()

official/c89185742.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
2525
end
2626
function s.spop(e,tp,eg,ep,ev,re,r,rp)
2727
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
28+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
2829
local tc=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp):GetFirst()
2930
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
3031
--Cannot attack this turn

official/c91020571.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
2525
end
2626
function s.spop(e,tp,eg,ep,ev,re,r,rp)
2727
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
28+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
2829
local tc=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp):GetFirst()
2930
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
3031
--Cannot attack this turn

0 commit comments

Comments
 (0)