Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
specials
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
JoyJ
specials
Commits
12e5e07a
Commit
12e5e07a
authored
May 13, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
not allow oppo deck
parent
d09f97d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
manual/special.lua
manual/special.lua
+5
-11
No files found.
manual/special.lua
View file @
12e5e07a
...
@@ -45,7 +45,7 @@ function Auxiliary.PreloadUds()
...
@@ -45,7 +45,7 @@ function Auxiliary.PreloadUds()
local
e1
=
deckEffect
()
local
e1
=
deckEffect
()
e1
:
SetDescription
(
1105
)
e1
:
SetDescription
(
1105
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
-
LOCATION_DECK
,
0xff
,
1
,
99
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
-
LOCATION_DECK
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
99
,
nil
)
if
#
g
>
0
then
if
#
g
>
0
then
local
pos
=
Duel
.
SelectPosition
(
tp
,
g
:
GetFirst
(),
POS_ATTACK
)
local
pos
=
Duel
.
SelectPosition
(
tp
,
g
:
GetFirst
(),
POS_ATTACK
)
Duel
.
SendtoDeck
(
g
,
tp
,
pos
==
POS_FACEUP_ATTACK
and
0
or
1
,
REASON_RULE
)
Duel
.
SendtoDeck
(
g
,
tp
,
pos
==
POS_FACEUP_ATTACK
and
0
or
1
,
REASON_RULE
)
...
@@ -55,7 +55,7 @@ function Auxiliary.PreloadUds()
...
@@ -55,7 +55,7 @@ function Auxiliary.PreloadUds()
local
e1
=
deckEffect
()
local
e1
=
deckEffect
()
e1
:
SetDescription
(
1104
)
e1
:
SetDescription
(
1104
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
-
LOCATION_HAND
,
0xff
,
1
,
99
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
-
LOCATION_HAND
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
99
,
nil
)
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
SendtoHand
(
g
,
tp
,
REASON_RULE
)
Duel
.
SendtoHand
(
g
,
tp
,
REASON_RULE
)
end
end
...
@@ -83,7 +83,7 @@ function Auxiliary.PreloadUds()
...
@@ -83,7 +83,7 @@ function Auxiliary.PreloadUds()
local
e1
=
deckEffect
()
local
e1
=
deckEffect
()
e1
:
SetDescription
(
1118
)
e1
:
SetDescription
(
1118
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
-
LOCATION_MZONE
,
0xff
-
LOCATION_MZONE
,
1
,
99
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
-
LOCATION_MZONE
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
99
,
nil
)
if
#
g
>
0
then
if
#
g
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
+
POS_FACEDOWN
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
+
POS_FACEDOWN
)
end
end
...
@@ -92,7 +92,7 @@ function Auxiliary.PreloadUds()
...
@@ -92,7 +92,7 @@ function Auxiliary.PreloadUds()
local
e1
=
deckEffect
()
local
e1
=
deckEffect
()
e1
:
SetDescription
(
1159
)
e1
:
SetDescription
(
1159
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
-
LOCATION_SZONE
,
0xff
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
-
LOCATION_SZONE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
1
,
nil
)
if
#
g
>
0
then
if
#
g
>
0
then
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
loc
=
LOCATION_SZONE
local
loc
=
LOCATION_SZONE
...
@@ -208,13 +208,7 @@ function Auxiliary.PreloadUds()
...
@@ -208,13 +208,7 @@ function Auxiliary.PreloadUds()
e1
:
SetDescription
(
1130
)
e1
:
SetDescription
(
1130
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetOperation
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
sg
=
Duel
.
GetFieldGroup
(
tp
,
0x7f
,
0x7f
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
nil
,
tp
,
0xff
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
1
,
99
,
c
)
for
tc
in
Auxiliary
.
Next
(
sg
)
do
for
oc
in
Auxiliary
.
Next
(
tc
:
GetOverlayGroup
())
do
sg
:
AddCard
(
oc
)
end
end
local
g
=
sg
:
Select
(
tp
,
1
,
99
,
nil
)
local
og
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_OVERLAY
)
local
og
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_OVERLAY
)
g
:
Sub
(
og
)
g
:
Sub
(
og
)
local
tog
=
Group
.
CreateGroup
()
local
tog
=
Group
.
CreateGroup
()
...
...
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