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
78e859fa
Commit
78e859fa
authored
Aug 16, 2023
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023/08/16 新增:传说的圣所
parent
18c99d73
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
1 deletion
+39
-1
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120208049.lua
script/c120208049.lua
+2
-1
script/c120252028.lua
script/c120252028.lua
+37
-0
No files found.
RD Patch.cdb
View file @
78e859fa
No preview for this file type
script/c120208049.lua
View file @
78e859fa
...
...
@@ -14,10 +14,11 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTarget
(
cm
.
target
)
e2
:
SetValue
(
1
)
e2
:
SetValue
(
cm
.
indval
)
c
:
RegisterEffect
(
e2
)
end
--Indes
cm
.
indval
=
RD
.
ValueEffectIndesType
(
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
,
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
,
true
)
function
cm
.
target
(
e
,
c
)
return
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsRace
(
RACE_INSECT
)
end
\ No newline at end of file
script/c120252028.lua
0 → 100644
View file @
78e859fa
local
m
=
120252028
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_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
--Atk Up
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e2
:
SetTarget
(
cm
.
uptg
)
e2
:
SetValue
(
500
)
c
:
RegisterEffect
(
e2
)
--Indes
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e3
:
SetTarget
(
cm
.
indtg
)
e3
:
SetValue
(
cm
.
indval
)
c
:
RegisterEffect
(
e3
)
end
--Atk Up
function
cm
.
uptg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
8
)
and
c
:
IsRace
(
RACE_DRAGON
)
end
--Indes
cm
.
indval
=
RD
.
ValueEffectIndesType
(
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
,
TYPE_MONSTER
+
TYPE_SPELL
+
TYPE_TRAP
,
true
)
function
cm
.
target
(
e
,
c
)
return
c
:
IsFaceup
()
and
RD
.
IsLegendCard
(
c
)
and
c
:
IsRace
(
RACE_DRAGON
)
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