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
37c29a72
Commit
37c29a72
authored
Oct 24, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
54188
parent
c6e448d1
Pipeline
#30683
passed with stages
in 27 minutes and 47 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
3 deletions
+3
-3
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c53752002.lua
expansions/script/c53752002.lua
+1
-1
expansions/script/c53752016.lua
expansions/script/c53752016.lua
+0
-2
expansions/script/stickers.lua
expansions/script/stickers.lua
+2
-0
No files found.
expansions/FiNALE.cdb
View file @
37c29a72
No preview for this file type
expansions/script/c53752002.lua
View file @
37c29a72
...
@@ -421,7 +421,7 @@ function s.initial_effect(c)
...
@@ -421,7 +421,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
s
.
filter
(
c
,
tp
)
function
s
.
filter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
Is
OriginalCodeRule
(
22702055
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
Is
Code
(
id
+
1
)
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
s
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
...
...
expansions/script/c53752016.lua
View file @
37c29a72
...
@@ -2,8 +2,6 @@ local m=53752016
...
@@ -2,8 +2,6 @@ local m=53752016
local
cm
=
_G
[
"c"
..
m
]
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"为离开的再生"
cm
.
name
=
"为离开的再生"
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
22702055
)
aux
.
EnableChangeCode
(
c
,
22702055
,
LOCATION_SZONE
+
LOCATION_GRAVE
)
local
e0
=
Effect
.
CreateEffect
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
expansions/script/stickers.lua
View file @
37c29a72
...
@@ -75,6 +75,7 @@ function Card.GetAllStickers(c)
...
@@ -75,6 +75,7 @@ function Card.GetAllStickers(c)
return
stickers
return
stickers
end
end
function
Card
.
GetStickerCount
(
c
,
sticker
)
function
Card
.
GetStickerCount
(
c
,
sticker
)
if
not
c
:
GetFlagEffect
(
STICKER_FLAG
)
then
return
0
end
if
not
sticker
then
if
not
sticker
then
return
c
:
GetFlagEffect
(
STICKER_FLAG
)
return
c
:
GetFlagEffect
(
STICKER_FLAG
)
else
else
...
@@ -88,6 +89,7 @@ function Card.GetStickerCount(c,sticker)
...
@@ -88,6 +89,7 @@ function Card.GetStickerCount(c,sticker)
end
end
end
end
function
Duel
.
GetStickerCountOnPlayer
(
p
,
sticker
)
function
Duel
.
GetStickerCountOnPlayer
(
p
,
sticker
)
if
not
Duel
.
GetFlagEffect
(
STICKER_FLAG
)
then
return
0
end
if
not
sticker
then
if
not
sticker
then
return
Duel
.
GetFlagEffect
(
STICKER_FLAG
)
return
Duel
.
GetFlagEffect
(
STICKER_FLAG
)
else
else
...
...
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