Commit 8daa59b8 authored by wind2009's avatar wind2009

Fix

parent c69c4a03
Pipeline #33459 passed with stages
in 1 minute and 32 seconds
No preview for this file type
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
100236002 100236002
100236003 100236003
100236004 100236004
100236005
100236006 100236006
100236007 100236007
100236008 100236008
...@@ -18,4 +19,4 @@ ...@@ -18,4 +19,4 @@
100236022 100236022
100236023 100236023
100236024 100236024
100236026 100236026
\ No newline at end of file
...@@ -39,7 +39,6 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -39,7 +39,6 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
end end
function s.setop(e,tp,eg,ep,ev,re,r,rp) function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil)
local tc=g:GetFirst() local tc=g:GetFirst()
......
...@@ -36,7 +36,6 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -36,7 +36,6 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil) end if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil) end
end end
function s.setop(e,tp,eg,ep,ev,re,r,rp) function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil)
local tc=g:GetFirst() local tc=g:GetFirst()
......
...@@ -112,7 +112,6 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -112,7 +112,6 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function s.setop(e,tp,eg,ep,ev,re,r,rp) function s.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil)
local tc=g:GetFirst() local tc=g:GetFirst()
......
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
!setname 0x2c7 星辰 !setname 0x2c7 星辰
!setname 0x2c8 味奇喵 !setname 0x2c8 味奇喵
!setname 0x2c9 阿匹卜 !setname 0x2c9 阿匹卜
!setname 0x2ca 塞勒凯特 !setname 0x2ca 塞勒凯特
\ No newline at end of file
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