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
Reinen
ygopro-scripts
Commits
0b9c7ce8
Commit
0b9c7ce8
authored
Jun 14, 2020
by
mallu11
Committed by
GitHub
Jun 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 師弟の絆 (#1425)
parent
359d4052
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
c60709218.lua
c60709218.lua
+2
-3
No files found.
c60709218.lua
View file @
0b9c7ce8
...
...
@@ -16,7 +16,7 @@ function c60709218.cfilter(c)
return
c
:
IsCode
(
46986414
)
and
c
:
IsFaceup
()
end
function
c60709218
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c60709218
.
cfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c60709218
.
cfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
function
c60709218
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
38033121
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -36,8 +36,7 @@ function c60709218.activate(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
g
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
local
g2
=
Duel
.
GetMatchingGroup
(
c60709218
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g2
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60709218
,
0
))
then
if
g2
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
60709218
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
tc
=
g2
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
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