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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
396a4612
Commit
396a4612
authored
Aug 30, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
9d26f20e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
9 deletions
+11
-9
expansions/script/c33703020.lua
expansions/script/c33703020.lua
+2
-1
expansions/script/c33703021.lua
expansions/script/c33703021.lua
+1
-1
expansions/script/c33703030.lua
expansions/script/c33703030.lua
+1
-1
expansions/script/c47500012.lua
expansions/script/c47500012.lua
+2
-2
expansions/script/c47501201.lua
expansions/script/c47501201.lua
+4
-4
expansions/script/c81028028.lua
expansions/script/c81028028.lua
+1
-0
No files found.
expansions/script/c33703020.lua
View file @
396a4612
...
...
@@ -50,8 +50,9 @@ function c33703020.sprop(e,tp,eg,ep,ev,re,r,rp,c)
c
:
RegisterEffect
(
e2
)
end
function
c33703020
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x442
)
and
c
:
IsDiscardable
()
and
return
c
:
IsSetCard
(
0x442
)
and
c
:
IsDiscardable
()
end
function
c33703020
.
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
IsExistingMatchingCard
(
c33703020
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
)
<=
0
then
return
end
...
...
expansions/script/c33703021.lua
View file @
396a4612
...
...
@@ -28,7 +28,7 @@ function c33703021.tgfilter(c,tp)
end
function
c33703021
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
eg
:
IsExists
(
c33703021
.
tgfilter
,
1
,
nil
,
tp
)
end
local
g
=
eg
:
Filter
(
c33703021
.
nil
,
tp
)
local
g
=
eg
:
Filter
(
nil
,
tp
)
local
tc
=
g
:
GetFirst
()
while
tc
do
num
=
tc
:
GetAttack
()
...
...
expansions/script/c33703030.lua
View file @
396a4612
...
...
@@ -85,7 +85,7 @@ function c33703030.damop(e,tp,eg,ep,ev,re,r,rp)
end
function
c33703030
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
aux
.
dscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
ne
d
en
d
function
c33703030
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsFaceup
()
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
expansions/script/c47500012.lua
View file @
396a4612
...
...
@@ -45,7 +45,7 @@ function c47500012.imcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c47500012
.
efilter
(
e
,
te
)
local
c
=
e
:
GetHandler
()
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
return
te
:
GetOwner
()
~=
e
:
GetOwner
()
and
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
47500012
,
0
))
end
function
c47500012
.
sdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -81,7 +81,7 @@ function c47500012.wzop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
local
op
=
tc
:
GetActivateEffect
:
GetOperation
()
local
op
=
tc
:
GetActivateEffect
()
:
GetOperation
()
if
op
then
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
end
\ No newline at end of file
expansions/script/c47501201.lua
View file @
396a4612
...
...
@@ -23,7 +23,7 @@ function c47501201.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
c
=
e
:
GetHandler
()
if
g
:
GetCount
()
>
0
then
local
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
local
sc
=
g
:
GetFirst
()
while
sc
do
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -32,16 +32,16 @@ function c47501201.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
-
500
)
sc
:
RegisterEffect
(
e1
)
e
:
SetLabel
(
e
:
GetLabel
+
500
)
e
:
SetLabel
(
e
:
GetLabel
()
+
500
)
sc
=
g
:
GetNext
()
end
if
c
:
GetCode
==
47501201
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
c
:
GetCode
()
==
47501201
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c47501201
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c47501201
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
if
c
:
GetCode
==
47500012
then
if
c
:
GetCode
()
==
47500012
then
local
g
=
Duel
.
GetMatchingGroup
(
c47501201
.
bkfilter
,
tp
,
0
,
LOCATION_MZONE
,
aux
.
ExceptThisCard
(
e
),
c
:
GetAttack
())
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
expansions/script/c81028028.lua
View file @
396a4612
...
...
@@ -39,6 +39,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TUNER_MATERIAL_LIMIT
)
...
...
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