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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
bdd77b4e
Commit
bdd77b4e
authored
Oct 13, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
418fbd38
Pipeline
#30391
passed with stage
in 14 minutes and 18 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
14 deletions
+13
-14
expansions/script/c65820050.lua
expansions/script/c65820050.lua
+0
-1
expansions/script/c71400031.lua
expansions/script/c71400031.lua
+2
-2
expansions/script/c71400038.lua
expansions/script/c71400038.lua
+1
-1
expansions/script/c81085025.lua
expansions/script/c81085025.lua
+1
-1
expansions/script/c9390018.lua
expansions/script/c9390018.lua
+1
-1
expansions/script/c9390022.lua
expansions/script/c9390022.lua
+1
-1
expansions/script/c9390026.lua
expansions/script/c9390026.lua
+1
-1
expansions/script/c98628036.lua
expansions/script/c98628036.lua
+6
-6
No files found.
expansions/script/c65820050.lua
View file @
bdd77b4e
...
@@ -28,7 +28,6 @@ end
...
@@ -28,7 +28,6 @@ end
function
c65820050
.
spfilter
(
c
,
e
,
tp
)
function
c65820050
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
65820000
,
65820005
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
65820000
,
65820005
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
aux
.
NecroValleyFilter
()
end
end
function
c65820050
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c65820050
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c71400031.lua
View file @
bdd77b4e
...
@@ -6,7 +6,7 @@ function c71400031.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c71400031.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_TODECK
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetDescription
(
aux
.
Stringid
(
71400031
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
71400031
,
0
))
e1
:
SetCountLimit
(
1
,
71400031
)
e1
:
SetCountLimit
(
1
,
71400031
)
e1
:
SetTarget
(
c71400031
.
tg1
)
e1
:
SetTarget
(
c71400031
.
tg1
)
...
@@ -18,7 +18,7 @@ function c71400031.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c71400031.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
e2
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetDescription
(
aux
.
Stringid
(
71400031
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
71400031
,
1
))
e2
:
SetCountLimit
(
1
,
71500031
)
e2
:
SetCountLimit
(
1
,
71500031
)
e2
:
SetCondition
(
yume
.
nonYumeCon
)
e2
:
SetCondition
(
yume
.
nonYumeCon
)
...
...
expansions/script/c71400038.lua
View file @
bdd77b4e
...
@@ -5,7 +5,7 @@ function c71400038.initial_effect(c)
...
@@ -5,7 +5,7 @@ function c71400038.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_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CANNOT_NEGATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_INACTIVATE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetTarget
(
c71400038
.
target
)
e1
:
SetTarget
(
c71400038
.
target
)
e1
:
SetOperation
(
c71400038
.
activate
)
e1
:
SetOperation
(
c71400038
.
activate
)
e1
:
SetDescription
(
aux
.
Stringid
(
71400038
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
71400038
,
0
))
...
...
expansions/script/c81085025.lua
View file @
bdd77b4e
--被创造的旋律
--
local
m
=
81085025
local
m
=
81085025
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
Duel
.
LoadScript
(
"c81000000.lua"
)
Duel
.
LoadScript
(
"c81000000.lua"
)
...
...
expansions/script/c9390018.lua
View file @
bdd77b4e
...
@@ -65,7 +65,7 @@ end
...
@@ -65,7 +65,7 @@ end
function
cm
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
c
:
GetFlagEffect
(
m
)
==
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
c
:
GetFlagEffect
(
m
)
==
0
end
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_LEAVE
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
GRAVE
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_LEAVE
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c9390022.lua
View file @
bdd77b4e
...
@@ -72,7 +72,7 @@ function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -72,7 +72,7 @@ function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
rmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
rmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
tp
)
and
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
c
:
GetFlagEffect
(
m
)
==
0
end
and
c
:
GetFlagEffect
(
m
)
==
0
else
return
false
end
else
return
false
end
end
end
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_LEAVE
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_LEAVE
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
...
...
expansions/script/c9390026.lua
View file @
bdd77b4e
...
@@ -55,7 +55,7 @@ end
...
@@ -55,7 +55,7 @@ end
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
)
and
c
:
GetFlagEffect
(
m
)
==
0
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
)
and
c
:
GetFlagEffect
(
m
)
==
0
end
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_LEAVE
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
RAVE
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_LEAVE
-
RESET_TOFIELD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
tp
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
end
...
...
expansions/script/c98628036.lua
View file @
bdd77b4e
...
@@ -33,9 +33,9 @@ function cm.initial_effect(c)
...
@@ -33,9 +33,9 @@ function cm.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCode
(
EVENT_DESTROYED
)
e5
:
SetCode
(
EVENT_DESTROYED
)
e5
:
SetCondition
(
c
66947913
.
rmcon
)
e5
:
SetCondition
(
c
m
.
rmcon
)
e5
:
SetTarget
(
c
66947913
.
rmtg
)
e5
:
SetTarget
(
c
m
.
rmtg
)
e5
:
SetOperation
(
c
66947913
.
rmop
)
e5
:
SetOperation
(
c
m
.
rmop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -85,16 +85,16 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,16 +85,16 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
end
end
function
c
66947913
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_EFFECT
)
and
rp
==
1
-
tp
and
c
:
IsPreviousControler
(
tp
)
return
c
:
IsReason
(
REASON_EFFECT
)
and
rp
==
1
-
tp
and
c
:
IsPreviousControler
(
tp
)
end
end
function
c
66947913
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c
m
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_EXTRA
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_EXTRA
,
nil
)
if
chk
==
0
then
return
#
g
>
0
end
if
chk
==
0
then
return
#
g
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
1
,
0
,
0
)
end
end
function
c
66947913
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
if
#
g
==
0
then
return
end
if
#
g
==
0
then
return
end
Duel
.
ConfirmCards
(
tp
,
g
)
Duel
.
ConfirmCards
(
tp
,
g
)
...
...
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