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
a8aa191c
Commit
a8aa191c
authored
Nov 15, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/11/15 新增:漫画新卡
parent
6990817a
Pipeline
#24055
passed with stages
in 7 minutes and 6 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
52 additions
and
9 deletions
+52
-9
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120245002.lua
script/c120245002.lua
+50
-0
script/c120254032.lua
script/c120254032.lua
+2
-9
No files found.
RD Patch.cdb
View file @
a8aa191c
No preview for this file type
script/c120245002.lua
0 → 100644
View file @
a8aa191c
local
m
=
120245002
local
list
=
{
120209001
}
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"穿越侍·升量·线性海牛侍"
function
cm
.
initial_effect
(
c
)
RD
.
AddCodeList
(
c
,
list
)
--Fusion Material
aux
.
AddFusionProcCodeFun
(
c
,
list
[
1
],
cm
.
matfilter
,
1
,
true
,
true
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Fusion Material
cm
.
unspecified_funsion
=
true
function
cm
.
matfilter
(
c
)
return
c
:
IsLevel
(
7
)
and
c
:
IsFusionAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsRace
(
RACE_GALAXY
)
end
--Atk Up
cm
.
indval
=
RD
.
ValueEffectIndesType
(
0
,
TYPE_TRAP
)
function
cm
.
costfilter
(
c
)
return
c
:
IsRace
(
RACE_GALAXY
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
cm
.
exfilter
(
c
)
return
c
:
IsLevel
(
7
)
and
c
:
IsType
(
TYPE_EFFECT
)
end
cm
.
cost
=
RD
.
CostSendGraveToDeck
(
cm
.
costfilter
,
2
,
2
,
nil
,
nil
,
function
(
g
)
if
g
:
IsExists
(
cm
.
exfilter
,
2
,
nil
)
then
return
20245002
else
return
0
end
end
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
reset
=
RESET_EVENT
+
RESETS_STANDARD
+
RESET_DISABLE
+
RESET_PHASE
+
PHASE_END
RD
.
AttachAtkDef
(
e
,
c
,
1400
,
0
,
reset
)
if
e
:
GetLabel
()
==
20245002
then
RD
.
AttachBattleIndes
(
e
,
tc
,
1
,
aux
.
Stringid
(
m
,
1
),
reset
)
RD
.
AttachEffectIndes
(
e
,
c
,
cm
.
indval
,
aux
.
Stringid
(
m
,
2
),
reset
)
RD
.
AttachExtraAttack
(
e
,
c
,
1
,
aux
.
Stringid
(
m
,
3
),
reset
)
end
end
end
\ No newline at end of file
script/c120254032.lua
View file @
a8aa191c
...
...
@@ -8,7 +8,6 @@ function cm.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCondition
(
cm
.
condition1
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -20,19 +19,13 @@ function cm.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCondition
(
cm
.
condition
2
)
e3
:
SetCondition
(
cm
.
condition
)
e3
:
SetTarget
(
cm
.
target
)
e3
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e3
)
end
--Activate
function
cm
.
confilter
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
tp
end
function
cm
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
confilter
,
1
,
nil
,
1
-
tp
)
end
function
cm
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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