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
yks
pre-release-database-cdb
Commits
e2a01fc9
Commit
e2a01fc9
authored
Jun 11, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
ac599694
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
ROTA.cdb
ROTA.cdb
+0
-0
script/c101206013.lua
script/c101206013.lua
+1
-0
script/c101206059.lua
script/c101206059.lua
+1
-4
script/c101206076.lua
script/c101206076.lua
+1
-1
No files found.
ROTA.cdb
View file @
e2a01fc9
No preview for this file type
script/c101206013.lua
View file @
e2a01fc9
...
@@ -17,6 +17,7 @@ function s.initial_effect(c)
...
@@ -17,6 +17,7 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetHintTiming
(
TIMING_MAIN_END
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCountLimit
(
1
,
id
)
e2
:
SetCondition
(
s
.
smcon
)
e2
:
SetCondition
(
s
.
smcon
)
e2
:
SetCost
(
s
.
smcost
)
e2
:
SetCost
(
s
.
smcost
)
...
...
script/c101206059.lua
View file @
e2a01fc9
...
@@ -74,9 +74,6 @@ end
...
@@ -74,9 +74,6 @@ end
function
s
.
rmfilter2
(
c
,
atk
)
function
s
.
rmfilter2
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
<
atk
and
c
:
IsAbleToRemove
()
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
<
atk
and
c
:
IsAbleToRemove
()
end
end
function
s
.
rmfilter3
(
c
,
atk
)
return
c
:
IsFaceup
()
and
c
:
GetAttack
()
<
atk
end
function
s
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
chkc
:
IsFaceup
()
and
chkc
:
GetAttack
()
>
0
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
chkc
:
IsFaceup
()
and
chkc
:
GetAttack
()
>
0
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
rmfilter1
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
rmfilter1
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
)
end
...
@@ -88,7 +85,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,7 +85,7 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetTargetsRelateToChain
():
GetFirst
()
local
tc
=
Duel
.
GetTargetsRelateToChain
():
GetFirst
()
if
tc
and
tc
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
s
.
rmfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tc
:
GetAttack
())
then
if
tc
and
tc
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
s
.
rmfilter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tc
:
GetAttack
())
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
rmfilter
3
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tc
:
GetAttack
())
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
rmfilter
2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tc
:
GetAttack
())
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
HintSelection
(
g
)
Duel
.
HintSelection
(
g
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
script/c101206076.lua
View file @
e2a01fc9
...
@@ -31,7 +31,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,7 +31,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
end
end
function
s
.
smfilter
(
c
,
e
,
tp
,
code
)
function
s
.
smfilter
(
c
,
e
,
tp
,
code
)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
return
c
:
IsCode
(
code
)
and
c
:
Is
Type
(
TYPE_NORMAL
)
and
c
:
Is
CanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
code
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
local
code
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PARAM
)
...
...
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