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
MyCard
pre-release-database-cdb
Commits
5b71268c
Commit
5b71268c
authored
Jun 14, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 時の機械-タイム・エンジン
parent
bcb98c8f
Pipeline
#27759
passed with stages
in 1 minute
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
script/c101206072.lua
script/c101206072.lua
+10
-6
No files found.
script/c101206072.lua
View file @
5b71268c
--時の機械
-
タイム・エンジン
--時の機械
-
タイム・エンジン
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -35,19 +35,23 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
function
s
.
dcfilter
(
c
,
e
)
return
not
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceupEx
()
and
c
:
IsSetCard
(
0x2bb
)
and
c
:
IsType
(
TYPE_TRAP
)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
and
tc
:
IsRace
(
RACE_MACHINE
)
and
tc
:
IsLevelAbove
(
5
)
and
tc
:
IsRace
(
RACE_MACHINE
)
and
tc
:
IsLevelAbove
(
5
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
tp
,
2
))
then
and
Duel
.
IsExistingMatchingCard
(
s
.
dcfilter
,
tp
,
LOCATION_SZONE
+
LOCATION_GRAVE
,
1
,
nil
,
e
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
2
))
then
Duel
.
BreakEffect
()
local
sg
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
~=
0
and
tc
:
GetAttack
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
tp
,
3
))
then
if
sg
:
GetCount
()
>
0
and
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
~=
0
and
tc
:
GetBaseAttack
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
tc
:
GetAttack
(),
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
tc
:
Get
Base
Attack
(),
REASON_EFFECT
)
end
end
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