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
8e7293db
Commit
8e7293db
authored
Sep 16, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
e9e12a74
Pipeline
#29802
failed with stages
in 22 minutes and 21 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
28 deletions
+30
-28
expansions/pics/16400273.jpg
expansions/pics/16400273.jpg
+0
-0
expansions/script/c12835101.lua
expansions/script/c12835101.lua
+23
-21
expansions/script/c60010201.lua
expansions/script/c60010201.lua
+1
-1
expansions/script/c60010217.lua
expansions/script/c60010217.lua
+3
-3
expansions/script/c60010221.lua
expansions/script/c60010221.lua
+3
-3
No files found.
expansions/pics/16400273.jpg
View replaced file @
e9e12a74
View file @
8e7293db
142 KB
|
W:
|
H:
142 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/c12835101.lua
View file @
8e7293db
...
...
@@ -6,7 +6,7 @@ function c12835101.initial_effect(c)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCondition
(
c12835101
.
con
)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c12835101
.
splimit
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
...
...
@@ -20,7 +20,7 @@ function c12835101.initial_effect(c)
e4
:
SetCode
(
12835101
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
0x200
)
e4
:
SetTargetRange
(
1
,
1
)
e4
:
SetTargetRange
(
1
,
0
)
e4
:
SetCondition
(
c12835101
.
con
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -80,27 +80,29 @@ function c12835101.initial_effect(c)
end
function
c12835101
.
op0
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
tp
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
4
,
0
,
nil
)
::
a
::
for
tc
in
aux
.
Next
(
g
)
do
local
code
=
tc
:
GetCode
()
local
cg
=
g
:
Filter
(
Card
.
IsCode
,
nil
,
code
)
if
#
cg
>=
2
then
Duel
.
Hint
(
3
,
tp
,
HINTMSG_TOGRAVE
)
local
ccg
=
cg
:
Select
(
tp
,
#
cg
-
1
,
#
cg
-
1
,
nil
)
Duel
.
SendtoGrave
(
ccg
,
REASON_RULE
)
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
4
,
0
,
nil
)
goto
a
end
end
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
4
,
0
,
nil
)
if
#
g
>
0
then
local
o
=
{}
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
12835101
)
then
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
4
,
0
,
nil
)
::
a
::
for
tc
in
aux
.
Next
(
g
)
do
o
[
#
o
+
1
]
=
tc
:
GetCode
()
local
code
=
tc
:
GetCode
()
local
cg
=
g
:
Filter
(
Card
.
IsCode
,
nil
,
code
)
if
#
cg
>=
2
then
Duel
.
Hint
(
3
,
tp
,
HINTMSG_TOGRAVE
)
local
ccg
=
cg
:
Select
(
tp
,
#
cg
-
1
,
#
cg
-
1
,
nil
)
Duel
.
SendtoGrave
(
ccg
,
REASON_RULE
)
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
4
,
0
,
nil
)
goto
a
end
end
c12835101_single_monster
[
tp
+
1
]
=
o
end
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
4
,
0
,
nil
)
if
#
g
>
0
then
local
o
=
{}
for
tc
in
aux
.
Next
(
g
)
do
o
[
#
o
+
1
]
=
tc
:
GetCode
()
end
c12835101_single_monster
[
tp
+
1
]
=
o
end
end
end
end
function
c12835101
.
con
(
e
)
...
...
expansions/script/c60010201.lua
View file @
8e7293db
...
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
desfilter
(
c
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsSetCard
(
0x3620
)
return
c
:
IsSetCard
(
0x3620
)
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
cm
.
desfilter
(
chkc
,
tp
)
end
...
...
expansions/script/c60010217.lua
View file @
8e7293db
...
...
@@ -113,11 +113,11 @@ function cm.scop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LSCALE
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetValue
(
cc
:
GetLeftScale
()
-
dcc
)
e1
:
SetValue
(
-
dcc
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
c
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_RSCALE
)
c
:
RegisterEffect
(
e2
)
c
c
:
RegisterEffect
(
e2
)
end
end
\ No newline at end of file
expansions/script/c60010221.lua
View file @
8e7293db
...
...
@@ -74,11 +74,11 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_LSCALE
)
e1
:
SetValue
(
cc
:
GetLeftScale
()
-
dcc
)
e1
:
SetValue
(
-
dcc
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
c
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_RSCALE
)
c
:
RegisterEffect
(
e2
)
c
c
:
RegisterEffect
(
e2
)
end
end
\ No newline at end of file
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