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
9af4caa9
Commit
9af4caa9
authored
Nov 15, 2015
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1e313802
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
c16825874.lua
c16825874.lua
+6
-0
c77783947.lua
c77783947.lua
+16
-1
No files found.
c16825874.lua
View file @
9af4caa9
...
...
@@ -17,6 +17,12 @@ function c16825874.initial_effect(c)
e2
:
SetCondition
(
c16825874
.
ccon
)
e2
:
SetOperation
(
c16825874
.
cop
)
c
:
RegisterEffect
(
e2
)
--hand synchro for double tuner
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
55863245
)
c
:
RegisterEffect
(
e3
)
end
c16825874
.
tuner_filter
=
aux
.
FALSE
function
c16825874
.
filter
(
c
,
syncard
,
tuner
,
f
,
lv
)
...
...
c77783947.lua
View file @
9af4caa9
...
...
@@ -41,7 +41,10 @@ function c77783947.sccon(e,tp,eg,ep,ev,re,r,rp)
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_BATTLE
or
ph
==
PHASE_MAIN2
end
function
c77783947
.
mfilter
(
c
)
return
c
:
IsSetCard
(
0x9e
)
return
c
:
IsSetCard
(
0x9e
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c77783947
.
mfilter2
(
c
)
return
c
:
IsHasEffect
(
55863245
)
end
function
c77783947
.
cfilter
(
c
,
syn
)
return
syn
:
IsSynchroSummonable
(
c
)
...
...
@@ -56,12 +59,24 @@ end
function
c77783947
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
mg
=
Duel
.
GetMatchingGroup
(
c77783947
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
exg
=
Duel
.
GetMatchingGroup
(
c77783947
.
mfilter2
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
exg
:
GetCount
()
>
0
then
local
mg2
=
Duel
.
GetMatchingGroup
(
c77783947
.
mfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
)
mg
:
Merge
(
exg
)
mg
:
Merge
(
mg2
)
end
return
Duel
.
IsExistingMatchingCard
(
c77783947
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
mg
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c77783947
.
scop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
mg
=
Duel
.
GetMatchingGroup
(
c77783947
.
mfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
exg
=
Duel
.
GetMatchingGroup
(
c77783947
.
mfilter2
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
if
exg
:
GetCount
()
>
0
then
local
mg2
=
Duel
.
GetMatchingGroup
(
c77783947
.
mfilter
,
tp
,
LOCATION_HAND
,
0
,
nil
)
mg
:
Merge
(
exg
)
mg
:
Merge
(
mg2
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c77783947
.
spfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
mg
)
if
g
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
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