Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
八宫一月
pre-release-database-cdb
Commits
5056a95c
Commit
5056a95c
authored
May 15, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update リンカーネイト・アンヴェイル・メイル
parent
9a18e34e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
29 deletions
+27
-29
ROTA.cdb
ROTA.cdb
+0
-0
script/c101206207.lua
script/c101206207.lua
+27
-29
No files found.
ROTA.cdb
View file @
5056a95c
No preview for this file type
script/c101206207.lua
View file @
5056a95c
...
...
@@ -25,14 +25,23 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
eftg
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
--equip from grave
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e4
:
SetCategory
(
CATEGORY_EQUIP
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetCode
(
EVENT_TO_GRAVE
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetOperation
(
s
.
eqzop
)
e4
:
SetOperation
(
s
.
regop
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e5
:
SetCategory
(
CATEGORY_EQUIP
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e5
:
SetRange
(
LOCATION_GRAVE
)
e5
:
SetCondition
(
s
.
eqcon
)
e5
:
SetTarget
(
s
.
eqtg
)
e5
:
SetOperation
(
s
.
eqop
)
c
:
RegisterEffect
(
e5
)
end
function
s
.
ibcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
...
...
@@ -71,38 +80,27 @@ function s.eftg(e,c)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetEquipGroup
():
IsContains
(
e
:
GetHandler
())
and
c
:
IsType
(
TYPE_XYZ
)
end
function
s
.
eqzop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
fid
=
c
:
GetFieldID
()
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetLabel
(
fid
)
e1
:
SetLabelObject
(
c
)
e1
:
SetOperation
(
s
.
eqcon
)
e1
:
SetOperation
(
s
.
eqop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
s
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
fid
=
e
:
GetLabel
()
return
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
fid
)
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
>
0
end
function
s
.
eqfilter
(
c
,
fid
)
return
c
:
GetFlagEffectLabel
(
id
)
==
fid
function
s
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
s
.
eqfilter
2
(
c
,
ec
)
function
s
.
eqfilter
(
c
,
ec
)
return
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsFaceup
()
and
ec
:
CheckEquipTarget
(
c
)
and
ec
:
CheckUniqueOnField
(
tp
,
LOCATION_SZONE
)
and
not
ec
:
IsForbidden
()
end
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
local
ec
=
e
:
GetLabelObject
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
ec
)
then
local
ec
=
e
:
GetHandler
()
if
ec
:
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
eqfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
ec
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
eqfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
ec
):
GetFirst
()
Duel
.
Equip
(
tp
,
ec
,
tc
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
eqfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
ec
)
Duel
.
HintSelection
(
tg
)
Duel
.
Equip
(
tp
,
ec
,
tg
:
GetFirst
())
end
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