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
0
Issues
0
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
ca908413
Commit
ca908413
authored
Sep 18, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/9/18 新增:念动力装备
parent
da0be51e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
0 deletions
+65
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120228051.lua
script/c120228051.lua
+34
-0
script/c120228053.lua
script/c120228053.lua
+31
-0
No files found.
RD Patch.cdb
View file @
ca908413
No preview for this file type
script/c120228051.lua
0 → 100644
View file @
ca908413
local
m
=
120228051
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"炎装红炎刃箭"
function
cm
.
initial_effect
(
c
)
--Activate
RD
.
RegisterEquipEffect
(
c
,
nil
,
nil
,
cm
.
target
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
400
)
c
:
RegisterEffect
(
e1
)
--Cannot Be Battle Target
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
cm
.
atkcon
)
e2
:
SetValue
(
cm
.
atktg
)
c
:
RegisterEffect
(
e2
)
end
--Activate
function
cm
.
target
(
c
,
e
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
GetOriginalRace
()
==
RACE_PSYCHO
end
--Cannot Be Battle Target
function
cm
.
atkcon
(
e
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
and
ec
:
GetControler
()
==
e
:
GetHandlerPlayer
()
end
function
cm
.
atktg
(
e
,
c
)
return
c
:
GetEquipCount
()
==
0
end
\ No newline at end of file
script/c120228053.lua
0 → 100644
View file @
ca908413
local
m
=
120228053
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"圣装吊带提琴"
function
cm
.
initial_effect
(
c
)
--Activate
RD
.
RegisterEquipEffect
(
c
,
nil
,
nil
,
cm
.
target
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
100
)
c
:
RegisterEffect
(
e1
)
--Def Up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_UPDATE_DEFENSE
)
e1
:
SetValue
(
1500
)
c
:
RegisterEffect
(
e1
)
--Indes
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_EQUIP
)
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e3
:
SetValue
(
cm
.
indval
)
c
:
RegisterEffect
(
e3
)
end
--Activate
function
cm
.
target
(
c
,
e
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PSYCHO
)
end
--Indes
cm
.
indval
=
RD
.
ValueEffectIndesType
(
0
,
TYPE_TRAP
,
true
)
\ 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