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
Crescent/毛虫
pre-release-database-cdb
Commits
9f140b43
You need to sign in or sign up before continuing.
Commit
9f140b43
authored
Sep 10, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Mimighoul Fork
parent
03b6464b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
ROTA-EN.cdb
ROTA-EN.cdb
+0
-0
script/c101206095.lua
script/c101206095.lua
+8
-4
No files found.
ROTA-EN.cdb
View file @
9f140b43
No preview for this file type
script/c101206095.lua
View file @
9f140b43
...
@@ -28,7 +28,7 @@ function s.filter(c)
...
@@ -28,7 +28,7 @@ function s.filter(c)
local
p
=
c
:
GetOwner
()
local
p
=
c
:
GetOwner
()
return
c
:
IsPosition
(
POS_FACEDOWN_DEFENSE
)
and
(
c
:
IsCanChangePosition
()
or
(
c
:
IsAbleToGrave
()
and
Duel
.
IsPlayerCanDraw
(
p
,
2
)))
return
c
:
IsPosition
(
POS_FACEDOWN_DEFENSE
)
and
(
c
:
IsCanChangePosition
()
or
(
c
:
IsAbleToGrave
()
and
Duel
.
IsPlayerCanDraw
(
p
,
2
)))
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsPosition
(
POS_FACEDOWN_DEFENSE
)
and
chkc
:
IsControler
(
1
-
tp
)
end
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
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEDOWNDEFENSE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEDOWNDEFENSE
)
...
@@ -37,11 +37,15 @@ end
...
@@ -37,11 +37,15 @@ end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
p
=
tc
:
GetOwner
()
local
p
=
tc
:
GetOwner
()
local
a
=
tc
:
IsCanChangePosition
()
and
not
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
local
a
=
tc
:
IsCanChangePosition
()
local
b
=
tc
:
IsAbleToGrave
()
and
Duel
.
IsPlayerCanDraw
(
p
,
2
)
local
b
=
tc
:
IsAbleToGrave
()
and
Duel
.
IsPlayerCanDraw
(
p
,
2
)
op
=
aux
.
SelectFromOptions
(
1
-
tp
,{
a
,
aux
.
Stringid
(
id
,
1
)},{
b
,
aux
.
Stringid
(
id
,
2
)})
local
op
=
aux
.
SelectFromOptions
(
1
-
tp
,{
a
,
aux
.
Stringid
(
id
,
1
)},{
b
,
aux
.
Stringid
(
id
,
2
)})
if
op
==
1
then
if
op
==
1
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_ATTACK
)
local
pos1
=
0
if
not
tc
:
IsPosition
(
POS_FACEUP_ATTACK
)
then
pos1
=
pos1
+
POS_FACEUP_ATTACK
end
if
not
tc
:
IsPosition
(
POS_FACEUP_DEFENSE
)
then
pos1
=
pos1
+
POS_FACEUP_DEFENSE
end
local
pos
=
Duel
.
SelectPosition
(
tp
,
tc
,
pos1
)
Duel
.
ChangePosition
(
tc
,
pos
)
else
else
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
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