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
155ae099
Commit
155ae099
authored
Nov 21, 2025
by
wind2009
Committed by
GitHub
Nov 21, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ドレミコード・エレガンス (#3062)
parent
00f542d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
5 deletions
+22
-5
c27870337.lua
c27870337.lua
+22
-5
No files found.
c27870337.lua
View file @
155ae099
...
@@ -4,11 +4,30 @@ function c27870337.initial_effect(c)
...
@@ -4,11 +4,30 @@ function c27870337.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_LIMIT_ZONE
)
e1
:
SetCountLimit
(
1
,
27870337
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
27870337
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
c27870337
.
target
)
e1
:
SetTarget
(
c27870337
.
target
)
e1
:
SetOperation
(
c27870337
.
activate
)
e1
:
SetOperation
(
c27870337
.
activate
)
e1
:
SetValue
(
c27870337
.
zones
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c27870337
.
sel3
(
tp
)
return
Duel
.
IsExistingMatchingCard
(
c27870337
.
toexfilter1
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c27870337
.
toexfilter2
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
end
function
c27870337
.
zones
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
zone
=
0xff
local
b3
=
c27870337
.
sel3
(
tp
)
if
b3
then
return
zone
end
local
p0
=
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
local
p1
=
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
local
b
=
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
not
e
:
GetHandler
():
IsLocation
(
LOCATION_SZONE
)
if
not
b
or
p0
and
p1
then
return
zone
end
if
p0
then
zone
=
zone
-
0x1
end
if
p1
then
zone
=
zone
-
0x10
end
return
zone
end
function
c27870337
.
pendfilter
(
c
)
function
c27870337
.
pendfilter
(
c
)
return
c
:
IsSetCard
(
0x162
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsForbidden
()
return
c
:
IsSetCard
(
0x162
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
not
c
:
IsForbidden
()
end
end
...
@@ -34,9 +53,7 @@ function c27870337.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -34,9 +53,7 @@ function c27870337.target(e,tp,eg,ep,ev,re,r,rp,chk)
and
Duel
.
IsExistingMatchingCard
(
c27870337
.
pendfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c27870337
.
pendfilter1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c27870337
.
pendfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c27870337
.
pendfilter2
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
and
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
0
)
and
Duel
.
CheckLocation
(
tp
,
LOCATION_PZONE
,
1
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
c27870337
.
toexfilter1
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
local
b3
=
c27870337
.
sel3
(
tp
)
and
Duel
.
IsExistingMatchingCard
(
c27870337
.
toexfilter2
,
tp
,
LOCATION_PZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
2
)
if
chk
==
0
then
return
b1
or
b2
or
b3
end
if
chk
==
0
then
return
b1
or
b2
or
b3
end
local
off
=
1
local
off
=
1
local
ops
,
opval
=
{},{}
local
ops
,
opval
=
{},{}
...
@@ -62,7 +79,7 @@ function c27870337.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -62,7 +79,7 @@ function c27870337.target(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetCategory
(
0
)
e
:
SetCategory
(
0
)
elseif
sel
==
1
then
elseif
sel
==
1
then
e
:
SetCategory
(
0
)
e
:
SetCategory
(
0
)
else
else
if
sel
==
2
then
e
:
SetCategory
(
CATEGORY_DRAW
)
e
:
SetCategory
(
CATEGORY_DRAW
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
2
)
Duel
.
SetTargetParam
(
2
)
...
@@ -100,7 +117,7 @@ function c27870337.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,7 +117,7 @@ function c27870337.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
end
end
else
else
if
sel
==
2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
27870337
,
3
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
27870337
,
3
))
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c27870337
.
toexfilter1
,
tp
,
LOCATION_PZONE
,
0
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c27870337
.
toexfilter1
,
tp
,
LOCATION_PZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
27870337
,
3
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
27870337
,
3
))
...
...
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