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
12041f67
Commit
12041f67
authored
Jul 05, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
45cfc6b3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
2 deletions
+42
-2
c16172067.lua
c16172067.lua
+6
-0
c21142671.lua
c21142671.lua
+1
-2
c52352005.lua
c52352005.lua
+17
-0
c62242678.lua
c62242678.lua
+6
-0
c93157004.lua
c93157004.lua
+6
-0
c97489701.lua
c97489701.lua
+6
-0
No files found.
c16172067.lua
View file @
12041f67
...
@@ -40,6 +40,12 @@ function c16172067.initial_effect(c)
...
@@ -40,6 +40,12 @@ function c16172067.initial_effect(c)
e3
:
SetTarget
(
c16172067
.
distg
)
e3
:
SetTarget
(
c16172067
.
distg
)
e3
:
SetOperation
(
c16172067
.
disop
)
e3
:
SetOperation
(
c16172067
.
disop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--double tuner
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetCode
(
21142671
)
c
:
RegisterEffect
(
e4
)
end
end
function
c16172067
.
matfilter1
(
c
,
syncard
)
function
c16172067
.
matfilter1
(
c
,
syncard
)
return
c
:
IsType
(
TYPE_TUNER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
return
c
:
IsType
(
TYPE_TUNER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
...
...
c21142671.lua
View file @
12041f67
...
@@ -32,8 +32,7 @@ function c21142671.spcon(e,c)
...
@@ -32,8 +32,7 @@ function c21142671.spcon(e,c)
end
end
function
c21142671
.
spdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c21142671
.
spdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
sync
=
c
:
GetReasonCard
():
GetMaterial
()
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_SYNCHRO
and
c
:
GetReasonCard
():
IsHasEffect
(
21142671
)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_SYNCHRO
and
sync
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
end
end
function
c21142671
.
filter
(
c
,
e
,
tp
)
function
c21142671
.
filter
(
c
,
e
,
tp
)
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_FIEND
)
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_FIEND
)
...
...
c52352005.lua
View file @
12041f67
...
@@ -13,6 +13,23 @@ function c52352005.initial_effect(c)
...
@@ -13,6 +13,23 @@ function c52352005.initial_effect(c)
e1
:
SetTarget
(
c52352005
.
target
)
e1
:
SetTarget
(
c52352005
.
target
)
e1
:
SetOperation
(
c52352005
.
operation
)
e1
:
SetOperation
(
c52352005
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--double tuner check
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e2
:
SetValue
(
c52352005
.
valcheck
)
c
:
RegisterEffect
(
e2
)
end
function
c52352005
.
valcheck
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
if
g
:
IsExists
(
Card
.
IsType
,
2
,
nil
,
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
21142671
)
e1
:
SetReset
(
RESET_EVENT
+
0xfe0000
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
end
function
c52352005
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c52352005
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x100d
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
Card
.
IsSetCard
,
1
,
nil
,
0x100d
)
end
...
...
c62242678.lua
View file @
12041f67
...
@@ -42,6 +42,12 @@ function c62242678.initial_effect(c)
...
@@ -42,6 +42,12 @@ function c62242678.initial_effect(c)
e4
:
SetTarget
(
c62242678
.
sptg
)
e4
:
SetTarget
(
c62242678
.
sptg
)
e4
:
SetOperation
(
c62242678
.
spop
)
e4
:
SetOperation
(
c62242678
.
spop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--double tuner
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e5
:
SetCode
(
21142671
)
c
:
RegisterEffect
(
e5
)
end
end
function
c62242678
.
matfilter1
(
c
,
syncard
)
function
c62242678
.
matfilter1
(
c
,
syncard
)
return
c
:
IsType
(
TYPE_TUNER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
return
c
:
IsType
(
TYPE_TUNER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
...
...
c93157004.lua
View file @
12041f67
...
@@ -44,6 +44,12 @@ function c93157004.initial_effect(c)
...
@@ -44,6 +44,12 @@ function c93157004.initial_effect(c)
e4
:
SetTarget
(
c93157004
.
distg
)
e4
:
SetTarget
(
c93157004
.
distg
)
e4
:
SetOperation
(
c93157004
.
disop
)
e4
:
SetOperation
(
c93157004
.
disop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--double tuner
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
)
e5
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e5
:
SetCode
(
21142671
)
c
:
RegisterEffect
(
e5
)
end
end
function
c93157004
.
matfilter1
(
c
,
syncard
)
function
c93157004
.
matfilter1
(
c
,
syncard
)
return
c
:
IsType
(
TYPE_TUNER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
return
c
:
IsType
(
TYPE_TUNER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
...
...
c97489701.lua
View file @
12041f67
...
@@ -51,6 +51,12 @@ function c97489701.initial_effect(c)
...
@@ -51,6 +51,12 @@ function c97489701.initial_effect(c)
e5
:
SetTarget
(
c97489701
.
sptg
)
e5
:
SetTarget
(
c97489701
.
sptg
)
e5
:
SetOperation
(
c97489701
.
spop
)
e5
:
SetOperation
(
c97489701
.
spop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
--double tuner
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_SINGLE
)
e6
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e6
:
SetCode
(
21142671
)
c
:
RegisterEffect
(
e6
)
end
end
function
c97489701
.
matfilter1
(
c
,
syncard
)
function
c97489701
.
matfilter1
(
c
,
syncard
)
return
c
:
IsType
(
TYPE_TUNER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
return
c
:
IsType
(
TYPE_TUNER
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsCanBeSynchroMaterial
(
syncard
)
...
...
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