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
3ff64819
Commit
3ff64819
authored
Jul 21, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
209186a9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
script/c101106059.lua
script/c101106059.lua
+5
-5
script/c101106069.lua
script/c101106069.lua
+1
-0
No files found.
script/c101106059.lua
View file @
3ff64819
...
...
@@ -32,8 +32,8 @@ function c101106059.initial_effect(c)
e3
:
SetOperation
(
c101106059
.
drop
)
c
:
RegisterEffect
(
e3
)
end
function
c101106059
.
otfilter
(
c
,
tp
)
return
c
:
IsAbleToGrave
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
function
c101106059
.
otfilter
(
c
,
e
,
tp
)
return
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
end
function
c101106059
.
otfilter2
(
c
,
e
)
return
c
:
IsAbleToGrave
()
and
not
c
:
IsImmuneToEffect
(
e
)
...
...
@@ -42,7 +42,7 @@ function c101106059.otcon(e,c,minc)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
minc
<=
2
and
Duel
.
IsExistingMatchingCard
(
c101106059
.
otfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c101106059
.
otfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c101106059
.
otfilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
e
)
end
function
c101106059
.
ottg
(
e
,
c
)
...
...
@@ -51,11 +51,11 @@ function c101106059.ottg(e,c)
end
function
c101106059
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c101106059
.
otfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c101106059
.
otfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c101106059
.
otfilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
e
)
g1
:
Merge
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_
COS
T
)
Duel
.
SendtoGrave
(
g1
,
REASON_
EFFEC
T
)
c
:
SetMaterial
(
nil
)
end
function
c101106059
.
drfilter
(
c
)
...
...
script/c101106069.lua
View file @
3ff64819
...
...
@@ -7,6 +7,7 @@ function c101106069.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
101106069
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetTarget
(
c101106069
.
target
)
e1
:
SetOperation
(
c101106069
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
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