Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
zengshangxing
pre-release-database-cdb
Commits
0d815564
Commit
0d815564
authored
Oct 12, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2013ddd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
script/c101203047.lua
script/c101203047.lua
+5
-1
No files found.
script/c101203047.lua
View file @
0d815564
...
@@ -25,6 +25,7 @@ function c101203047.initial_effect(c)
...
@@ -25,6 +25,7 @@ function c101203047.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e2
:
SetCountLimit
(
1
,
101203147
)
e2
:
SetCountLimit
(
1
,
101203147
)
e2
:
SetCondition
(
c101203047
.
xmcon
)
e2
:
SetTarget
(
c101203047
.
xmtg
)
e2
:
SetTarget
(
c101203047
.
xmtg
)
e2
:
SetOperation
(
c101203047
.
xmop
)
e2
:
SetOperation
(
c101203047
.
xmop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -60,9 +61,12 @@ end
...
@@ -60,9 +61,12 @@ end
function
c101203047
.
xmfilter
(
c
)
function
c101203047
.
xmfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanOverlay
()
return
c
:
IsFaceup
()
and
c
:
IsCanOverlay
()
end
end
function
c101203047
.
xmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_MZONE
)
end
function
c101203047
.
xmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c101203047
.
xmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
~=
c
and
c101203047
.
xmfilter
(
chkc
)
end
if
chkc
then
return
(
chkc
:
IsLocation
(
LOCATION_MZONE
))
and
(
chkc
~=
c
)
and
(
c101203047
.
xmfilter
(
chkc
)
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101203047
.
xmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101203047
.
xmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
SelectTarget
(
tp
,
c101203047
.
xmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
c
)
Duel
.
SelectTarget
(
tp
,
c101203047
.
xmfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
c
)
...
...
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