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
c39725ce
Commit
c39725ce
authored
May 30, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c9b66dbe
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
11 deletions
+12
-11
c11270236.lua
c11270236.lua
+1
-1
c47826112.lua
c47826112.lua
+1
-1
c52085072.lua
c52085072.lua
+5
-4
c53183600.lua
c53183600.lua
+1
-1
c54297661.lua
c54297661.lua
+1
-1
c54913680.lua
c54913680.lua
+1
-1
c66607691.lua
c66607691.lua
+1
-1
c88619463.lua
c88619463.lua
+1
-1
No files found.
c11270236.lua
View file @
c39725ce
...
@@ -20,7 +20,7 @@ function c11270236.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c11270236.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--remove
--remove
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
49513164
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
11270236
,
0
))
e3
:
SetCategory
(
CATEGORY_REMOVE
)
e3
:
SetCategory
(
CATEGORY_REMOVE
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
...
...
c47826112.lua
View file @
c39725ce
...
@@ -21,7 +21,7 @@ function c47826112.initial_effect(c)
...
@@ -21,7 +21,7 @@ function c47826112.initial_effect(c)
e2
:
SetOperation
(
c47826112
.
thop
)
e2
:
SetOperation
(
c47826112
.
thop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c47826112
.
cfilter
(
c
)
function
c47826112
.
cfilter
(
c
,
tp
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
end
function
c47826112
.
mzfilter
(
c
,
tp
)
function
c47826112
.
mzfilter
(
c
,
tp
)
...
...
c52085072.lua
View file @
c39725ce
...
@@ -48,7 +48,7 @@ function c52085072.spcon(e,c)
...
@@ -48,7 +48,7 @@ function c52085072.spcon(e,c)
local
sg
=
Duel
.
GetMatchingGroup
(
c52085072
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
c52085072
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
local
ct
=-
ft
+
1
return
ft
>-
4
and
sg
:
GetCount
()
>
3
and
(
ft
>
0
or
sg
:
IsExists
(
c
93717133
.
mzfilter
,
ct
,
nil
,
tp
))
return
ft
>-
4
and
sg
:
GetCount
()
>
3
and
(
ft
>
0
or
sg
:
IsExists
(
c
52085072
.
mzfilter
,
ct
,
nil
,
tp
))
end
end
function
c52085072
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c52085072
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
sg
=
Duel
.
GetMatchingGroup
(
c52085072
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
c52085072
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
@@ -58,16 +58,17 @@ function c52085072.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -58,16 +58,17 @@ function c52085072.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
g
=
sg
:
Select
(
tp
,
4
,
4
,
nil
)
g
=
sg
:
Select
(
tp
,
4
,
4
,
nil
)
elseif
ft
>-
3
then
elseif
ft
>-
3
then
local
ct
=-
ft
+
1
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
g
=
r
g
:
FilterSelect
(
tp
,
c52085072
.
mzfilter
,
ct
,
ct
,
nil
,
tp
)
g
=
s
g
:
FilterSelect
(
tp
,
c52085072
.
mzfilter
,
ct
,
ct
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g2
=
r
g
:
Select
(
tp
,
4
-
ct
,
4
-
ct
,
g
)
local
g2
=
s
g
:
Select
(
tp
,
4
-
ct
,
4
-
ct
,
g
)
g
:
Merge
(
g2
)
g
:
Merge
(
g2
)
else
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
g
=
sg
:
FilterSelect
(
tp
,
c52085072
.
mzfilter
,
4
,
4
,
nil
,
tp
)
g
=
sg
:
FilterSelect
(
tp
,
c52085072
.
mzfilter
,
4
,
4
,
nil
,
tp
)
end
end
Duel
.
Releas
e
(
g
,
REASON_COST
)
Duel
.
SendtoGrav
e
(
g
,
REASON_COST
)
end
end
function
c52085072
.
antarget
(
e
,
c
)
function
c52085072
.
antarget
(
e
,
c
)
return
c
~=
e
:
GetHandler
()
return
c
~=
e
:
GetHandler
()
...
...
c53183600.lua
View file @
c39725ce
...
@@ -61,7 +61,7 @@ function c53183600.spcon(e,c)
...
@@ -61,7 +61,7 @@ function c53183600.spcon(e,c)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
local
ct
=-
ft
+
1
return
Duel
.
IsExistingMatchingCard
(
c
38369349
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c
53183600
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
ft
>-
2
and
rg
:
GetCount
()
>
1
and
(
ft
>
0
or
rg
:
IsExists
(
c53183600
.
mzfilter
,
ct
,
nil
,
tp
))
and
ft
>-
2
and
rg
:
GetCount
()
>
1
and
(
ft
>
0
or
rg
:
IsExists
(
c53183600
.
mzfilter
,
ct
,
nil
,
tp
))
end
end
function
c53183600
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c53183600
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
c54297661.lua
View file @
c39725ce
...
@@ -33,7 +33,7 @@ function c54297661.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,7 +33,7 @@ function c54297661.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
g
=
rg
:
FilterSelect
(
tp
,
c54297661
.
mzfilter
,
2
,
2
,
nil
,
tp
)
g
=
rg
:
FilterSelect
(
tp
,
c54297661
.
mzfilter
,
2
,
2
,
nil
,
tp
)
end
end
Duel
.
Re
lease
(
g
,
REASON_COST
)
Duel
.
Re
move
(
g
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c54297661
.
filter
(
c
,
tp
)
function
c54297661
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
return
c
:
IsFaceup
()
...
...
c54913680.lua
View file @
c39725ce
...
@@ -17,7 +17,7 @@ function c54913680.mzfilter(c,tp)
...
@@ -17,7 +17,7 @@ function c54913680.mzfilter(c,tp)
return
c
:
GetSequence
()
<
5
return
c
:
GetSequence
()
<
5
end
end
function
c54913680
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c54913680
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c54913680
.
costfilter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c54913680
.
costfilter
,
nil
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
local
ct
=-
ft
+
1
if
chk
==
0
then
return
ft
>-
2
and
rg
:
GetCount
()
>
1
and
(
ft
>
0
or
rg
:
IsExists
(
c54913680
.
mzfilter
,
ct
,
nil
,
tp
))
end
if
chk
==
0
then
return
ft
>-
2
and
rg
:
GetCount
()
>
1
and
(
ft
>
0
or
rg
:
IsExists
(
c54913680
.
mzfilter
,
ct
,
nil
,
tp
))
end
...
...
c66607691.lua
View file @
c39725ce
...
@@ -17,7 +17,7 @@ function c66607691.mzfilter(c,tp)
...
@@ -17,7 +17,7 @@ function c66607691.mzfilter(c,tp)
return
c
:
IsControler
(
tp
)
and
c
:
GetSequence
()
<
5
return
c
:
IsControler
(
tp
)
and
c
:
GetSequence
()
<
5
end
end
function
c66607691
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66607691
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c66607691
.
cost
filter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
c66607691
.
r
filter
,
nil
,
tp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
local
ct
=-
ft
+
1
if
chk
==
0
then
return
ft
>-
2
and
rg
:
GetCount
()
>
1
and
(
ft
>
0
or
rg
:
IsExists
(
c66607691
.
mzfilter
,
ct
,
nil
,
tp
))
end
if
chk
==
0
then
return
ft
>-
2
and
rg
:
GetCount
()
>
1
and
(
ft
>
0
or
rg
:
IsExists
(
c66607691
.
mzfilter
,
ct
,
nil
,
tp
))
end
...
...
c88619463.lua
View file @
c39725ce
...
@@ -74,7 +74,7 @@ function c88619463.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -74,7 +74,7 @@ function c88619463.distg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
end
end
end
function
c88619463
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c88619463
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsFacedown
()
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
e
:
GetHandler
():
IsFacedown
()
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
...
...
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