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
2d34abba
Commit
2d34abba
authored
Dec 23, 2016
by
mercury233
Committed by
DailyShana
Dec 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update setcode
0x17 -> 0x1017
parent
005ed049
Changes
20
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
23 additions
and
23 deletions
+23
-23
c1003840.lua
c1003840.lua
+1
-1
c18013090.lua
c18013090.lua
+1
-1
c20932152.lua
c20932152.lua
+1
-1
c2322421.lua
c2322421.lua
+1
-1
c25148255.lua
c25148255.lua
+1
-1
c286392.lua
c286392.lua
+1
-1
c3429238.lua
c3429238.lua
+1
-1
c36643046.lua
c36643046.lua
+1
-1
c36736723.lua
c36736723.lua
+1
-1
c37675907.lua
c37675907.lua
+1
-1
c37993923.lua
c37993923.lua
+1
-1
c42810973.lua
c42810973.lua
+1
-1
c44236692.lua
c44236692.lua
+1
-1
c45037489.lua
c45037489.lua
+1
-1
c46195773.lua
c46195773.lua
+1
-1
c59771339.lua
c59771339.lua
+1
-1
c60800381.lua
c60800381.lua
+1
-1
c62125438.lua
c62125438.lua
+4
-4
c74860293.lua
c74860293.lua
+1
-1
c96363153.lua
c96363153.lua
+1
-1
No files found.
c1003840.lua
View file @
2d34abba
...
...
@@ -35,7 +35,7 @@ function c1003840.cfilter(c,e,tp)
and
Duel
.
IsExistingMatchingCard
(
c1003840
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
lv
)
end
function
c1003840
.
spfilter
(
c
,
e
,
tp
,
lv
)
return
c
:
IsSetCard
(
0x17
)
and
c
:
GetLevel
()
~=
lv
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
7
)
and
c
:
GetLevel
()
~=
lv
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c1003840
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c1003840
.
cfilter
,
1
,
nil
,
e
,
tp
)
end
...
...
c18013090.lua
View file @
2d34abba
...
...
@@ -22,7 +22,7 @@ function c18013090.initial_effect(c)
e3
:
SetOperation
(
c18013090
.
caop
)
c
:
RegisterEffect
(
e3
)
end
c18013090
.
material_setcode
=
0x17
c18013090
.
material_setcode
=
0x1
01
7
function
c18013090
.
tfilter
(
c
)
return
c
:
IsCode
(
96182448
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c20932152.lua
View file @
2d34abba
...
...
@@ -25,7 +25,7 @@ function c20932152.initial_effect(c)
end
function
c20932152
.
synlimit
(
e
,
c
)
if
not
c
then
return
false
end
return
not
aux
.
IsMaterialListSetCard
(
c
,
0x17
)
return
not
aux
.
IsMaterialListSetCard
(
c
,
0x1
01
7
)
end
function
c20932152
.
spfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
...
...
c2322421.lua
View file @
2d34abba
...
...
@@ -14,7 +14,7 @@ function c2322421.initial_effect(c)
e1
:
SetOperation
(
c2322421
.
op
)
c
:
RegisterEffect
(
e1
)
end
c2322421
.
material_setcode
=
0x17
c2322421
.
material_setcode
=
0x1
01
7
function
c2322421
.
tfilter
(
c
)
return
c
:
IsCode
(
71971554
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c25148255.lua
View file @
2d34abba
...
...
@@ -29,7 +29,7 @@ function c25148255.mfilter(c,e,tp,mc)
and
Duel
.
IsExistingMatchingCard
(
c25148255
.
scfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
mg
)
end
function
c25148255
.
scfilter
(
c
,
mg
)
return
aux
.
IsMaterialListSetCard
(
c
,
0x17
)
and
c
:
IsSynchroSummonable
(
nil
,
mg
)
return
aux
.
IsMaterialListSetCard
(
c
,
0x1
01
7
)
and
c
:
IsSynchroSummonable
(
nil
,
mg
)
end
function
c25148255
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c25148255
.
mfilter
(
chkc
,
e
,
tp
,
e
:
GetHandler
())
end
...
...
c286392.lua
View file @
2d34abba
...
...
@@ -25,7 +25,7 @@ function c286392.initial_effect(c)
e2
:
SetOperation
(
c286392
.
spop
)
c
:
RegisterEffect
(
e2
)
end
c286392
.
material_setcode
=
0x17
c286392
.
material_setcode
=
0x1
01
7
function
c286392
.
tfilter
(
c
)
return
c
:
IsCode
(
9742784
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c3429238.lua
View file @
2d34abba
...
...
@@ -35,7 +35,7 @@ function c3429238.initial_effect(c)
e3
:
SetOperation
(
c3429238
.
spop
)
c
:
RegisterEffect
(
e3
)
end
c3429238
.
material_setcode
=
0x17
c3429238
.
material_setcode
=
0x1
01
7
function
c3429238
.
tfilter
(
c
)
return
c
:
IsCode
(
56286179
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c36643046.lua
View file @
2d34abba
...
...
@@ -12,7 +12,7 @@ function c36643046.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c36643046
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x17
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
7
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c36643046
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c36643046
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c36736723.lua
View file @
2d34abba
...
...
@@ -51,7 +51,7 @@ function c36736723.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
function
c36736723
.
filter
(
c
)
return
c
:
IsSetCard
(
0x17
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
7
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
c36736723
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c36736723
.
filter
(
chkc
)
end
...
...
c37675907.lua
View file @
2d34abba
...
...
@@ -51,7 +51,7 @@ function c37675907.splimit(e,c,sump,sumtype,sumpos,targetp,se)
return
c
:
IsCode
(
37675907
)
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_SYNCHRO
)
==
SUMMON_TYPE_SYNCHRO
end
function
c37675907
.
filter
(
c
)
return
c
:
GetLevel
()
>
0
and
c
:
IsSetCard
(
0x17
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
GetLevel
()
>
0
and
c
:
IsSetCard
(
0x1
01
7
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c37675907
.
tgcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c37675907
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c37993923.lua
View file @
2d34abba
...
...
@@ -27,7 +27,7 @@ function c37993923.initial_effect(c)
e2
:
SetOperation
(
c37993923
.
operation
)
c
:
RegisterEffect
(
e2
)
end
c37993923
.
material_setcode
=
0x17
c37993923
.
material_setcode
=
0x1
01
7
function
c37993923
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c42810973.lua
View file @
2d34abba
...
...
@@ -15,7 +15,7 @@ function c42810973.initial_effect(c)
e1
:
SetOperation
(
c42810973
.
operation
)
c
:
RegisterEffect
(
e1
)
end
c42810973
.
material_setcode
=
0x17
c42810973
.
material_setcode
=
0x1
01
7
function
c42810973
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c44236692.lua
View file @
2d34abba
...
...
@@ -17,7 +17,7 @@ function c44236692.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
function
c44236692
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x17
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1
01
7
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c44236692
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c44236692
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c45037489.lua
View file @
2d34abba
...
...
@@ -17,7 +17,7 @@ function c45037489.initial_effect(c)
e1
:
SetOperation
(
c45037489
.
disop
)
c
:
RegisterEffect
(
e1
)
end
c45037489
.
material_setcode
=
0x17
c45037489
.
material_setcode
=
0x1
01
7
function
c45037489
.
tfilter
(
c
)
return
c
:
IsCode
(
19642774
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c46195773.lua
View file @
2d34abba
...
...
@@ -21,7 +21,7 @@ function c46195773.initial_effect(c)
e2
:
SetValue
(
c46195773
.
efilter
)
c
:
RegisterEffect
(
e2
)
end
c46195773
.
material_setcode
=
0x17
c46195773
.
material_setcode
=
0x1
01
7
function
c46195773
.
tfilter
(
c
)
return
c
:
IsCode
(
67270095
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c59771339.lua
View file @
2d34abba
...
...
@@ -25,7 +25,7 @@ function c59771339.initial_effect(c)
e2
:
SetOperation
(
c59771339
.
desop
)
c
:
RegisterEffect
(
e2
)
end
c59771339
.
material_setcode
=
0x17
c59771339
.
material_setcode
=
0x1
01
7
function
c59771339
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c60800381.lua
View file @
2d34abba
...
...
@@ -13,7 +13,7 @@ function c60800381.initial_effect(c)
e1
:
SetOperation
(
c60800381
.
op
)
c
:
RegisterEffect
(
e1
)
end
c60800381
.
material_setcode
=
0x17
c60800381
.
material_setcode
=
0x1
01
7
function
c60800381
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c62125438.lua
View file @
2d34abba
...
...
@@ -6,7 +6,7 @@ function c62125438.initial_effect(c)
e1
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x17
))
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x1
01
7
))
c
:
RegisterEffect
(
e1
)
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -22,20 +22,20 @@ function c62125438.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c62125438
.
filter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x17
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
return
c
:
IsSetCard
(
0x1
01
7
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
end
function
c62125438
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c62125438
.
filter
,
1
,
nil
,
tp
)
and
r
==
REASON_SYNCHRO
and
re
:
GetHandler
():
IsRace
(
RACE_WARRIOR
+
RACE_MACHINE
)
end
function
c62125438
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
62125439
,
0x17
,
0x4011
,
1000
,
0
,
2
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
62125439
,
0x1
01
7
,
0x4011
,
1000
,
0
,
2
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
c62125438
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
62125439
,
0x17
,
0x4011
,
1000
,
0
,
2
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
or
not
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
62125439
,
0x1
01
7
,
0x4011
,
1000
,
0
,
2
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
then
return
end
local
token
=
Duel
.
CreateToken
(
tp
,
62125439
)
Duel
.
SpecialSummon
(
token
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
c74860293.lua
View file @
2d34abba
...
...
@@ -15,7 +15,7 @@ function c74860293.initial_effect(c)
e1
:
SetOperation
(
c74860293
.
op
)
c
:
RegisterEffect
(
e1
)
end
c74860293
.
material_setcode
=
0x17
c74860293
.
material_setcode
=
0x1
01
7
function
c74860293
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
...
...
c96363153.lua
View file @
2d34abba
...
...
@@ -10,7 +10,7 @@ function c96363153.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c96363153
.
filter
(
c
)
return
c
:
IsSetCard
(
0x17
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1
01
7
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToHand
()
end
function
c96363153
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
...
...
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