Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
e67f52af
Commit
e67f52af
authored
Jul 10, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
57c0cff3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
script/c101106006.lua
script/c101106006.lua
+5
-5
script/c101106056.lua
script/c101106056.lua
+1
-1
No files found.
script/c101106006.lua
View file @
e67f52af
...
...
@@ -90,9 +90,9 @@ function c101106006.remfilter(c)
return
c
:
IsAbleToRemove
()
end
function
c101106006
.
remtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
MZONE
+
LOCATION_GRAVE
)
and
c101106006
.
remfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101106006
.
remfilter
,
tp
,
LOCATION_
MZONE
+
LOCATION_GRAVE
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
1
,
nil
)
end
local
b1
=
Duel
.
IsExistingTarget
(
c101106006
.
remfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
nil
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_
ONFIELD
+
LOCATION_GRAVE
)
and
c101106006
.
remfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101106006
.
remfilter
,
tp
,
LOCATION_
ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
)
end
local
b1
=
Duel
.
IsExistingTarget
(
c101106006
.
remfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingTarget
(
c101106006
.
remfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
local
op
=
0
if
b1
and
b2
then
...
...
@@ -103,11 +103,11 @@ function c101106006.remtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
nil
if
op
==
0
then
g
=
Duel
.
SelectTarget
(
tp
,
c101106006
.
remfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
g
=
Duel
.
SelectTarget
(
tp
,
c101106006
.
remfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
elseif
op
==
1
then
g
=
Duel
.
SelectTarget
(
tp
,
c101106006
.
remfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
else
g
=
Duel
.
SelectTarget
(
tp
,
c101106006
.
remfilter
,
tp
,
LOCATION_
MZONE
+
LOCATION_GRAVE
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
1
,
1
,
nil
)
g
=
Duel
.
SelectTarget
(
tp
,
c101106006
.
remfilter
,
tp
,
LOCATION_
ONFIELD
+
LOCATION_GRAVE
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
0
,
0
)
end
...
...
script/c101106056.lua
View file @
e67f52af
...
...
@@ -15,7 +15,7 @@ function c101106056.cfilter(c,code)
return
c
:
IsCode
(
code
)
and
(
c
:
IsFaceup
()
or
not
c
:
IsOnField
())
end
function
c101106056
.
thfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x26c
)
and
c
:
IsType
(
TYPE_
SPELL
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x26c
)
and
c
:
IsType
(
TYPE_
MONSTER
)
and
c
:
IsAbleToHand
()
and
not
Duel
.
IsExistingMatchingCard
(
c101106056
.
cfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
:
GetCode
())
end
function
c101106056
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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