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
5
Issues
5
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
f02f1718
Commit
f02f1718
authored
Aug 05, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/8/5 新增:食物附赠卡(711D),bug修复
parent
47927f94
Pipeline
#28932
passed with stages
in 5 minutes and 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
16 deletions
+7
-16
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120253066.lua
script/c120253066.lua
+6
-15
script/c120264042.lua
script/c120264042.lua
+1
-1
No files found.
RD Patch.cdb
View file @
f02f1718
No preview for this file type
script/c120253066.lua
View file @
f02f1718
...
...
@@ -30,21 +30,12 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
RD
.
SelectAndDoAction
(
HINTMSG_TODECK
,
cm
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
function
(
g
)
local
tc
=
g
:
GetFirst
()
local
min
,
max
=
aux
.
GetMaterialListCount
(
tc
)
local
sump
=
tc
:
GetControler
()
local
sumtype
=
tc
:
GetSummonType
()
local
mg
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
sump
,
LOCATION_GRAVE
,
0
,
nil
,
e
,
sump
,
tc
)
if
RD
.
SendToDeckAndExists
(
tc
)
and
sumtype
&
SUMMON_TYPE_FUSION
==
SUMMON_TYPE_FUSION
and
not
tc
.
unspecified_funsion
and
min
>
0
and
min
==
max
and
min
<=
Duel
.
GetLocationCount
(
sump
,
LOCATION_MZONE
)
and
mg
:
CheckSubGroup
(
cm
.
check
,
min
,
min
,
tc
)
and
not
Duel
.
IsPlayerAffectedByEffect
(
sump
,
59822133
)
and
Duel
.
SelectYesNo
(
sump
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
sump
,
HINTMSG_SPSUMMON
)
local
g
=
mg
:
SelectSubGroup
(
sump
,
cm
.
check
,
false
,
min
,
min
,
tc
)
if
g
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
g
,
0
,
sump
,
sump
,
false
,
false
,
POS_FACEUP
)
end
local
ex
=
tc
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
not
tc
.
unspecified_funsion
and
min
>
0
and
min
==
max
if
RD
.
SendToDeckAndExists
(
tc
)
then
local
sump
=
tc
:
GetControler
()
local
filter
=
RD
.
Filter
(
cm
.
spfilter
,
e
,
sump
,
tc
)
local
check
=
RD
.
Check
(
cm
.
check
,
tc
)
RD
.
CanSelectGroupAndSpecialSummon
(
aux
.
Stringid
(
m
,
1
),
filter
,
check
,
sump
,
LOCATION_GRAVE
,
0
,
min
,
min
,
nil
,
e
,
POS_FACEUP
)
end
end
)
end
\ No newline at end of file
script/c120264042.lua
View file @
f02f1718
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
e1
:
SetCode
(
EFFECT_CHAIN_MATERIAL
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
e1
:
SetValue
(
cm
.
value
)
...
...
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