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
MyCard
pre-release-database-cdb
Commits
4c7c74f2
Commit
4c7c74f2
authored
Jul 26, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
fb723f79
Pipeline
#28699
passed with stages
in 1 minute
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
ROTA.cdb
ROTA.cdb
+0
-0
script/c101206018.lua
script/c101206018.lua
+1
-1
script/c101206043.lua
script/c101206043.lua
+5
-2
No files found.
ROTA.cdb
View file @
4c7c74f2
No preview for this file type
script/c101206018.lua
View file @
4c7c74f2
...
@@ -29,7 +29,7 @@ function s.lvcfilter(c)
...
@@ -29,7 +29,7 @@ function s.lvcfilter(c)
end
end
function
s
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
lvcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
lvcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
lvcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsAbleToGraveAsCost
,
1
,
1
,
REASON_COST
)
Duel
.
DiscardHand
(
tp
,
s
.
lvcfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
s
.
lvfilter
(
c
)
function
s
.
lvfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
and
not
c
:
IsLevel
(
7
)
return
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
and
not
c
:
IsLevel
(
7
)
...
...
script/c101206043.lua
View file @
4c7c74f2
...
@@ -63,9 +63,12 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,9 +63,12 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonType
(
SUMMON_TYPE_XYZ
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
end
function
s
.
spcfilter
(
c
)
return
c
:
IsAbleToGraveAsCost
()
and
c
:
IsDiscardable
()
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spcfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
DiscardHand
(
tp
,
s
.
spcfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
)
function
s
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_AQUA
+
RACE_FISH
+
RACE_SEASERPENT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_AQUA
+
RACE_FISH
+
RACE_SEASERPENT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
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