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
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
MyCard
ygopro-scripts
Commits
4461ada9
Commit
4461ada9
authored
Nov 20, 2017
by
nanahira
Committed by
mercury233
Nov 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Contact Out (#970)
parent
4af19647
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
c69270537.lua
c69270537.lua
+9
-1
No files found.
c69270537.lua
View file @
4461ada9
...
...
@@ -23,15 +23,23 @@ end
function
c69270537
.
spfilter
(
c
,
e
,
tp
,
fc
)
return
fc
.
material
and
c
:
IsCode
(
table.unpack
(
fc
.
material
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c69270537
.
fcheck
(
sp
)
return
function
(
tp
,
g
,
c
)
local
ct
=
g
:
GetCount
()
return
Duel
.
GetMZoneCount
(
sp
)
>=
g
:
GetCount
()
and
not
(
ct
>
1
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
))
end
end
function
c69270537
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
then
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
then
aux
.
FCheckAdditional
=
c69270537
.
fcheck
(
tp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c69270537
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
,
tc
)
if
tc
:
CheckFusionMaterial
(
sg
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
69270537
,
0
))
then
Duel
.
BreakEffect
()
local
mats
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
sg
)
Duel
.
SpecialSummon
(
mats
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
aux
.
FCheckAdditional
=
nil
end
end
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