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
b3c10e6b
Commit
b3c10e6b
authored
Jan 17, 2025
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025/1/17 新增:昆虫新卡
parent
a7ae46a2
Pipeline
#32631
passed with stages
in 10 minutes and 13 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
59 deletions
+72
-59
RD Patch.cdb
RD Patch.cdb
+0
-0
RD Standard.cdb
RD Standard.cdb
+0
-0
script/c120277016.lua
script/c120277016.lua
+1
-1
script/c120277038.lua
script/c120277038.lua
+34
-0
script/c120277039.lua
script/c120277039.lua
+37
-0
script/c120282005_.lua
script/c120282005_.lua
+0
-58
No files found.
RD Patch.cdb
View file @
b3c10e6b
No preview for this file type
RD Standard.cdb
View file @
b3c10e6b
No preview for this file type
script/c120277016.lua
View file @
b3c10e6b
...
...
@@ -18,5 +18,5 @@ function cm.filter(c)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_INSECT
)
end
function
cm
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
c
:
GetControler
(),
LOCATION_
GRAVE
,
LOCATION_GRAV
E
,
nil
)
*
500
return
Duel
.
GetMatchingGroupCount
(
cm
.
filter
,
c
:
GetControler
(),
LOCATION_
MZONE
,
LOCATION_MZON
E
,
nil
)
*
500
end
\ No newline at end of file
script/c120277038.lua
0 → 100644
View file @
b3c10e6b
local
m
=
120277038
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"执拗强力独角仙"
function
cm
.
initial_effect
(
c
)
--Draw
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_GRAVE_SPSUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Draw
function
cm
.
confilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsRace
(
RACE_INSECT
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
RD
.
IsHasContinuousEffect
(
c
)
and
c
:
IsRace
(
RACE_INSECT
)
and
RD
.
IsDefense
(
c
,
400
)
and
RD
.
IsCanBeSpecialSummoned
(
c
,
e
,
tp
,
POS_FACEUP_DEFENSE
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
confilter
,
tp
,
LOCATION_GRAVE
,
0
,
4
,
nil
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
RD
.
SelectAndSpecialSummon
(
aux
.
NecroValleyFilter
(
cm
.
spfilter
),
tp
,
LOCATION_GRAVE
,
0
,
1
,
2
,
nil
,
e
,
POS_FACEUP_DEFENSE
)
end
\ No newline at end of file
script/c120277039.lua
0 → 100644
View file @
b3c10e6b
local
m
=
120277039
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"科昆大王独角仙"
function
cm
.
initial_effect
(
c
)
--Draw
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Draw
function
cm
.
costfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
exfilter
(
c
)
return
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
9
end
cm
.
cost
=
RD
.
CostSendHandToGrave
(
cm
.
costfilter
,
1
,
1
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
RD
.
TargetDraw
(
tp
,
1
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
Draw
()
~=
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
then
RD
.
CanDiscardDeck
(
aux
.
Stringid
(
m
,
1
),
tp
,
3
,
true
)
end
end
\ No newline at end of file
script/c120282005_.lua
deleted
100644 → 0
View file @
a7ae46a2
local
m
=
120282005
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"元素循环"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
+
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
costfilter
(
c
)
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsLevel
(
6
,
7
)
and
c
:
IsRace
(
RACE_WARRIOR
)
else
return
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsAbleToGraveAsCost
()
end
end
function
cm
.
check
(
g
)
if
g
:
GetClassCount
(
Card
.
GetLocation
)
==
1
then
return
false
end
local
mc
,
fc
=
g
:
GetFirst
(),
g
:
GetNext
()
if
mc
:
IsLocation
(
LOCATION_EXTRA
)
then
mc
,
fc
=
fc
,
mc
end
return
aux
.
IsMaterialListCode
(
fc
,
mc
:
GetCode
())
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
costfilter
,
tp
,
LOCATION_EXTRA
+
LOCATION_HAND
,
0
,
nil
)
if
chk
==
0
then
return
g
:
CheckSubGroup
(
cm
.
check
,
2
,
2
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
m
,
1
))
local
sg
=
g
:
SelectSubGroup
(
tp
,
cm
.
check
,
false
,
2
,
2
)
local
mc
,
fc
=
sg
:
GetFirst
(),
sg
:
GetNext
()
if
mc
:
IsLocation
(
LOCATION_EXTRA
)
then
mc
,
fc
=
fc
,
mc
end
Duel
.
ConfirmCards
(
1
-
tp
,
fc
)
Duel
.
SendtoGrave
(
mc
,
REASON_COST
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
3
)
end
RD
.
TargetDraw
(
tp
,
3
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
RD
.
Draw
()
~=
0
then
RD
.
SelectAndDoAction
(
HINTMSG_TOGRAVE
,
Card
.
IsAbleToGrave
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
function
(
g
)
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
)
end
if
Duel
.
GetFlagEffect
(
tp
,
m
)
~=
0
then
return
end
RD
.
CreateCannotActivateEffect
(
e
,
aux
.
Stringid
(
m
,
2
),
cm
.
aclimit
,
tp
,
1
,
0
,
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
cm
.
aclimit
(
e
,
re
,
tp
)
local
tc
=
re
:
GetHandler
()
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
not
tc
:
IsRace
(
RACE_WARRIOR
)
end
\ No newline at end of file
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