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
3d2c3402
Commit
3d2c3402
authored
Mar 11, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix K9-17号 イヅナ & K9-∅∅号 ルプス
parent
95414246
Pipeline
#33562
passed with stages
in 2 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
52 deletions
+10
-52
script/c100236031.lua
script/c100236031.lua
+5
-26
script/c100236034.lua
script/c100236034.lua
+5
-26
No files found.
script/c100236031.lua
View file @
3d2c3402
...
...
@@ -35,32 +35,11 @@ function s.initial_effect(c)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
c
:
RegisterEffect
(
e4
)
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAINING
)
ge1
:
SetOperation
(
s
.
checkop1
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
ge2
:
SetCode
(
EVENT_CHAIN_NEGATED
)
ge2
:
SetOperation
(
s
.
checkop2
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
end
function
s
.
checkop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
if
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
(
LOCATION_HAND
|
LOCATION_GRAVE
)
>
0
and
Duel
.
IsMainPhase
()
then
Duel
.
RegisterFlagEffect
(
ep
,
id
,
RESET_PHASE
+
PHASE_MAIN1
+
PHASE_MAIN2
,
0
,
1
)
end
Duel
.
AddCustomActivityCounter
(
id
,
ACTIVITY_CHAIN
,
s
.
chainfilter
)
end
function
s
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
if
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
(
LOCATION_HAND
|
LOCATION_GRAVE
)
>
0
and
Duel
.
IsMainPhase
()
then
Duel
.
RegisterFlagEffect
(
ep
,
id
+
o
,
RESET_PHASE
+
PHASE_MAIN1
+
PHASE_MAIN2
,
0
,
1
)
end
function
s
.
chainfilter
(
re
,
tp
,
cid
)
local
loc
=
Duel
.
GetChainInfo
(
cid
,
CHAININFO_TRIGGERING_LOCATION
)
return
not
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
(
LOCATION_HAND
|
LOCATION_GRAVE
)
>
0
)
end
function
s
.
ntcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
...
...
@@ -68,7 +47,7 @@ function s.ntcon(e,c,minc)
and
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
c
:
GetControler
(),
0
,
LOCATION_HAND
,
2
,
nil
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
Get
FlagEffect
(
1
-
tp
,
id
)
>
Duel
.
GetFlagEffect
(
1
-
tp
,
id
+
o
)
return
Duel
.
Get
CustomActivityCount
(
id
,
1
-
tp
,
ACTIVITY_CHAIN
)
>
0
and
Duel
.
IsMainPhase
(
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c100236034.lua
View file @
3d2c3402
...
...
@@ -35,35 +35,14 @@ function s.initial_effect(c)
e3
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e3
:
SetValue
(
aux
.
tgoval
)
c
:
RegisterEffect
(
e3
)
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAINING
)
ge1
:
SetOperation
(
s
.
checkop1
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
ge2
:
SetCode
(
EVENT_CHAIN_NEGATED
)
ge2
:
SetOperation
(
s
.
checkop2
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
end
function
s
.
checkop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
if
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
(
LOCATION_HAND
|
LOCATION_GRAVE
)
>
0
and
Duel
.
IsMainPhase
()
then
Duel
.
RegisterFlagEffect
(
ep
,
id
,
RESET_PHASE
+
PHASE_MAIN1
+
PHASE_MAIN2
,
0
,
1
)
end
Duel
.
AddCustomActivityCounter
(
id
,
ACTIVITY_CHAIN
,
s
.
chainfilter
)
end
function
s
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
if
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
(
LOCATION_HAND
|
LOCATION_GRAVE
)
>
0
and
Duel
.
IsMainPhase
()
then
Duel
.
RegisterFlagEffect
(
ep
,
id
+
o
,
RESET_PHASE
+
PHASE_MAIN1
+
PHASE_MAIN2
,
0
,
1
)
end
function
s
.
chainfilter
(
re
,
tp
,
cid
)
local
loc
=
Duel
.
GetChainInfo
(
cid
,
CHAININFO_TRIGGERING_LOCATION
)
return
not
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
&
(
LOCATION_HAND
|
LOCATION_GRAVE
)
>
0
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
Get
FlagEffect
(
1
-
tp
,
id
)
>
Duel
.
GetFlagEffect
(
1
-
tp
,
id
+
o
)
return
Duel
.
Get
CustomActivityCount
(
id
,
1
-
tp
,
ACTIVITY_CHAIN
)
>
0
and
Duel
.
IsMainPhase
(
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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