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
d05676e7
Commit
d05676e7
authored
Jul 31, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 傀儡流儀-パペット・シャーク
parent
e51f84bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
ROTA.cdb
ROTA.cdb
+0
-0
script/c101206070.lua
script/c101206070.lua
+5
-3
No files found.
ROTA.cdb
View file @
d05676e7
No preview for this file type
script/c101206070.lua
View file @
d05676e7
...
...
@@ -8,7 +8,7 @@ function s.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_
MAIN_END
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_
END_PHASE
)
e1
:
SetTarget
(
s
.
thtg
)
e1
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -18,7 +18,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
thfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_TRAP
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
or
c
:
IsType
(
TYPE_MONSTER
+
TYPE_SPELL
)
and
c
:
IsAbleToHand
()
or
c
:
IsType
(
TYPE_MONSTER
+
TYPE_SPELL
)
and
c
:
IsAbleToHand
()
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -27,8 +27,10 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
4
):
Filter
(
s
.
thfilter
,
nil
,
tp
)
if
#
g
>
0
then
Duel
.
DisableShuffleCheck
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
Duel
.
PreserveSelectDeckSequence
(
true
)
local
sc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
Duel
.
PreserveSelectDeckSequence
(
false
)
if
sc
:
IsType
(
TYPE_TRAP
)
then
if
Duel
.
SSet
(
tp
,
sc
)
>
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
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