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
f26a663d
Commit
f26a663d
authored
Jan 10, 2025
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
man!
parent
19718ac9
Pipeline
#32471
passed with stages
in 29 minutes and 8 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
expansions/script/c12866600.lua
expansions/script/c12866600.lua
+2
-2
expansions/script/c12866645.lua
expansions/script/c12866645.lua
+1
-1
expansions/script/c12866710.lua
expansions/script/c12866710.lua
+3
-2
expansions/script/c12866760.lua
expansions/script/c12866760.lua
+2
-1
No files found.
expansions/script/c12866600.lua
View file @
f26a663d
...
@@ -71,7 +71,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -71,7 +71,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
Duel
.
SetTargetCard
(
rc
)
Duel
.
SetTargetCard
(
rc
)
if
rc
:
IsLocation
(
LOCATION_GRAVE
)
then
if
rc
:
IsLocation
(
LOCATION_GRAVE
)
then
e
:
SetCategory
(
CATEGORY_GRAVE_SPSUMMON
)
e
:
SetCategory
(
CATEGORY_GRAVE_SPSUMMON
+
CATEGORY_LEAVE_GRAVE
)
end
end
if
rc
:
IsLocation
(
LOCATION_DECK
)
then
if
rc
:
IsLocation
(
LOCATION_DECK
)
then
e
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_SPECIAL_SUMMON
)
e
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_SPECIAL_SUMMON
)
...
@@ -85,7 +85,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,7 +85,7 @@ function s.tgop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
proc
=
rc
:
IsCode
(
12866705
)
and
c
:
IsCode
(
12866600
)
local
proc
=
rc
:
IsCode
(
12866705
)
and
c
:
IsCode
(
12866600
)
local
b1
=
tc
:
IsAbleToGrave
()
and
not
tc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
local
b1
=
tc
:
IsAbleToGrave
()
and
not
tc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
local
b2
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
(
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
proc
,
proc
))
local
b2
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
aux
.
NecroValleyFilter
()(
tc
)
and
(
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
tc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
proc
,
proc
))
local
off
=
1
local
off
=
1
local
ops
=
{}
local
ops
=
{}
local
opval
=
{}
local
opval
=
{}
...
...
expansions/script/c12866645.lua
View file @
f26a663d
...
@@ -56,7 +56,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -56,7 +56,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
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
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
s
.
filter
)
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c12866710.lua
View file @
f26a663d
...
@@ -91,7 +91,8 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -91,7 +91,8 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
not
rc
:
IsRelateToEffect
(
re
)
then
return
end
if
not
rc
:
IsRelateToEffect
(
re
)
then
return
end
local
proc
=
rc
:
IsCode
(
12866705
)
and
c
:
IsCode
(
12866600
)
local
proc
=
rc
:
IsCode
(
12866705
)
and
c
:
IsCode
(
12866600
)
local
b1
=
rc
:
IsAbleToGrave
()
and
not
rc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
local
b1
=
rc
:
IsAbleToGrave
()
and
not
rc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
local
b2
=
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
(
rc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
or
rc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
proc
,
proc
))
local
b2
=
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
aux
.
NecroValleyFilter
()(
tc
)
and
(
rc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
or
rc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
proc
,
proc
))
if
chk
==
0
then
return
b1
or
b2
end
if
chk
==
0
then
return
b1
or
b2
end
if
re
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_DARK
)
then
if
re
:
GetHandler
():
IsAttribute
(
ATTRIBUTE_DARK
)
then
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
...
@@ -106,7 +107,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -106,7 +107,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
Duel
.
SetTargetCard
(
rc
)
Duel
.
SetTargetCard
(
rc
)
if
rc
:
IsLocation
(
LOCATION_GRAVE
)
then
if
rc
:
IsLocation
(
LOCATION_GRAVE
)
then
e
:
SetCategory
(
CATEGORY_GRAVE_SPSUMMON
)
e
:
SetCategory
(
CATEGORY_GRAVE_SPSUMMON
+
CATEGORY_LEAVE_GRAVE
)
end
end
if
rc
:
IsLocation
(
LOCATION_DECK
)
then
if
rc
:
IsLocation
(
LOCATION_DECK
)
then
e
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_SPECIAL_SUMMON
)
e
:
SetCategory
(
CATEGORY_DECKDES
+
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c12866760.lua
View file @
f26a663d
...
@@ -18,10 +18,11 @@ function s.initial_effect(c)
...
@@ -18,10 +18,11 @@ function s.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
3
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
3
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e3
:
SetHintTiming
(
0
,
TIMING
S_CHECK_MONSTER
+
TIMING
_END_PHASE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetCondition
(
s
.
spcon
)
e3
:
SetTarget
(
s
.
sptg
)
e3
:
SetTarget
(
s
.
sptg
)
...
...
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