Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
3
Issues
3
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
ygopro-rush-duel
Commits
de59fbf2
Commit
de59fbf2
authored
Apr 07, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/4/7 bug修复
parent
72292590
Pipeline
#26279
passed with stages
in 7 minutes and 17 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
script/c120261017.lua
script/c120261017.lua
+1
-1
script/c120261018.lua
script/c120261018.lua
+2
-2
script/c120261061.lua
script/c120261061.lua
+3
-5
No files found.
script/c120261017.lua
View file @
de59fbf2
...
...
@@ -35,7 +35,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
2
):
Filter
(
Card
.
IsLevelAbove
,
nil
,
1
)
local
lv
=
g
:
GetSum
(
Card
.
GetLevel
)
if
lv
>
0
then
local
filter
=
aux
.
NecroValleyFilter
(
RD
.
Filter
(
cm
.
spfilter
,
c
,
e
,
tp
,
lv
))
local
filter
=
aux
.
NecroValleyFilter
(
RD
.
Filter
(
cm
.
spfilter
,
e
,
tp
,
lv
))
RD
.
CanSelectAndSpecialSummon
(
aux
.
Stringid
(
m
,
1
),
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
POS_FACEUP
)
end
Duel
.
SortDecktop
(
1
-
tp
,
1
-
tp
,
2
)
...
...
script/c120261018.lua
View file @
de59fbf2
...
...
@@ -34,8 +34,8 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
DisableShuffleCheck
()
if
Duel
.
SendtoGrave
(
g1
,
REASON_EFFECT
)
==
0
then
return
end
local
filter
=
aux
.
NecroValleyFilter
(
RD
.
Filter
(
cm
.
filter
,
g1
))
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
1
),
HINTMSG_TODECK
,
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
function
(
g
)
RD
.
CanSelectAndDoAction
(
aux
.
Stringid
(
m
,
2
),
HINTMSG_TODECK
,
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
function
(
g
)
Duel
.
BreakEffect
()
RD
.
SendToDeckTopOrBottom
(
g
,
tp
,
aux
.
Stringid
(
m
,
2
),
aux
.
Stringid
(
m
,
3
))
RD
.
SendToDeckTopOrBottom
(
g
,
tp
,
aux
.
Stringid
(
m
,
3
),
aux
.
Stringid
(
m
,
4
))
end
)
end
\ No newline at end of file
script/c120261061.lua
View file @
de59fbf2
...
...
@@ -7,7 +7,7 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CUSTOM
+
m
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
...
...
@@ -36,7 +36,7 @@ function cm.check(g)
return
g
:
IsExists
(
Card
.
IsLevelBelow
,
2
,
nil
,
4
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
confilter1
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
confilter1
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
return
mg
:
GetClassCount
(
Card
.
GetCode
)
>
2
and
eg
:
IsExists
(
cm
.
confilter2
,
1
,
nil
,
1
-
tp
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -45,11 +45,9 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
5
,
1
-
tp
,
LOCATION_GRAVE
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
aux
.
GCheckAdditional
=
cm
.
check
RD
.
SelectGroupAndDoAction
(
HINTMSG_TODECK
,
aux
.
NecroValleyFilter
(
cm
.
filter
),
aux
.
TRUE
,
tp
,
0
,
LOCATION_GRAVE
,
5
,
5
,
nil
,
function
(
g
)
RD
.
SelectGroupAndDoAction
(
HINTMSG_TODECK
,
aux
.
NecroValleyFilter
(
cm
.
filter
),
cm
.
check
,
tp
,
0
,
LOCATION_GRAVE
,
5
,
5
,
nil
,
function
(
g
)
RD
.
SendToDeckTop
(
g
,
1
-
tp
)
end
)
aux
.
GCheckAdditional
=
nil
end
--Event
function
cm
.
event
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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