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
八宫一月
pre-release-database-cdb
Commits
7911185c
Commit
7911185c
authored
Sep 09, 2024
by
八宫一月
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c101206095.lua
parent
92dcf0de
Pipeline
#29657
failed with stages
in 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
script/c101206095.lua
script/c101206095.lua
+4
-4
No files found.
script/c101206095.lua
View file @
7911185c
...
...
@@ -24,20 +24,20 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
filter
(
c
,
e
)
function
s
.
filter
(
c
)
local
p
=
c
:
GetOwner
()
return
c
:
IsPosition
(
POS_FACEDOWN_DEFENSE
)
and
(
c
:
IsCanChangePosition
()
or
(
c
:
IsAbleToGrave
()
and
Duel
.
IsPlayerCanDraw
(
p
,
2
)))
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chkc
then
return
chkc
:
IsPosition
(
POS_FACEDOWN_DEFENSE
)
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEDOWNDEFENSE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
e
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
p
=
tc
:
GetOwner
()
local
a
=
tc
:
IsCanChangePosition
()
local
a
=
tc
:
IsCanChangePosition
()
and
not
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
local
b
=
tc
:
IsAbleToGrave
()
and
Duel
.
IsPlayerCanDraw
(
p
,
2
)
op
=
aux
.
SelectFromOptions
(
1
-
tp
,{
a
,
aux
.
Stringid
(
id
,
1
)},{
b
,
aux
.
Stringid
(
id
,
2
)})
if
op
==
1
then
...
...
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