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
eb93b737
Commit
eb93b737
authored
Apr 12, 2024
by
Tachibana
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pic
parent
ab5cf402
Pipeline
#26392
passed with stages
in 23 minutes and 51 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
21 deletions
+9
-21
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c50221310.lua
expansions/script/c50221310.lua
+3
-3
expansions/script/c50221315.lua
expansions/script/c50221315.lua
+3
-3
expansions/script/c50221320.lua
expansions/script/c50221320.lua
+3
-3
expansions/script/c88123001.lua
expansions/script/c88123001.lua
+0
-12
No files found.
expansions/222DIY.cdb
View file @
eb93b737
No preview for this file type
expansions/script/c50221310.lua
View file @
eb93b737
...
...
@@ -18,12 +18,12 @@ function c50221310.mfilter(c)
return
c
:
IsSetCard
(
0xcb3
)
end
function
c50221310
.
thcfilter
(
c
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
Is
AbleToGraveAsCost
(
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
Is
Location
(
LOCATION_HAND
)
end
function
c50221310
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50221310
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c50221310
.
thcfilter
,
1
,
REASON_COST
,
true
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
Select
MatchingCard
(
tp
,
c50221310
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
Select
ReleaseGroupEx
(
tp
,
c50221310
.
thcfilter
,
1
,
1
,
REASON_COST
,
true
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c50221310
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c50221315.lua
View file @
eb93b737
...
...
@@ -60,12 +60,12 @@ function c50221315.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c50221315
.
thcfilter
(
c
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
Is
AbleToGraveAsCost
(
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
Is
Location
(
LOCATION_HAND
)
end
function
c50221315
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50221315
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c50221315
.
thcfilter
,
1
,
REASON_COST
,
true
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
Select
MatchingCard
(
tp
,
c50221315
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
Select
ReleaseGroupEx
(
tp
,
c50221315
.
thcfilter
,
1
,
1
,
REASON_COST
,
true
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c50221315
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c50221320.lua
View file @
eb93b737
...
...
@@ -48,12 +48,12 @@ function c50221320.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c50221320
.
thcfilter
(
c
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
Is
AbleToGraveAsCost
(
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0xcb3
)
and
c
:
Is
Location
(
LOCATION_HAND
)
end
function
c50221320
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c50221320
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c50221320
.
thcfilter
,
1
,
REASON_COST
,
true
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
Select
MatchingCard
(
tp
,
c50221320
.
thcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
Select
ReleaseGroupEx
(
tp
,
c50221320
.
thcfilter
,
1
,
1
,
REASON_COST
,
true
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c50221320
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
expansions/script/c88123001.lua
View file @
eb93b737
...
...
@@ -58,16 +58,4 @@ end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_TO_HAND
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsLocation
,
LOCATION_DECK
))
if
Duel
.
GetTurnPlayer
()
==
tp
then
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
2
)
else
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
)
end
Duel
.
RegisterEffect
(
e1
,
tp
)
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