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
c9c18921
Commit
c9c18921
authored
Sep 07, 2022
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
E
parent
9fa4cc2d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
15 deletions
+15
-15
expansions/script/c13257204.lua
expansions/script/c13257204.lua
+1
-1
expansions/script/c13257227.lua
expansions/script/c13257227.lua
+3
-3
expansions/script/c13257230.lua
expansions/script/c13257230.lua
+3
-3
expansions/script/c13257244.lua
expansions/script/c13257244.lua
+1
-1
expansions/script/c13257245.lua
expansions/script/c13257245.lua
+1
-1
expansions/script/c13257251.lua
expansions/script/c13257251.lua
+6
-6
No files found.
expansions/script/c13257204.lua
View file @
c9c18921
...
...
@@ -70,7 +70,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
tc
:
RegisterEffect
(
e2
)
if
tc
:
IsFaceup
()
and
(
tc
:
GetAttack
()
==
0
or
(
tc
:
GetDefense
()
==
0
and
not
tc
:
IsType
(
TYPE_LINK
)))
then
if
tc
:
IsFaceup
()
and
(
tc
:
GetAttack
()
==
0
and
(
tc
:
GetDefense
()
==
0
and
not
tc
:
IsType
(
TYPE_LINK
)))
then
Duel
.
NegateRelatedChain
(
tc
,
RESET_TURN_SET
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
expansions/script/c13257227.lua
View file @
c9c18921
...
...
@@ -60,11 +60,11 @@ end
function
cm
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
)
return
g
:
CheckSubGroup
(
aux
.
mzctcheck
,
1
,
1
,
tp
)
end
function
cm
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
mzctcheck
,
true
,
1
,
1
,
tp
)
if
sg
then
...
...
@@ -140,5 +140,5 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
,
true
)
end
function
cm
.
bgmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
11
,
0
,
aux
.
Stringid
(
m
,
4
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
4
))
end
expansions/script/c13257230.lua
View file @
c9c18921
...
...
@@ -60,11 +60,11 @@ end
function
cm
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
)
return
g
:
CheckSubGroup
(
aux
.
mzctcheck
,
2
,
2
,
tp
)
end
function
cm
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
sprfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
mzctcheck
,
true
,
2
,
2
,
tp
)
if
sg
then
...
...
@@ -124,5 +124,5 @@ function cm.acop(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
,
true
)
end
function
cm
.
bgmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
11
,
0
,
aux
.
Stringid
(
m
,
4
))
Duel
.
Hint
(
HINT_MUSIC
,
0
,
aux
.
Stringid
(
m
,
4
))
end
expansions/script/c13257244.lua
View file @
c9c18921
...
...
@@ -63,7 +63,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
fop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
function
cm
.
eftg
(
e
,
c
)
return
e
:
GetHandler
():
GetEquipGroup
():
IsContains
(
c
)
and
c
:
IsSetCard
(
0x
9
354
)
return
e
:
GetHandler
():
GetEquipGroup
():
IsContains
(
c
)
and
c
:
IsSetCard
(
0x
5
354
)
end
function
cm
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
bit
.
band
(
r
,
REASON_EFFECT
)
<=
0
then
return
false
end
...
...
expansions/script/c13257245.lua
View file @
c9c18921
...
...
@@ -45,7 +45,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetFlagEffect
(
tp
,
m
)
>
0
then
return
end
Duel
.
RegisterFlagEffect
(
tp
,
m
,
0
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
aux
.
Stringid
(
m
,
1
))
Duel
.
RegisterFlagEffect
(
tp
,
m
,
0
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
1
))
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
expansions/script/c13257251.lua
View file @
c9c18921
...
...
@@ -65,13 +65,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
t2
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
):
GetCount
()
>
0
if
chk
==
0
then
return
t1
or
t2
end
local
op
=
0
local
m
=
{}
local
n
=
{}
local
m
1
=
{}
local
n
1
=
{}
local
ct
=
1
if
t1
then
m
[
ct
]
=
aux
.
Stringid
(
m
,
2
)
n
[
ct
]
=
1
ct
=
ct
+
1
end
if
t2
then
m
[
ct
]
=
aux
.
Stringid
(
m
,
3
)
n
[
ct
]
=
2
ct
=
ct
+
1
end
local
sp
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
m
))
op
=
n
[
sp
+
1
]
if
t1
then
m
1
[
ct
]
=
aux
.
Stringid
(
m
,
2
)
n1
[
ct
]
=
1
ct
=
ct
+
1
end
if
t2
then
m
1
[
ct
]
=
aux
.
Stringid
(
m
,
3
)
n1
[
ct
]
=
2
ct
=
ct
+
1
end
local
sp
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
m
1
))
op
=
n
1
[
sp
+
1
]
e
:
SetLabel
(
op
)
if
op
==
1
then
...
...
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