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
2133610b
Commit
2133610b
authored
Dec 20, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
b72964aa
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
29 deletions
+46
-29
script/c100256007.lua
script/c100256007.lua
+37
-16
script/c101304005.lua
script/c101304005.lua
+7
-11
script/c101304053.lua
script/c101304053.lua
+2
-2
No files found.
script/c100256007.lua
View file @
2133610b
--
星尘龙-牺牲者圣域
--
スターダスト・ドラゴン-ヴィクテム・サンクチュアリ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--synchro summon
aux
.
AddSynchroProcedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
--negat
iv
e
--negate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
...
...
@@ -13,8 +13,8 @@ function s.initial_effect(c)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
negcon
)
e1
:
SetTarget
(
s
.
negtg
)
e1
:
SetCost
(
s
.
cost
)
e1
:
SetTarget
(
s
.
negtg
)
e1
:
SetOperation
(
s
.
negop
)
c
:
RegisterEffect
(
e1
)
--special summon
...
...
@@ -30,7 +30,6 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sstg
)
e2
:
SetOperation
(
s
.
ssop
)
c
:
RegisterEffect
(
e2
)
--检测本回合自己怪兽是否解放过
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -40,16 +39,32 @@ function s.initial_effect(c)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
--牺牲者圣域!(拉里!!!)
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
function
s
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsChainDisablable
(
ev
)
then
return
false
end
local
te
,
p
=
Duel
.
GetChainInfo
(
ev
-
1
,
CHAININFO_TRIGGERING_EFFECT
,
CHAININFO_TRIGGERING_PLAYER
)
return
te
and
p
==
tp
and
rp
==
1
-
tp
end
function
s
.
excostfilter
(
c
,
tp
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsHasEffect
(
84012625
,
tp
)
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
excostfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
tp
)
if
e
:
GetHandler
():
IsReleasable
()
then
g
:
AddCard
(
e
:
GetHandler
())
end
if
chk
==
0
then
return
#
g
>
0
end
local
tc
if
#
g
>
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
84012625
,
0
))
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
else
tc
=
g
:
GetFirst
()
end
local
te
=
tc
:
IsHasEffect
(
84012625
,
tp
)
if
te
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_COST
+
REASON_REPLACE
)
else
Duel
.
Release
(
tc
,
REASON_COST
)
end
end
function
s
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
...
...
@@ -59,18 +74,24 @@ function s.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_CHAIN
,
0
,
1
)
end
function
s
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateTo
Effect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateTo
Chain
(
ev
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
--检测本回合自己怪兽是否解放过的重置
--check release
function
s
.
chkfilter
(
c
,
p
)
return
c
:
GetPreviousControler
()
==
p
and
(
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
or
c
:
IsType
(
TYPE_MONSTER
))
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
1
-
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
for
p
=
0
,
1
do
if
eg
:
IsExists
(
s
.
chkfilter
,
1
,
nil
,
p
)
then
Duel
.
RegisterFlagEffect
(
p
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
end
--
特召星尘
--
special summon
function
s
.
sscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFlagEffect
(
tp
,
id
)
>
=
1
return
Duel
.
GetFlagEffect
(
tp
,
id
)
>
0
end
function
s
.
ssfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xa3
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
...
...
@@ -83,7 +104,7 @@ function s.sstg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_CHAIN
,
0
,
1
)
end
function
s
.
ssop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetFirstMatchingCard
(
s
.
s
pfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
local
tg
=
Duel
.
GetFirstMatchingCard
(
s
.
s
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
)
if
tg
then
Duel
.
SpecialSummon
(
tg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
script/c101304005.lua
View file @
2133610b
--
爆裂音速战士
--
バスターソニック・ウォリアー
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
60800381
,
80280737
)
...
...
@@ -15,7 +15,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--to hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
...
...
@@ -29,7 +29,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
--addattack
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
93490856
,
1
))
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e4
:
SetCategory
(
CATEGORY_TOGRAVE
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_PLAYER_TARGET
)
...
...
@@ -40,14 +40,10 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsCode
(
60800381
)
or
aux
.
IsCodeListed
(
c
,
60800381
)
or
c
:
IsCode
(
80280737
)
or
aux
.
IsCodeListed
(
c
,
80280737
))
return
c
:
IsFaceup
()
and
(
aux
.
IsCodeOrListed
(
c
,
60800381
)
or
aux
.
IsCodeOrListed
(
c
,
80280737
))
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_
MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
@@ -56,12 +52,12 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateTo
Effect
(
e
)
then
if
c
:
IsRelateTo
Chain
(
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
s
.
filter
(
c
)
return
(
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x1017
))
or
c
:
IsCode
(
80280737
))
and
c
:
IsAbleToHand
()
return
(
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x1017
)
or
c
:
IsCode
(
80280737
))
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
script/c101304053.lua
View file @
2133610b
--
废品信号
--
ジャンク・シグナル
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
60800381
,
44508094
)
--spsummon
from hand、deck、grave
--spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
...
...
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