Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
MyCard
ygopro-scripts-888
Commits
5e52dbed
Commit
5e52dbed
authored
Feb 08, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of upstream into master
parents
6bb9a6bd
dc4588d3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
20 deletions
+22
-20
c18895832.lua
c18895832.lua
+2
-8
c27015862.lua
c27015862.lua
+0
-1
c28912357.lua
c28912357.lua
+0
-1
c34968834.lua
c34968834.lua
+3
-1
c59293853.lua
c59293853.lua
+9
-7
c73898890.lua
c73898890.lua
+1
-1
c86682165.lua
c86682165.lua
+7
-1
No files found.
c18895832.lua
View file @
5e52dbed
...
@@ -15,16 +15,10 @@ function c18895832.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -15,16 +15,10 @@ function c18895832.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
1000
)
Duel
.
PayLPCost
(
tp
,
1000
)
end
end
function
c18895832
.
filter
(
c
)
function
c18895832
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_MACHINE
)
return
c
:
IsFaceupEx
()
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAbleToRemove
()
end
function
c18895832
.
tfilter
(
c
)
return
not
c
:
IsAbleToRemove
()
end
end
function
c18895832
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c18895832
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c18895832
.
filter
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c18895832
.
filter
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
)
return
g
:
GetCount
()
>
0
and
not
g
:
IsExists
(
c18895832
.
tfilter
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c18895832
.
filter
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c18895832
.
filter
,
tp
,
0
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
...
...
c27015862.lua
View file @
5e52dbed
...
@@ -57,7 +57,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
local
tag
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
tag
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
tag
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tag
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tag
)
Duel
.
ConfirmCards
(
1
-
tp
,
tag
)
Duel
.
ShuffleDeck
(
tp
)
end
end
end
end
function
s
.
desfilter2
(
c
,
tp
)
function
s
.
desfilter2
(
c
,
tp
)
...
...
c28912357.lua
View file @
5e52dbed
...
@@ -43,7 +43,6 @@ function c28912357.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,6 @@ function c28912357.operation(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleDeck
(
tp
)
end
end
end
end
function
c28912357
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c28912357
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c34968834.lua
View file @
5e52dbed
...
@@ -19,7 +19,9 @@ function c34968834.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -19,7 +19,9 @@ function c34968834.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
if
rp
==
1
-
tp
and
tp
==
e
:
GetLabel
()
then
if
rp
==
1
-
tp
and
tp
==
e
:
GetLabel
()
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
|
CATEGORY_DECKDES
)
else
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
end
end
end
end
function
c34968834
.
filter
(
c
,
e
,
tp
)
function
c34968834
.
filter
(
c
,
e
,
tp
)
...
...
c59293853.lua
View file @
5e52dbed
...
@@ -6,6 +6,7 @@ function s.initial_effect(c)
...
@@ -6,6 +6,7 @@ function s.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetTarget
(
s
.
target
)
e1
:
SetOperation
(
s
.
activate
)
e1
:
SetOperation
(
s
.
activate
)
...
@@ -30,13 +31,12 @@ function s.filter(c,e,tp)
...
@@ -30,13 +31,12 @@ function s.filter(c,e,tp)
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
HAND
+
LOCATION_
DECK
)
end
end
function
s
.
posfilter
(
c
)
function
s
.
posfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
()
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
()
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
+
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
...
@@ -44,13 +44,15 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,13 +44,15 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
s1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
local
s1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
local
s2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
,
1
-
tp
)
local
s2
=
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN_DEFENSE
,
1
-
tp
)
local
op
=
aux
.
SelectFromOptions
(
tp
,
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
s1
,
aux
.
Stringid
(
id
,
2
),
tp
},
{
s1
,
aux
.
Stringid
(
id
,
2
),
tp
},
{
s2
,
aux
.
Stringid
(
id
,
3
),
1
-
tp
})
{
s2
,
aux
.
Stringid
(
id
,
3
),
1
-
tp
})
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
op
,
false
,
false
,
op
==
tp
and
POS_FACEUP
or
POS_FACEDOWN_DEFENCE
)
~=
0
local
sumpos
=
op
==
tp
and
POS_FACEUP
or
POS_FACEDOWN_DEFENCE
and
Duel
.
IsExistingMatchingCard
(
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
op
,
false
,
false
,
sumpos
)
==
0
then
return
end
if
op
==
1
-
tp
then
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
if
Duel
.
IsExistingMatchingCard
(
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
4
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
4
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_
POSCHANGE
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
posfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
sg
)
Duel
.
HintSelection
(
sg
)
Duel
.
ChangePosition
(
sg
:
GetFirst
(),
POS_FACEDOWN_DEFENSE
)
Duel
.
ChangePosition
(
sg
:
GetFirst
(),
POS_FACEDOWN_DEFENSE
)
...
...
c73898890.lua
View file @
5e52dbed
...
@@ -31,7 +31,7 @@ function c73898890.initial_effect(c)
...
@@ -31,7 +31,7 @@ function c73898890.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c73898890
.
lcheck
(
g
)
function
c73898890
.
lcheck
(
g
)
return
g
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_RITUAL
)
return
g
:
IsExists
(
Card
.
Is
Link
Type
,
1
,
nil
,
TYPE_RITUAL
)
end
end
function
c73898890
.
tdfilter
(
c
)
function
c73898890
.
tdfilter
(
c
)
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsType
(
TYPE_MONSTER
)
...
...
c86682165.lua
View file @
5e52dbed
...
@@ -56,8 +56,14 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,8 +56,14 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
ch
=
Duel
.
GetCurrentChain
()
local
ch
=
Duel
.
GetCurrentChain
()
if
ch
>
1
then
if
ch
>
1
then
local
p
,
code
=
Duel
.
GetChainInfo
(
ch
-
1
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_CODE
)
local
p
,
code
,
te
=
Duel
.
GetChainInfo
(
ch
-
1
,
CHAININFO_TRIGGERING_PLAYER
,
CHAININFO_TRIGGERING_CODE
,
CHAININFO_TRIGGERING_EFFECT
)
if
p
==
1
-
tp
then
if
p
==
1
-
tp
then
if
te
then
local
tc
=
te
:
GetHandler
()
if
tc
and
tc
:
IsRelateToEffect
(
te
)
then
code
=
tc
:
GetCode
()
end
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
rmfilter
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
,
code
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
rmfilter
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
nil
,
code
)
if
#
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
if
#
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
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