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
efda4544
Commit
efda4544
authored
Jun 07, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nmbd
parent
c42d7536
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
expansions/script/c1110141.lua
expansions/script/c1110141.lua
+2
-2
expansions/script/c1110142.lua
expansions/script/c1110142.lua
+2
-2
expansions/script/c81002013.lua
expansions/script/c81002013.lua
+1
-1
No files found.
expansions/script/c1110141.lua
View file @
efda4544
...
@@ -47,9 +47,9 @@ end
...
@@ -47,9 +47,9 @@ end
function
c1110141
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1110141
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c1110141
.
tfilter1
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c1110141
.
tfilter1
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
Duel
.
IsExistingTarget
(
c1110141
.
tfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
(
Duel
.
IsExistingTarget
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8100
5086
)))
end
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
Duel
.
IsExistingTarget
(
c1110141
.
tfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
(
Duel
.
IsExistingTarget
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8100
2013
)))
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8100
5086
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8100
2013
)
then
local
sg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
sg
,
1
,
0
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
sg
,
1
,
0
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
LOCATION_PZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
LOCATION_PZONE
)
...
...
expansions/script/c1110142.lua
View file @
efda4544
...
@@ -47,9 +47,9 @@ end
...
@@ -47,9 +47,9 @@ end
function
c1110142
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1110142
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c1110142
.
tfilter1
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c1110142
.
tfilter1
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
Duel
.
IsExistingTarget
(
c1110142
.
tfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
(
Duel
.
IsExistingTarget
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8100
5086
)))
end
if
chk
==
0
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
Duel
.
IsExistingTarget
(
c1110142
.
tfilter1
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
(
Duel
.
IsExistingTarget
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8100
2013
)))
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8100
5086
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
8100
2013
)
then
local
sg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
sg
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
sg
,
1
,
0
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RELEASE
,
sg
,
1
,
0
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
LOCATION_PZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
LOCATION_PZONE
)
...
...
expansions/script/c81002013.lua
View file @
efda4544
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
...
@@ -20,7 +20,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
8100
5086
)
e1
:
SetCode
(
8100
2013
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
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