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
84ae3414
Commit
84ae3414
authored
Sep 13, 2024
by
zengsxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c100227003.lua
parent
6666b323
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
32 deletions
+29
-32
script/c100227003.lua
script/c100227003.lua
+29
-32
No files found.
script/c100227003.lua
View file @
84ae3414
--魔轟神レヴェルゼブル
--魔轟神レヴェルゼブル
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
--get
--get
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_CONTROL
)
e1
:
SetCategory
(
CATEGORY_CONTROL
+
CATEGORY_RELEASE
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_ATTACK
,
0x11e0
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
s
.
ctcost
)
e1
:
SetTarget
(
s
.
cttg
)
e1
:
SetTarget
(
s
.
cttg
)
e1
:
SetOperation
(
s
.
ctop
)
e1
:
SetOperation
(
s
.
ctop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -28,40 +30,35 @@ end
...
@@ -28,40 +30,35 @@ end
function
s
.
costfilter
(
c
,
tp
)
function
s
.
costfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x35
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
s
.
ctcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
s
.
costfilter
,
1
,
nil
,
tp
)
end
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
s
.
costfilter
,
nil
,
tp
)
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
true
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
Select
(
tp
,
1
,
tg
:
GetCount
(),
nil
)
local
ct
=
Duel
.
Release
(
sg
,
REASON_COST
)
e
:
SetLabel
(
ct
)
end
function
s
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControlerCanBeChanged
()
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
s
.
costfilter
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
nil
,
0
,
0
,
0
)
local
ct
=
e
:
GetLabel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
ct
,
ct
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
s
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
s
.
costfilter
,
nil
,
tp
)
if
not
Duel
.
GetControl
(
tg
,
tp
)
then
return
end
local
tg
=
Duel
.
GetMatchingGroup
(
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
nil
,
true
)
local
cg
=
tg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
for
tc
in
aux
.
Next
(
cg
)
do
local
sg
=
rg
:
Select
(
tp
,
1
,
tg
:
GetCount
(),
nil
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
ct
=
Duel
.
Release
(
sg
,
REASON_EFFECT
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
if
ct
>
0
then
e1
:
SetCode
(
EFFECT_DISABLE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
ct
,
ct
,
nil
)
tc
:
RegisterEffect
(
e1
)
if
not
Duel
.
GetControl
(
tg
,
tp
)
then
return
end
local
e2
=
Effect
.
CreateEffect
(
c
)
local
cg
=
tg
:
Filter
(
Card
.
IsControler
,
nil
,
tp
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
for
tc
in
aux
.
Next
(
cg
)
do
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e2
:
SetValue
(
RESET_TURN_SET
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetCode
(
EFFECT_DISABLE
)
tc
:
RegisterEffect
(
e2
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_DISABLE_EFFECT
)
e2
:
SetValue
(
RESET_TURN_SET
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
end
end
end
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
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