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
5f492c4c
Commit
5f492c4c
authored
Jul 24, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
69c72393
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c15873617.lua
expansions/script/c15873617.lua
+1
-1
expansions/script/c15873621.lua
expansions/script/c15873621.lua
+1
-1
expansions/script/c33700939.lua
expansions/script/c33700939.lua
+1
-1
expansions/script/c33700945.lua
expansions/script/c33700945.lua
+1
-1
expansions/script/c88946426.lua
expansions/script/c88946426.lua
+1
-1
No files found.
expansions/script/c15873617.lua
View file @
5f492c4c
...
@@ -11,7 +11,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -11,7 +11,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
)
local
g1
=
Duel
.
GetMatchingGroup
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
chk
==
0
then
return
#
g
>
0
end
if
chk
==
0
then
return
#
g
>
0
end
local
op
=
rs
of
.
SelectOption
(
tp
,
#
g1
>
0
,{
m
,
2
},
#
g1
>
0
,{
m
,
3
},
#
g
>
0
,{
m
,
4
})
local
op
=
rs
hint
.
SelectOption
(
tp
,
#
g1
>
0
,{
m
,
2
},
#
g1
>
0
,{
m
,
3
},
#
g
>
0
,{
m
,
4
})
if
op
==
3
then
if
op
==
3
then
e
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
...
...
expansions/script/c15873621.lua
View file @
5f492c4c
...
@@ -42,7 +42,7 @@ function cm.disop(e,tp)
...
@@ -42,7 +42,7 @@ function cm.disop(e,tp)
local
g1
=
Duel
.
GetMatchingGroup
(
aux
.
disfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
aux
.
disfilter1
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
cm
.
disfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
cm
.
disfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
#
g1
<=
0
and
#
g2
<=
0
then
return
end
if
#
g1
<=
0
and
#
g2
<=
0
then
return
end
local
op
=
rs
of
.
SelectOption
(
tp
,
#
g1
>
0
,{
m
,
1
},
#
g2
>
0
,{
m
,
2
})
local
op
=
rs
hint
.
SelectOption
(
tp
,
#
g1
>
0
,{
m
,
1
},
#
g2
>
0
,{
m
,
2
})
local
g
=
Group
.
CreateGroup
()
local
g
=
Group
.
CreateGroup
()
if
op
==
1
then
g
:
Merge
(
g1
)
if
op
==
1
then
g
:
Merge
(
g1
)
else
else
...
...
expansions/script/c33700939.lua
View file @
5f492c4c
...
@@ -51,7 +51,7 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -51,7 +51,7 @@ function cm.op2(e,tp,eg,ep,ev,re,r,rp,chk)
local
g1
=
rg
:
Filter
(
Card
.
IsAbleToHand
,
nil
)
local
g1
=
rg
:
Filter
(
Card
.
IsAbleToHand
,
nil
)
local
g2
=
g1
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x442
)
local
g2
=
g1
:
Filter
(
Card
.
IsSetCard
,
nil
,
0x442
)
if
#
g1
<=
0
and
#
g2
<=
0
then
return
end
if
#
g1
<=
0
and
#
g2
<=
0
then
return
end
local
op
=
rs
of
.
SelectOption
(
tp
,
true
,
aux
.
Stringid
(
m
,
1
),
#
g1
>
0
,
aux
.
Stringid
(
m
,
2
),
#
g2
>
0
,
aux
.
Stringid
(
m
,
3
))
local
op
=
rs
hint
.
SelectOption
(
tp
,
true
,
aux
.
Stringid
(
m
,
1
),
#
g1
>
0
,
aux
.
Stringid
(
m
,
2
),
#
g2
>
0
,
aux
.
Stringid
(
m
,
3
))
local
g
=
nil
local
g
=
nil
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
if
op
==
2
then
if
op
==
2
then
...
...
expansions/script/c33700945.lua
View file @
5f492c4c
...
@@ -35,7 +35,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +35,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local
b2
=
g
:
FilterCount
(
f
,
nil
,
TYPE_MONSTER
)
==#
g
and
#
g
>=
3
local
b2
=
g
:
FilterCount
(
f
,
nil
,
TYPE_MONSTER
)
==#
g
and
#
g
>=
3
local
b3
=
b2
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
#
g
)
and
#
g
>=
4
local
b3
=
b2
and
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
#
g
)
and
#
g
>=
4
if
not
b1
and
not
b2
and
not
b3
then
return
end
if
not
b1
and
not
b2
and
not
b3
then
return
end
local
op
=
rs
of
.
SelectOption
(
tp
,
b1
,{
m
,
0
},
b2
,{
m
,
1
},
b3
,{
m
,
2
})
local
op
=
rs
hint
.
SelectOption
(
tp
,
b1
,{
m
,
0
},
b2
,{
m
,
1
},
b3
,{
m
,
2
})
if
op
>=
1
then
if
op
>=
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg1
=
g
:
FilterSelect
(
tp
,
f
,
1
,
1
,
nil
)
local
tg1
=
g
:
FilterSelect
(
tp
,
f
,
1
,
1
,
nil
)
...
...
expansions/script/c88946426.lua
View file @
5f492c4c
...
@@ -35,7 +35,7 @@ function cm.thop(e,tp)
...
@@ -35,7 +35,7 @@ function cm.thop(e,tp)
if
not
tc
then
return
end
if
not
tc
then
return
end
local
b1
=
cm
.
b1
(
tc
)
local
b1
=
cm
.
b1
(
tc
)
local
b2
=
cm
.
b2
(
tc
)
local
b2
=
cm
.
b2
(
tc
)
local
op
=
rs
of
.
SelectOption
(
tp
,
b1
,{
m
,
0
},
b2
,{
m
,
1
},
true
)
local
op
=
rs
hint
.
SelectOption
(
tp
,
b1
,{
m
,
0
},
b2
,{
m
,
1
},
true
)
if
op
==
1
then
if
op
==
1
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
...
...
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