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
59ea1f8b
Commit
59ea1f8b
authored
Oct 26, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
b99e8501
Pipeline
#6428
failed with stages
in 1 minute and 12 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c33400000.lua
expansions/script/c33400000.lua
+7
-7
expansions/script/c33401625.lua
expansions/script/c33401625.lua
+1
-1
expansions/script/c33401628.lua
expansions/script/c33401628.lua
+3
-3
No files found.
expansions/222DIY.cdb
View file @
59ea1f8b
No preview for this file type
expansions/script/c33400000.lua
View file @
59ea1f8b
...
...
@@ -205,21 +205,21 @@ function XY.mayuribfcon(e)
end
function
XY
.
mayuriregop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
c
:
RegisterFlagEffect
(
c
:
GetCode
(),
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
nil
,
0
,
aux
.
Stringid
(
33401601
,
0
))
c
:
RegisterFlagEffect
(
c
:
GetCode
(),
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
0
,
aux
.
Stringid
(
33401601
,
0
))
end
function
XY
.
mayuriregcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
GetHandler
()
==
e
:
GetHandler
()
end
function
XY
.
mayuriregop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
c
:
RegisterFlagEffect
(
c
:
GetCode
(),
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
nil
,
0
,
aux
.
Stringid
(
33401601
,
0
))
c
:
RegisterFlagEffect
(
c
:
GetCode
(),
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
0
,
aux
.
Stringid
(
33401601
,
0
))
end
function
XY
.
mayuriregop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
fs
=
c
:
GetFlagEffect
(
c
:
GetCode
())
c
:
ResetFlagEffect
(
c
:
GetCode
())
for
i
=
1
,
fs
-
1
do
c
:
RegisterFlagEffect
(
c
:
GetCode
(),
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
nil
,
0
,
aux
.
Stringid
(
33401601
,
0
))
c
:
RegisterFlagEffect
(
c
:
GetCode
(),
RESET_EVENT
+
0x1fe0000
,
EFFECT_FLAG_CLIENT_HINT
,
0
,
0
,
aux
.
Stringid
(
33401601
,
0
))
end
end
--sp
...
...
@@ -765,7 +765,7 @@ function XY.maganechop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
cd
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
())
if
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
~=
0
then
if
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_MESSAGE
,
1
-
tp
,
aux
.
Stringid
(
cd
,
3
))
local
e0
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -1000,7 +1000,7 @@ function XY.maganechop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
tp
)
Duel
.
SortDecktop
(
tp
,
1
-
tp
,
3
)
else
Duel
.
SortDecktop
(
tp
,
1
-
tp
,
4
)
end
end
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
cd
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
...
...
@@ -1265,7 +1265,7 @@ function XY.maganechop(e,tp,eg,ep,ev,re,r,rp)
local
e5
=
e4
:
Clone
()
e5
:
SetCode
(
EFFECT_SET_DEFENSE_FINAL
)
tc
:
RegisterEffect
(
e5
)
end
end
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingMatchingCard
(
XY
.
maganethfilter7
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
ac
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
...
...
@@ -1339,7 +1339,7 @@ function XY.maganechop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
tp
)
Duel
.
SortDecktop
(
tp
,
1
-
tp
,
3
)
else
Duel
.
SortDecktop
(
tp
,
1
-
tp
,
4
)
end
end
if
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToGrave
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHand
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
e
:
GetHandler
())
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
ac
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
...
...
expansions/script/c33401625.lua
View file @
59ea1f8b
...
...
@@ -34,7 +34,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
cm
.
ckfilter2
(
c
,
at
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAttribute
(
at
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetAttribute
()
&
at
~=
0
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
...
...
expansions/script/c33401628.lua
View file @
59ea1f8b
...
...
@@ -33,7 +33,7 @@ function cm.intg(e,c)
end
function
cm
.
refilter
(
c
)
return
c
:
IsAbleToRemove
()
and
c
:
IsSetCard
(
0x6344
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
return
c
:
IsAbleToRemove
()
and
c
:
IsSetCard
(
0x6344
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
refilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
@@ -47,7 +47,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -73,7 +73,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
cm
.
sptg3
)
e2
:
SetOperation
(
cm
.
spop3
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
function
cm
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
and
Duel
.
GetFlagEffect
(
tp
,
m
)
>
Duel
.
GetFlagEffect
(
tp
,
m
+
1
)
...
...
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