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
282a3d07
Commit
282a3d07
authored
Dec 11, 2024
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024/12/11 新增:梦中爱侣
parent
cba09d3e
Pipeline
#31714
passed with stages
in 12 minutes and 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
RD Patch.cdb
RD Patch.cdb
+0
-0
script/c120274054.lua
script/c120274054.lua
+47
-0
No files found.
RD Patch.cdb
View file @
282a3d07
No preview for this file type
script/c120274054.lua
0 → 100644
View file @
282a3d07
local
m
=
120274054
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"梦中爱侣"
function
cm
.
initial_effect
(
c
)
--Fusion Material
RD
.
AddFusionProcedure
(
c
,
false
,
cm
.
matfilter
,
cm
.
matfilter
)
--Atk Up
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
cm
.
uptg
)
e1
:
SetValue
(
800
)
c
:
RegisterEffect
(
e1
)
--Cannot To Hand & Deck & Extra
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_TO_HAND_EFFECT
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e2
:
SetCondition
(
cm
.
condition
)
e2
:
SetTarget
(
cm
.
target
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_CANNOT_TO_DECK_EFFECT
)
c
:
RegisterEffect
(
e3
)
--Continuous Effect
RD
.
AddContinuousEffect
(
c
,
e1
,
e2
,
e3
)
end
--Fusion Material
cm
.
unspecified_funsion
=
true
function
cm
.
matfilter1
(
c
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsFusionType
(
TYPE_EFFECT
)
end
--Atk Up
function
cm
.
uptg
(
e
,
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_INSECT
)
end
--Cannot To Hand & Deck & Extra
function
cm
.
condition
(
e
)
return
Duel
.
GetTurnPlayer
()
~=
e
:
GetHandlerPlayer
()
end
function
cm
.
target
(
e
,
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
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