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
Ai
ygopro-222DIY-cards
Commits
03d0fa8c
Commit
03d0fa8c
authored
May 27, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vme50
parent
95f457ac
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
15 additions
and
11 deletions
+15
-11
expansions/script/c12400063.lua
expansions/script/c12400063.lua
+1
-1
expansions/script/c17243481.lua
expansions/script/c17243481.lua
+1
-1
expansions/script/c33500937.lua
expansions/script/c33500937.lua
+1
-1
expansions/script/c33501319.lua
expansions/script/c33501319.lua
+1
-1
expansions/script/c33503701.lua
expansions/script/c33503701.lua
+1
-1
expansions/script/c64800230.lua
expansions/script/c64800230.lua
+5
-2
expansions/script/c64800232.lua
expansions/script/c64800232.lua
+2
-1
expansions/script/c64800239.lua
expansions/script/c64800239.lua
+3
-3
No files found.
expansions/script/c12400063.lua
View file @
03d0fa8c
...
...
@@ -83,7 +83,7 @@ function s.op1(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetMZoneCount
(
tp
)
<
1
then
return
end
if
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
12400064
,
0
,
0x4011
,
3000
,
3000
,
6
,
RACE_PSYCHO
,
ATTRIBUTE_DARK
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
12400064
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummonStep
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e5
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e5
:
SetCategory
(
CATEGORY_DAMAGE
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
expansions/script/c17243481.lua
View file @
03d0fa8c
...
...
@@ -86,7 +86,7 @@ end
function
cm
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
local
ftp
=
e
:
GetHandler
():
GetOwner
()
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
sumfilter
,
ftp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
3
))
then
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
sumfilter
,
ftp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
f
tp
,
aux
.
Stringid
(
m
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
ftp
,
HINTMSG_SUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
ftp
,
cm
.
sumfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
...
...
expansions/script/c33500937.lua
View file @
03d0fa8c
...
...
@@ -69,7 +69,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
c
,
REASON_COST
)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x
1b0
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
341
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
end
...
...
expansions/script/c33501319.lua
View file @
03d0fa8c
...
...
@@ -55,7 +55,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
mg
=
e
:
GetLabelObject
(
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
eqfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
e
:
GetHandler
()
)
local
tc
=
e
:
GetHandler
()
if
#
mg
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
...
...
expansions/script/c33503701.lua
View file @
03d0fa8c
...
...
@@ -100,7 +100,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
local
hg
=
Duel
.
GetMatchingGroup
(
Card
.
IsSynchroSummonable
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
nil
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
3
))
then
if
#
hg
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
3
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
hg
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SynchroSummon
(
tp
,
sg
:
GetFirst
(),
nil
)
...
...
expansions/script/c64800230.lua
View file @
03d0fa8c
...
...
@@ -30,9 +30,12 @@ end
function
s
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ck1
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
0
,
LOCATION_SZONE
,
1
,
nil
)
local
ck2
=
Duel
.
IsExistingMatchingCard
(
s
.
mf
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
if
chk
==
0
then
return
(
ck1
and
Duel
.
IsExistingMatchingCard
(
s
.
df1
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()))
or
(
ck2
and
Duel
.
IsExistingMatchingCard
(
s
.
df2
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()
))
end
if
chk
==
0
then
return
(
ck1
and
Duel
.
IsExistingMatchingCard
(
s
.
df1
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()))
or
(
ck2
and
(
Duel
.
IsExistingMatchingCard
(
s
.
df2
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
or
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_FZONE
,
0
,
1
,
e
:
GetHandler
(),
64800236
))
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
df3
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
ck1
,
ck2
):
GetFirst
()
local
sg
=
Duel
.
GetMatchingGroup
(
s
.
df3
,
tp
,
LOCATION_HAND
,
0
,
nil
,
ck1
,
ck2
)
local
fg
=
Duel
.
GetMatchingGroup
(
Card
.
IsCode
,
tp
,
LOCATION_FZONE
,
0
,
nil
,
64800236
)
sg
:
Merge
(
fg
)
local
tc
=
sg
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
SendtoGrave
(
tc
,
REASON_DISCARD
+
REASON_COST
)
if
tc
:
IsType
(
TYPE_MONSTER
)
then
e
:
SetLabel
(
0
)
...
...
expansions/script/c64800232.lua
View file @
03d0fa8c
...
...
@@ -3,7 +3,7 @@ local m=64800232
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_
TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_
DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
m
)
...
...
@@ -53,6 +53,7 @@ function cm.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
c
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
LOCATION_DECK
)
end
function
cm
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c64800239.lua
View file @
03d0fa8c
...
...
@@ -22,17 +22,17 @@ function cm.initial_effect(c)
e2
:
SetOperation
(
cm
.
drop
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
thfil
(
c
,
ec
)
function
cm
.
thfil
0
(
c
,
ec
)
return
(
c
:
IsCode
(
m
-
9
)
or
c
:
IsCode
(
m
-
8
))
and
c
:
IsAbleToHand
()
end
function
cm
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
thfil
0
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
cm
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfil
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
thfil
0
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
Duel
.
SendtoHand
(
g
,
tp
,
REASON_EFFECT
)
~=
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
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