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
Soulgamer
ygopro-222DIY-cards
Commits
74aad258
Commit
74aad258
authored
Dec 31, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
e5dd7afb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
4 deletions
+23
-4
expansions/script/c33200501.lua
expansions/script/c33200501.lua
+6
-0
expansions/script/c33200507.lua
expansions/script/c33200507.lua
+6
-0
expansions/script/c33200516.lua
expansions/script/c33200516.lua
+11
-4
No files found.
expansions/script/c33200501.lua
View file @
74aad258
...
...
@@ -108,6 +108,9 @@ function c33200501.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
dtm
,
REASON_EFFECT
)
for
drc
in
aux
.
Next
(
co
)
do
drc
:
RegisterFlagEffect
(
33200508
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
drc
:
GetFlagEffect
(
33200508
)
>=
2
then
drc
:
ResetFlagEffect
(
33200507
)
end
end
end
if
Duel
.
IsExistingMatchingCard
(
c33200501
.
rmfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
opt
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33200501
,
2
))
then
...
...
@@ -132,6 +135,9 @@ function c33200501.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
dtm
,
REASON_EFFECT
)
for
drc
in
aux
.
Next
(
co
)
do
drc
:
RegisterFlagEffect
(
33200508
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
drc
:
GetFlagEffect
(
33200508
)
>=
2
then
drc
:
ResetFlagEffect
(
33200507
)
end
end
end
if
Duel
.
IsExistingMatchingCard
(
c33200501
.
rmfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
opt
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
33200501
,
2
))
then
...
...
expansions/script/c33200507.lua
View file @
74aad258
...
...
@@ -60,6 +60,9 @@ function c33200507.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
dtm
,
REASON_EFFECT
)
for
drc
in
aux
.
Next
(
co
)
do
drc
:
RegisterFlagEffect
(
33200508
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
drc
:
GetFlagEffect
(
33200508
)
>=
2
then
drc
:
ResetFlagEffect
(
33200507
)
end
end
end
end
...
...
@@ -94,6 +97,9 @@ function c33200507.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
dtm
,
REASON_EFFECT
)
for
drc
in
aux
.
Next
(
co
)
do
drc
:
RegisterFlagEffect
(
33200508
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
drc
:
GetFlagEffect
(
33200508
)
>=
2
then
drc
:
ResetFlagEffect
(
33200507
)
end
end
end
end
...
...
expansions/script/c33200516.lua
View file @
74aad258
...
...
@@ -114,11 +114,9 @@ function c33200516.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
1
-
tp
)
local
opt
=
e
:
GetLabel
()
if
(
opt
==
0
and
sgc
:
IsType
(
TYPE_MONSTER
))
or
(
opt
==
1
and
sgc
:
IsType
(
TYPE_SPELL
))
or
(
opt
==
2
and
sgc
:
IsType
(
TYPE_TRAP
))
then
local
op
=
nil
local
op
=
0
if
c
:
IsRelateToEffect
(
e
)
then
op
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
33200516
,
2
),
aux
.
Stringid
(
33200516
,
3
))
else
op
=
0
end
if
op
==
0
then
Duel
.
SendtoGrave
(
sgc
,
REASON_EFFECT
)
...
...
@@ -132,6 +130,9 @@ function c33200516.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
dtm
,
REASON_EFFECT
)
for
drc
in
aux
.
Next
(
co
)
do
drc
:
RegisterFlagEffect
(
33200508
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
drc
:
GetFlagEffect
(
33200508
)
>=
2
then
drc
:
ResetFlagEffect
(
33200507
)
end
end
end
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
...
...
@@ -144,7 +145,10 @@ function c33200516.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
1
-
tp
)
local
opt
=
e
:
GetLabel
()
if
(
opt
==
0
and
sgc
:
IsType
(
TYPE_MONSTER
))
or
(
opt
==
1
and
sgc
:
IsType
(
TYPE_SPELL
))
or
(
opt
==
2
and
sgc
:
IsType
(
TYPE_TRAP
))
then
op
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
33200516
,
2
),
aux
.
Stringid
(
33200516
,
3
))
local
op
=
0
if
c
:
IsRelateToEffect
(
e
)
then
op
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
33200516
,
2
),
aux
.
Stringid
(
33200516
,
3
))
end
if
op
==
0
then
Duel
.
SendtoGrave
(
sgc
,
REASON_EFFECT
)
else
...
...
@@ -157,6 +161,9 @@ function c33200516.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Draw
(
tp
,
dtm
,
REASON_EFFECT
)
for
drc
in
aux
.
Next
(
co
)
do
drc
:
RegisterFlagEffect
(
33200508
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
if
drc
:
GetFlagEffect
(
33200508
)
>=
2
then
drc
:
ResetFlagEffect
(
33200507
)
end
end
end
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
...
...
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