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
Vury Leo
pre-release-database-cdb
Commits
21eb0218
Commit
21eb0218
authored
Mar 11, 2025
by
八宫一月
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c101301076.lua
parent
4b16fafa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
script/c101301076.lua
script/c101301076.lua
+5
-5
No files found.
script/c101301076.lua
View file @
21eb0218
...
@@ -12,16 +12,17 @@ function s.initial_effect(c)
...
@@ -12,16 +12,17 @@ function s.initial_effect(c)
e2
:
SetCategory
(
CATEGORY_DESTROY
|
CATEGORY_REMOVE
|
CATEGORY_TODECK
|
CATEGORY_HANDES
)
e2
:
SetCategory
(
CATEGORY_DESTROY
|
CATEGORY_REMOVE
|
CATEGORY_TODECK
|
CATEGORY_HANDES
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EVENT_
SPSUMMON_SUCCESS
)
e2
:
SetCode
(
EVENT_
CUSTOM
+
id
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_ACTIVATE_CONDITION
)
e2
:
SetCondition
(
s
.
condition
)
e2
:
SetCondition
(
s
.
condition
)
e2
:
SetCost
(
s
.
cost
)
e2
:
SetCost
(
s
.
cost
)
e2
:
SetTarget
(
s
.
target
)
e2
:
SetTarget
(
s
.
target
)
e2
:
SetOperation
(
s
.
operation
)
e2
:
SetOperation
(
s
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
aux
.
RegisterMergedDelayedEvent
(
c
,
id
,
EVENT_SPSUMMON_SUCCESS
)
end
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
e
:
GetHandler
(),
1
-
tp
)
return
eg
:
IsExists
(
Card
.
IsSummonPlayer
,
1
,
e
:
GetHandler
(),
1
-
tp
)
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
...
@@ -42,8 +43,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -42,8 +43,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
b4
=
Duel
.
GetFlagEffect
(
tp
,
id
+
4
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b4
=
Duel
.
GetFlagEffect
(
tp
,
id
+
4
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFacedown
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b5
=
Duel
.
GetFlagEffect
(
tp
,
id
+
5
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b5
=
Duel
.
GetFlagEffect
(
tp
,
id
+
5
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b6
=
Duel
.
GetFlagEffect
(
tp
,
id
+
6
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
local
b6
=
Duel
.
GetFlagEffect
(
tp
,
id
+
6
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
and
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
and
(
b1
or
b2
or
b3
or
b4
or
b5
or
b6
)
end
and
(
b1
or
b2
or
b3
or
b4
or
b5
or
b6
)
end
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_CHAIN
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_CHAIN
,
0
,
1
)
local
op
=
0
local
op
=
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