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
49332ff5
Commit
49332ff5
authored
Feb 22, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/2/22 新增:合成魔兽 加泽特
parent
63dda55c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
0 deletions
+36
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120238004.lua
script/c120238004.lua
+36
-0
No files found.
RD Patch.cdb
View file @
49332ff5
No preview for this file type
script/c120238004.lua
0 → 100644
View file @
49332ff5
local
m
=
120238004
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"合成魔兽 加泽特"
function
cm
.
initial_effect
(
c
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_MATERIAL_CHECK
)
e1
:
SetValue
(
cm
.
check
)
c
:
RegisterEffect
(
e1
)
--Summon Only
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_SUMMON_COST
)
e2
:
SetOperation
(
cm
.
facechk
)
e2
:
SetLabelObject
(
e1
)
c
:
RegisterEffect
(
e2
)
end
--Atk Up
function
cm
.
check
(
e
,
c
)
local
g
=
c
:
GetMaterial
()
local
tc
=
g
:
GetFirst
()
local
atk
=
0
while
tc
do
atk
=
atk
+
tc
:
GetBaseAttack
()
tc
=
g
:
GetNext
()
end
if
atk
>
0
and
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
RD
.
AttachAtkDef
(
e
,
c
,
atk
,
0
,
RESET_EVENT
+
0xff0000
)
end
end
--Summon Only
function
cm
.
facechk
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetLabelObject
():
SetLabel
(
1
)
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