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
Crescent/毛虫
pre-release-database-cdb
Commits
b76f6e51
Commit
b76f6e51
authored
Jul 21, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix B・F-神事弓のサチ
parent
e04131e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
18 deletions
+16
-18
ROTA.cdb
ROTA.cdb
+0
-0
script/c101206037.lua
script/c101206037.lua
+16
-18
No files found.
ROTA.cdb
View file @
b76f6e51
No preview for this file type
script/c101206037.lua
View file @
b76f6e51
...
...
@@ -25,17 +25,17 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
exop
)
c
:
RegisterEffect
(
e2
)
--damage
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e
2
:
SetCategory
(
CATEGORY_TOGRAV
E
)
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_PLAYER_TARGET
)
e
2
:
SetCode
(
EVENT_BE_MATERIAL
)
e
2
:
SetCountLimit
(
1
,
id
)
e
2
:
SetCondition
(
s
.
damcon
)
e
2
:
SetTarget
(
s
.
damtg
)
e
2
:
SetOperation
(
s
.
damop
)
c
:
RegisterEffect
(
e
2
)
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e
3
:
SetCategory
(
CATEGORY_DAMAG
E
)
e
3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_PLAYER_TARGET
)
e
3
:
SetCode
(
EVENT_BE_MATERIAL
)
e
3
:
SetCountLimit
(
1
,
id
)
e
3
:
SetCondition
(
s
.
damcon
)
e
3
:
SetTarget
(
s
.
damtg
)
e
3
:
SetOperation
(
s
.
damop
)
c
:
RegisterEffect
(
e
3
)
end
function
s
.
tncon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
...
...
@@ -45,7 +45,7 @@ function s.tntg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
tnop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_TUNER
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
@@ -56,12 +56,13 @@ function s.tnop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
cfilter
(
c
)
return
c
:
IsAbleToHandAsCost
()
and
bit
.
band
(
c
:
GetType
(),
TYPE_CONTINUOUS
+
TYPE_SPELL
)
==
TYPE_CONTINUOUS
+
TYPE_SPELL
return
c
:
IsFaceup
()
and
c
:
IsAbleToHandAsCost
()
and
bit
.
band
(
c
:
GetType
(),
TYPE_CONTINUOUS
+
TYPE_SPELL
)
==
TYPE_CONTINUOUS
+
TYPE_SPELL
end
function
s
.
excost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToHandAsCost
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToHandAsCost
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
g
,
nil
,
REASON_COST
)
end
function
s
.
extg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
@@ -81,9 +82,6 @@ end
function
s
.
estg
(
e
,
c
)
return
c
:
IsSetCard
(
0x12f
)
end
function
s
.
splimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_SYNCHRO
end
...
...
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