Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
REIKAI
ygopro-222DIY-cards
Commits
81675d72
Commit
81675d72
authored
Dec 31, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
7
parent
909a59de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c31710035.lua
expansions/script/c31710035.lua
+4
-4
No files found.
expansions/script/c31710035.lua
View file @
81675d72
...
@@ -90,7 +90,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -90,7 +90,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
--local g=Duel.GetOperatedGroup()
--local g=Duel.GetOperatedGroup()
--if g:IsExists(Card.IsLocation,1,nil,LOCATION_DECK) or g:IsExists(Card.IsLocation,1,nil,LOCATION_DECK) then Duel.ShuffleDeck(tp) end
--if g:IsExists(Card.IsLocation,1,nil,LOCATION_DECK) or g:IsExists(Card.IsLocation,1,nil,LOCATION_DECK) then Duel.ShuffleDeck(tp) end
if
#
tg
>
0
then
if
#
tg
>
0
then
local
og
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
refilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
#
tg
,
nil
)
local
og
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
re
m
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
#
tg
,
nil
)
if
not
og
then
return
end
if
not
og
then
return
end
Duel
.
Remove
(
og
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
og
,
POS_FACEUP
,
REASON_EFFECT
)
...
@@ -100,7 +100,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,7 +100,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
s
.
thfilter
(
chkc
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
s
.
thfilter
(
chkc
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
refilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
)
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
re
m
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
)
>
0
end
--Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
--Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
--local g=Duel.SelectTarget(tp,s.thfilter,tp,LOCATION_GRAVE,0,1,1,e:GetHandler())
--local g=Duel.SelectTarget(tp,s.thfilter,tp,LOCATION_GRAVE,0,1,1,e:GetHandler())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
nil
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
nil
,
0
,
0
)
...
@@ -112,7 +112,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -112,7 +112,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
fid
=
c
:
GetFieldID
()
local
fid
=
c
:
GetFieldID
()
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
refilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
),
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
re
m
filter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
),
nil
)
if
not
#
g
then
return
end
if
not
#
g
then
return
end
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
while
tc
do
while
tc
do
...
@@ -166,7 +166,7 @@ end
...
@@ -166,7 +166,7 @@ end
function
s
.
spelimit
(
e
,
c
)
function
s
.
spelimit
(
e
,
c
)
return
(
not
c
:
IsSetCard
(
0x690
))
and
c
:
IsLocation
(
LOCATION_EXTRA
)
return
(
not
c
:
IsSetCard
(
0x690
))
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
end
function
s
.
refilter
(
c
)
function
s
.
re
m
filter
(
c
)
return
c
:
IsSetCard
(
0x690
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_WARRIOR
)
return
c
:
IsSetCard
(
0x690
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
RACE_WARRIOR
)
end
end
function
s
.
tdfilter
(
c
)
function
s
.
tdfilter
(
c
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment