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
bd9131d1
Commit
bd9131d1
authored
Jun 12, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/6/12 新增:幻龙新卡
parent
58067e7c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
0 deletions
+60
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120247051.lua
script/c120247051.lua
+28
-0
script/c120247057.lua
script/c120247057.lua
+32
-0
No files found.
RD Patch.cdb
View file @
bd9131d1
No preview for this file type
script/c120247051.lua
0 → 100644
View file @
bd9131d1
local
m
=
120247051
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
)
end
--Activate
function
cm
.
target
(
c
,
e
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WYRM
)
end
--Atk Up
function
cm
.
upfilter
(
c
)
return
c
:
IsRace
(
RACE_WYRM
)
end
function
cm
.
upval
(
e
,
c
)
if
Duel
.
IsExistingMatchingCard
(
cm
.
upfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_GRAVE
,
0
,
5
,
nil
)
then
return
1000
else
return
500
end
end
\ No newline at end of file
script/c120247057.lua
0 → 100644
View file @
bd9131d1
local
m
=
120247057
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"幻坏壁砾"
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_ATTACK_ANNOUNCE
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
end
--Activate
function
cm
.
confilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
c
:
IsRace
(
RACE_WYRM
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetAttacker
()
return
Duel
.
IsExistingMatchingCard
(
cm
.
confilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
tc
:
IsControler
(
1
-
tp
)
and
tc
:
IsLevelBelow
(
8
)
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateAttack
()
if
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
then
RD
.
CreateHintEffect
(
e
,
aux
.
Stringid
(
m
,
1
),
tp
,
0
,
1
,
RESET_PHASE
+
PHASE_END
)
RD
.
CreateAttackLimitEffect
(
e
,
cm
.
atktg
,
tp
,
0
,
LOCATION_MZONE
,
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterFlagEffect
(
tp
,
m
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
cm
.
atktg
(
e
,
c
)
return
c
:
IsLevelBelow
(
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