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
67715416
Commit
67715416
authored
Sep 30, 2021
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2021/9/30 新增:比赛包vol.3,修复bug
parent
f3bd4662
Pipeline
#5957
passed with stages
in 5 minutes and 31 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
60 additions
and
2 deletions
+60
-2
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120155058.lua
script/c120155058.lua
+3
-1
script/c120188030.lua
script/c120188030.lua
+3
-1
script/c120201001.lua
script/c120201001.lua
+9
-0
script/c120201003.lua
script/c120201003.lua
+45
-0
No files found.
RD Patch.cdb
View file @
67715416
No preview for this file type
script/c120155058.lua
View file @
67715416
...
@@ -19,7 +19,9 @@ end
...
@@ -19,7 +19,9 @@ end
function
cm
.
confilter
(
c
,
tp
,
re
,
rp
)
function
cm
.
confilter
(
c
,
tp
,
re
,
rp
)
return
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_PYRO
)
~=
0
return
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_PYRO
)
~=
0
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
((
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
c
:
IsReason
(
REASON_EFFECT
))
or
c
==
Duel
.
GetAttackTarget
())
and
(
c
==
Duel
.
GetAttackTarget
()
or
(
rp
==
1
-
tp
and
re
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
c
:
IsReason
(
REASON_EFFECT
))
)
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
])
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c120188030.lua
View file @
67715416
...
@@ -20,7 +20,9 @@ function cm.confilter(c,tp,re,rp)
...
@@ -20,7 +20,9 @@ function cm.confilter(c,tp,re,rp)
return
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
c
:
GetPreviousLevelOnField
()
>=
7
return
c
:
IsPreviousPosition
(
POS_ATTACK
)
and
c
:
GetPreviousLevelOnField
()
>=
7
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_WARRIOR
)
~=
0
and
bit
.
band
(
c
:
GetPreviousRaceOnField
(),
RACE_WARRIOR
)
~=
0
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
((
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
c
:
IsReason
(
REASON_EFFECT
))
or
c
==
Duel
.
GetAttackTarget
())
and
(
c
==
Duel
.
GetAttackTarget
()
or
(
rp
==
1
-
tp
and
re
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
c
:
IsReason
(
REASON_EFFECT
))
)
end
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
],
list
[
3
])
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
IsCode
(
list
[
1
],
list
[
2
],
list
[
3
])
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
script/c120201001.lua
0 → 100644
View file @
67715416
local
m
=
120201001
local
list
=
{
120201007
,
120201009
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"炎之剑士"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
],
list
[
2
])
--Fusion Material
aux
.
AddFusionProcCode2
(
c
,
list
[
1
],
list
[
2
],
true
,
true
)
end
\ No newline at end of file
script/c120201003.lua
0 → 100644
View file @
67715416
local
m
=
120201003
local
list
=
{
120199047
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"重型整地压延机"
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
list
[
1
])
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DRAW
)
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
)
return
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsAbleToGraveAsCost
()
end
function
cm
.
exfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
list
[
1
])
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
costfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
if
Duel
.
Draw
(
p
,
d
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
exfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
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