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
06f48c72
Commit
06f48c72
authored
Sep 17, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
9715d53c
Pipeline
#29832
failed with stages
in 17 minutes and 55 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c12835103.lua
expansions/script/c12835103.lua
+1
-1
expansions/script/c12835110.lua
expansions/script/c12835110.lua
+4
-3
No files found.
expansions/FiNALE.cdb
View file @
06f48c72
No preview for this file type
expansions/script/c12835103.lua
View file @
06f48c72
...
...
@@ -59,7 +59,7 @@ function s.pcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPublic
()
end
function
s
.
cfilter
(
c
,
ec
)
return
((
c
:
GetOriginalType
()
&
TYPE_SPELL
+
TYPE_TRAP
)
>
0
and
c
:
IsSetCard
(
0x3a70
)
or
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
ec
:
IsLocation
(
LOCATION_HAND
)
and
ec
:
IsPublic
())
and
c
:
IsAbleToGraveAsCost
()
return
c
:
GetOriginalType
()
&
(
TYPE_SPELL
+
TYPE_TRAP
)
>
0
and
(
c
:
IsSetCard
(
0x3a70
)
or
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
ec
:
IsLocation
(
LOCATION_HAND
)
and
ec
:
IsPublic
())
and
c
:
IsAbleToGraveAsCost
()
end
function
s
.
sscost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
expansions/script/c12835110.lua
View file @
06f48c72
...
...
@@ -20,7 +20,6 @@ function s.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e2
:
SetCountLimit
(
1
,
id
+
100
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetCondition
(
s
.
imncon
)
e2
:
SetOperation
(
s
.
imnop
)
...
...
@@ -114,7 +113,7 @@ end
function
s
.
imnop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
movefilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
and
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
>
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
GetFlagEffect
(
tp
,
id
+
100
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
and
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
>
0
then
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
for
tc
in
aux
.
Next
(
g
)
do
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -125,8 +124,10 @@ function s.imnop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CLIENT_HINT
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_CHAIN
)
e1
:
SetValue
(
s
.
efilter
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
,
true
)
end
Duel
.
AdjustAll
()
Duel
.
RegisterFlagEffect
(
tp
,
id
+
100
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
12835102
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
...
...
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