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
e72ae76a
Commit
e72ae76a
authored
Dec 22, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/12/22 新增:断裂王爪
parent
8c2a79a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
0 deletions
+41
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120235043.lua
script/c120235043.lua
+41
-0
No files found.
RD Patch.cdb
View file @
e72ae76a
No preview for this file type
script/c120235043.lua
0 → 100644
View file @
e72ae76a
local
m
=
120235043
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
(
cm
.
upval
)
c
:
RegisterEffect
(
e1
)
--Pierce
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_PIERCE
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_GRANT
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTarget
(
cm
.
prctg
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
end
--Activate
function
cm
.
target
(
c
,
e
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DRAGON
)
end
--Atk Up
function
cm
.
upfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DRAGON
)
end
function
cm
.
upval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
cm
.
upfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
*
200
end
--Pierce
function
cm
.
prctg
(
e
,
c
)
local
tc
=
Duel
.
GetAttackTarget
()
return
c
==
e
:
GetHandler
():
GetEquipTarget
()
and
Duel
.
GetAttacker
()
==
c
and
tc
and
tc
:
IsLevelAbove
(
7
)
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