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
b866daf7
Commit
b866daf7
authored
Nov 03, 2015
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove setccode 0x100
parent
04f56ac9
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
23 additions
and
2 deletions
+23
-2
c18013090.lua
c18013090.lua
+1
-0
c20932152.lua
c20932152.lua
+1
-1
c2322421.lua
c2322421.lua
+1
-0
c25148255.lua
c25148255.lua
+1
-1
c286392.lua
c286392.lua
+1
-0
c3429238.lua
c3429238.lua
+1
-0
c37993923.lua
c37993923.lua
+1
-0
c42810973.lua
c42810973.lua
+1
-0
c45037489.lua
c45037489.lua
+1
-0
c46195773.lua
c46195773.lua
+1
-0
c59771339.lua
c59771339.lua
+1
-0
c60800381.lua
c60800381.lua
+1
-0
c74860293.lua
c74860293.lua
+1
-0
utility.lua
utility.lua
+10
-0
No files found.
c18013090.lua
View file @
b866daf7
...
@@ -30,6 +30,7 @@ function c18013090.initial_effect(c)
...
@@ -30,6 +30,7 @@ function c18013090.initial_effect(c)
e3
:
SetOperation
(
c18013090
.
caop
)
e3
:
SetOperation
(
c18013090
.
caop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c18013090
.
material_setcode
=
0x17
function
c18013090
.
tfilter
(
c
)
function
c18013090
.
tfilter
(
c
)
return
c
:
IsCode
(
96182448
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
96182448
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c20932152.lua
View file @
b866daf7
...
@@ -25,7 +25,7 @@ function c20932152.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c20932152.initial_effect(c)
end
end
function
c20932152
.
synlimit
(
e
,
c
)
function
c20932152
.
synlimit
(
e
,
c
)
if
not
c
then
return
false
end
if
not
c
then
return
false
end
return
not
c
:
IsSetCard
(
0x100
)
return
not
aux
.
IsMaterialListSetCard
(
c
,
0x17
)
end
end
function
c20932152
.
spfilter
(
c
)
function
c20932152
.
spfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToGraveAsCost
()
...
...
c2322421.lua
View file @
b866daf7
...
@@ -14,6 +14,7 @@ function c2322421.initial_effect(c)
...
@@ -14,6 +14,7 @@ function c2322421.initial_effect(c)
e1
:
SetOperation
(
c2322421
.
op
)
e1
:
SetOperation
(
c2322421
.
op
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c2322421
.
material_setcode
=
0x17
function
c2322421
.
tfilter
(
c
)
function
c2322421
.
tfilter
(
c
)
return
c
:
IsCode
(
71971554
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
71971554
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c25148255.lua
View file @
b866daf7
...
@@ -29,7 +29,7 @@ function c25148255.mfilter(c,e,tp,mc)
...
@@ -29,7 +29,7 @@ function c25148255.mfilter(c,e,tp,mc)
and
Duel
.
IsExistingMatchingCard
(
c25148255
.
scfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
mg
)
and
Duel
.
IsExistingMatchingCard
(
c25148255
.
scfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
mg
)
end
end
function
c25148255
.
scfilter
(
c
,
mg
)
function
c25148255
.
scfilter
(
c
,
mg
)
return
c
:
IsSetCard
(
0x100
)
and
c
:
IsSynchroSummonable
(
nil
,
mg
)
return
aux
.
IsMaterialListSetCard
(
c
,
0x17
)
and
c
:
IsSynchroSummonable
(
nil
,
mg
)
end
end
function
c25148255
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
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
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 @
b866daf7
...
@@ -25,6 +25,7 @@ function c286392.initial_effect(c)
...
@@ -25,6 +25,7 @@ function c286392.initial_effect(c)
e2
:
SetOperation
(
c286392
.
spop
)
e2
:
SetOperation
(
c286392
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c286392
.
material_setcode
=
0x17
function
c286392
.
tfilter
(
c
)
function
c286392
.
tfilter
(
c
)
return
c
:
IsCode
(
9742784
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
9742784
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c3429238.lua
View file @
b866daf7
...
@@ -35,6 +35,7 @@ function c3429238.initial_effect(c)
...
@@ -35,6 +35,7 @@ function c3429238.initial_effect(c)
e3
:
SetOperation
(
c3429238
.
spop
)
e3
:
SetOperation
(
c3429238
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
c3429238
.
material_setcode
=
0x17
function
c3429238
.
tfilter
(
c
)
function
c3429238
.
tfilter
(
c
)
return
c
:
IsCode
(
56286179
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
56286179
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c37993923.lua
View file @
b866daf7
...
@@ -27,6 +27,7 @@ function c37993923.initial_effect(c)
...
@@ -27,6 +27,7 @@ function c37993923.initial_effect(c)
e2
:
SetOperation
(
c37993923
.
operation
)
e2
:
SetOperation
(
c37993923
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c37993923
.
material_setcode
=
0x17
function
c37993923
.
tfilter
(
c
)
function
c37993923
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c42810973.lua
View file @
b866daf7
...
@@ -15,6 +15,7 @@ function c42810973.initial_effect(c)
...
@@ -15,6 +15,7 @@ function c42810973.initial_effect(c)
e1
:
SetOperation
(
c42810973
.
operation
)
e1
:
SetOperation
(
c42810973
.
operation
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c42810973
.
material_setcode
=
0x17
function
c42810973
.
tfilter
(
c
)
function
c42810973
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c45037489.lua
View file @
b866daf7
...
@@ -17,6 +17,7 @@ function c45037489.initial_effect(c)
...
@@ -17,6 +17,7 @@ function c45037489.initial_effect(c)
e1
:
SetOperation
(
c45037489
.
disop
)
e1
:
SetOperation
(
c45037489
.
disop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c45037489
.
material_setcode
=
0x17
function
c45037489
.
tfilter
(
c
)
function
c45037489
.
tfilter
(
c
)
return
c
:
IsCode
(
19642774
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
19642774
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c46195773.lua
View file @
b866daf7
...
@@ -21,6 +21,7 @@ function c46195773.initial_effect(c)
...
@@ -21,6 +21,7 @@ function c46195773.initial_effect(c)
e2
:
SetValue
(
c46195773
.
efilter
)
e2
:
SetValue
(
c46195773
.
efilter
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c46195773
.
material_setcode
=
0x17
function
c46195773
.
tfilter
(
c
)
function
c46195773
.
tfilter
(
c
)
return
c
:
IsCode
(
67270095
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
67270095
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c59771339.lua
View file @
b866daf7
...
@@ -25,6 +25,7 @@ function c59771339.initial_effect(c)
...
@@ -25,6 +25,7 @@ function c59771339.initial_effect(c)
e2
:
SetOperation
(
c59771339
.
desop
)
e2
:
SetOperation
(
c59771339
.
desop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
c59771339
.
material_setcode
=
0x17
function
c59771339
.
tfilter
(
c
)
function
c59771339
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c60800381.lua
View file @
b866daf7
...
@@ -13,6 +13,7 @@ function c60800381.initial_effect(c)
...
@@ -13,6 +13,7 @@ function c60800381.initial_effect(c)
e1
:
SetOperation
(
c60800381
.
op
)
e1
:
SetOperation
(
c60800381
.
op
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c60800381
.
material_setcode
=
0x17
function
c60800381
.
tfilter
(
c
)
function
c60800381
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
c74860293.lua
View file @
b866daf7
...
@@ -15,6 +15,7 @@ function c74860293.initial_effect(c)
...
@@ -15,6 +15,7 @@ function c74860293.initial_effect(c)
e1
:
SetOperation
(
c74860293
.
op
)
e1
:
SetOperation
(
c74860293
.
op
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
c74860293
.
material_setcode
=
0x17
function
c74860293
.
tfilter
(
c
)
function
c74860293
.
tfilter
(
c
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
end
...
...
utility.lua
View file @
b866daf7
...
@@ -1185,6 +1185,16 @@ function Auxiliary.PendOperation()
...
@@ -1185,6 +1185,16 @@ function Auxiliary.PendOperation()
Duel
.
HintSelection
(
Group
.
FromCards
(
rpz
))
Duel
.
HintSelection
(
Group
.
FromCards
(
rpz
))
end
end
end
end
function
Auxiliary
.
IsMaterialListCode
(
c
,
code
)
if
not
c
.
material_count
then
return
false
end
for
i
=
1
,
c
.
material_count
do
if
code
==
c
.
material
[
i
]
then
return
true
end
end
return
false
end
function
Auxiliary
.
IsMaterialListSetCard
(
c
,
setcode
)
return
c
.
material_setcode
and
c
.
material_setcode
==
setcode
end
--card effect disable filter(target)
--card effect disable filter(target)
function
Auxiliary
.
disfilter1
(
c
)
function
Auxiliary
.
disfilter1
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsDisabled
()
and
(
not
c
:
IsType
(
TYPE_NORMAL
)
or
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_EFFECT
)
~=
0
)
return
c
:
IsFaceup
()
and
not
c
:
IsDisabled
()
and
(
not
c
:
IsType
(
TYPE_NORMAL
)
or
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_EFFECT
)
~=
0
)
...
...
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