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
612c675b
Commit
612c675b
authored
Jan 24, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
784d38f9
Pipeline
#32757
passed with stages
in 2 minutes and 20 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
script/c101208033.lua
script/c101208033.lua
+2
-1
script/c101208068.lua
script/c101208068.lua
+13
-4
No files found.
script/c101208033.lua
View file @
612c675b
...
@@ -71,7 +71,8 @@ function s.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -71,7 +71,8 @@ function s.lvtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
s
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
then
local
label
=
e
:
GetLabel
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
IsLevelAbove
(
1
)
and
not
tc
:
IsLevel
(
label
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
...
...
script/c101208068.lua
View file @
612c675b
...
@@ -22,17 +22,26 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -22,17 +22,26 @@ function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_COST
)
end
end
function
s
.
getrmdg
(
tp
)
local
cg
=
Group
.
CreateGroup
()
for
ct
=
1
,
7
do
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
ct
)
if
not
g
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
==
ct
then
break
end
cg
=
g
end
return
cg
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
)
local
rg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
)
local
rg
=
s
.
getrmdg
(
tp
)
local
ct1
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
ct1
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
ct2
=
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
ct2
=
rg
:
GetCount
(
)
if
chk
==
0
then
return
ct1
+
ct2
>=
7
end
if
chk
==
0
then
return
ct1
+
ct2
>=
7
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
7
,
0
,
LOCATION_EXTRA
+
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
7
,
0
,
LOCATION_EXTRA
+
LOCATION_DECK
)
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
dg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
7
)
local
dg
=
s
.
getrmdg
(
tp
)
local
edg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
edg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_EXTRA
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
ct1
=
dg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
,
1
-
tp
,
POS_FACEDOWN
,
REASON_RULE
)
local
ct1
=
dg
:
GetCount
(
)
local
ct2
=
edg
:
GetCount
()
local
ct2
=
edg
:
GetCount
()
if
ct1
+
ct2
<
7
then
return
end
if
ct1
+
ct2
<
7
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
...
...
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