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
List
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
八宫一月
ygopro-scripts
Commits
b9229766
Commit
b9229766
authored
May 06, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d3c17ee3
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
23 deletions
+13
-23
c15574615.lua
c15574615.lua
+1
-1
c31076103.lua
c31076103.lua
+3
-6
c63120904.lua
c63120904.lua
+1
-2
c71411377.lua
c71411377.lua
+1
-2
c74875003.lua
c74875003.lua
+1
-1
c80033124.lua
c80033124.lua
+2
-4
c82734805.lua
c82734805.lua
+1
-1
c9264485.lua
c9264485.lua
+1
-2
c94212438.lua
c94212438.lua
+2
-4
No files found.
c15574615.lua
View file @
b9229766
...
@@ -24,7 +24,7 @@ function c15574615.initial_effect(c)
...
@@ -24,7 +24,7 @@ function c15574615.initial_effect(c)
end
end
function
c15574615
.
sprfilter
(
c
)
function
c15574615
.
sprfilter
(
c
)
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsAbleToGraveAsCost
()
return
(
c
:
IsLocation
(
LOCATION_HAND
)
or
c
:
IsFaceup
())
and
c
:
IsAbleToGraveAsCost
()
and
(
c
:
IsCode
(
80208158
)
or
c
:
IsCode
(
16796157
)
or
c
:
IsCode
(
43791861
)
or
c
:
IsCode
(
79185500
)
)
and
c
:
IsCode
(
80208158
,
16796157
,
43791861
,
79185500
)
end
end
function
c15574615
.
spcon
(
e
,
c
)
function
c15574615
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
c31076103.lua
View file @
b9229766
...
@@ -72,8 +72,7 @@ function c31076103.cfilter2(c,code)
...
@@ -72,8 +72,7 @@ function c31076103.cfilter2(c,code)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
code
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
code
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c31076103
.
cfilter3
(
c
)
function
c31076103
.
cfilter3
(
c
)
local
code
=
c
:
GetCode
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
31076103
,
4081094
,
78697395
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
(
code
==
31076103
or
code
==
4081094
or
code
==
78697395
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
c31076103
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c31076103
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
...
@@ -98,12 +97,10 @@ function c31076103.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -98,12 +97,10 @@ function c31076103.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c31076103
.
cfilter4
(
c
)
function
c31076103
.
cfilter4
(
c
)
local
code
=
c
:
GetCode
()
return
c
:
IsCode
(
31076103
,
4081094
,
78697395
)
return
code
==
31076103
or
code
==
4081094
or
code
==
78697395
end
end
function
c31076103
.
cfilter5
(
c
)
function
c31076103
.
cfilter5
(
c
)
local
code
=
c
:
GetCode
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
31076103
,
4081094
,
78697395
)
return
c
:
IsFaceup
()
and
(
code
==
31076103
or
code
==
4081094
or
code
==
78697395
)
end
end
function
c31076103
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31076103
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c31076103
.
cfilter4
,
1
,
nil
)
return
eg
:
IsExists
(
c31076103
.
cfilter4
,
1
,
nil
)
...
...
c63120904.lua
View file @
b9229766
...
@@ -12,8 +12,7 @@ function c63120904.initial_effect(c)
...
@@ -12,8 +12,7 @@ function c63120904.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c63120904
.
rfilter
(
c
)
function
c63120904
.
rfilter
(
c
)
local
code
=
c
:
GetCode
()
return
c
:
IsCode
(
90337190
,
95614612
)
return
code
==
90337190
or
code
==
95614612
end
end
function
c63120904
.
dfilter
(
c
)
function
c63120904
.
dfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDestructable
()
...
...
c71411377.lua
View file @
b9229766
...
@@ -11,6 +11,5 @@ function c71411377.initial_effect(c)
...
@@ -11,6 +11,5 @@ function c71411377.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c71411377
.
atlimit
(
e
,
c
)
function
c71411377
.
atlimit
(
e
,
c
)
local
code
=
c
:
GetCode
()
return
c
:
IsCode
(
87257460
,
23756165
,
50140163
)
return
code
==
87257460
or
code
==
23756165
or
code
==
50140163
end
end
c74875003.lua
View file @
b9229766
...
@@ -58,7 +58,7 @@ function c74875003.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function c74875003.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c74875003
.
sumval
(
e
,
c
)
function
c74875003
.
sumval
(
e
,
c
)
return
not
c
:
IsCode
(
10000000
)
and
not
c
:
IsCode
(
10000010
)
and
not
c
:
IsCode
(
10000020
)
return
not
c
:
IsCode
(
10000000
,
10000010
,
10000020
)
end
end
function
c74875003
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c74875003
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
se
:
GetHandler
():
IsCode
(
74875003
)
return
not
se
:
GetHandler
():
IsCode
(
74875003
)
...
...
c80033124.lua
View file @
b9229766
...
@@ -10,12 +10,10 @@ function c80033124.initial_effect(c)
...
@@ -10,12 +10,10 @@ function c80033124.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c80033124
.
ffilter0
(
c
)
function
c80033124
.
ffilter0
(
c
)
local
code
=
c
:
GetCode
()
return
c
:
IsCode
(
41230939
,
77625948
,
3019642
)
and
c
:
IsAbleToDeck
()
return
(
code
==
41230939
or
code
==
77625948
or
code
==
3019642
)
and
c
:
IsAbleToDeck
()
end
end
function
c80033124
.
ffilter
(
c
,
e
)
function
c80033124
.
ffilter
(
c
,
e
)
local
code
=
c
:
GetCode
()
return
c
:
IsCode
(
41230939
,
77625948
,
3019642
)
and
c
:
IsAbleToDeck
()
return
(
code
==
41230939
or
code
==
77625948
or
code
==
3019642
)
and
c
:
IsAbleToDeck
()
and
not
c
:
IsImmuneToEffect
(
e
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c80033124
.
spfilter
(
c
,
e
,
tp
)
function
c80033124
.
spfilter
(
c
,
e
,
tp
)
...
...
c82734805.lua
View file @
b9229766
...
@@ -97,7 +97,7 @@ function c82734805.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -97,7 +97,7 @@ function c82734805.op(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c82734805
.
fcfilter1
(
c
,
code1
,
code2
,
g
)
function
c82734805
.
fcfilter1
(
c
,
code1
,
code2
,
g
)
return
(
c
:
IsFusionCode
(
code1
)
or
c
:
IsFusionCode
(
code2
)
)
and
g
:
IsExists
(
Card
.
IsFusionSetCard
,
1
,
c
,
0xbb
)
return
c
:
IsFusionCode
(
code1
,
code2
)
and
g
:
IsExists
(
Card
.
IsFusionSetCard
,
1
,
c
,
0xbb
)
end
end
function
c82734805
.
fcfilter2
(
c
,
code
,
g
)
function
c82734805
.
fcfilter2
(
c
,
code
,
g
)
return
(
c
:
IsFusionCode
(
code
)
or
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
))
and
g
:
IsExists
(
Card
.
IsFusionSetCard
,
1
,
c
,
0xbb
)
return
(
c
:
IsFusionCode
(
code
)
or
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
))
and
g
:
IsExists
(
Card
.
IsFusionSetCard
,
1
,
c
,
0xbb
)
...
...
c9264485.lua
View file @
b9229766
...
@@ -11,6 +11,5 @@ function c9264485.initial_effect(c)
...
@@ -11,6 +11,5 @@ function c9264485.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c9264485
.
etarget
(
e
,
re
,
c
)
function
c9264485
.
etarget
(
e
,
re
,
c
)
local
code
=
c
:
GetCode
()
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
()
and
c
:
IsCode
(
75830094
,
11224103
,
48229808
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
()
and
(
code
==
75830094
or
code
==
11224103
or
code
==
48229808
)
end
end
c94212438.lua
View file @
b9229766
...
@@ -67,12 +67,10 @@ function c94212438.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,12 +67,10 @@ function c94212438.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c94212438
.
cfilter2
(
c
,
tp
)
function
c94212438
.
cfilter2
(
c
,
tp
)
local
code
=
c
:
GetCode
()
return
c
:
IsCode
(
94212438
,
31893528
,
67287533
,
94772232
,
30170981
)
and
c
:
IsControler
(
tp
)
return
(
code
==
94212438
or
code
==
31893528
or
code
==
67287533
or
code
==
94772232
or
code
==
30170981
)
and
c
:
IsControler
(
tp
)
end
end
function
c94212438
.
cfilter3
(
c
)
function
c94212438
.
cfilter3
(
c
)
local
code
=
c
:
GetCode
()
return
c
:
IsFaceup
()
and
c
:
IsCode
(
94212438
,
31893528
,
67287533
,
94772232
,
30170981
)
return
c
:
IsFaceup
()
and
(
code
==
94212438
or
code
==
31893528
or
code
==
67287533
or
code
==
94772232
or
code
==
30170981
)
end
end
function
c94212438
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94212438
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c94212438
.
cfilter2
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c94212438
.
cfilter2
,
1
,
nil
,
tp
)
...
...
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