Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
八宫一月
ygopro-scripts
Commits
c9f06c60
Commit
c9f06c60
authored
Nov 18, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
32fb492e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
c1295111.lua
c1295111.lua
+5
-4
No files found.
c1295111.lua
View file @
c9f06c60
...
...
@@ -37,19 +37,20 @@ function c1295111.initial_effect(c)
e4
:
SetOperation
(
c1295111
.
atkop
)
c
:
RegisterEffect
(
e4
)
end
function
c1295111
.
lmfilter
(
c
,
lc
)
function
c1295111
.
lmfilter
(
c
,
lc
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsCanBeLinkMaterial
(
lc
)
and
c
:
IsCode
(
lc
:
GetCode
())
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
)
>
0
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_LMATERIAL
)
end
function
c1295111
.
linkcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c1295111
.
lmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
)
return
Duel
.
IsExistingMatchingCard
(
c1295111
.
lmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
c
,
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
1295111
)
==
0
end
function
c1295111
.
linkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
SelectMatchingCard
(
tp
,
c1295111
.
lmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
)
local
mg
=
Duel
.
SelectMatchingCard
(
tp
,
c1295111
.
lmfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
c
,
tp
)
c
:
SetMaterial
(
mg
)
Duel
.
SendtoGrave
(
mg
,
REASON_LINK
)
Duel
.
SendtoGrave
(
mg
,
REASON_
MATERIAL
+
REASON_
LINK
)
Duel
.
RegisterFlagEffect
(
tp
,
1295111
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c1295111
.
mattg
(
e
,
c
)
...
...
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