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
1
Merge Requests
1
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
327dc651
Commit
327dc651
authored
Jun 02, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 月光狼 to new fusion and hint more message
parent
e25b3cf2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
1 deletion
+55
-1
script/c47705572.lua
script/c47705572.lua
+48
-0
script/procedure.lua
script/procedure.lua
+7
-1
test-update.cdb
test-update.cdb
+0
-0
No files found.
script/c47705572.lua
0 → 100644
View file @
327dc651
--月光狼
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--pendulum summon
aux
.
EnablePendulumAttribute
(
c
)
--splimit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetRange
(
LOCATION_PZONE
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN_FORBIDDEN
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
s
.
splimit
)
c
:
RegisterEffect
(
e1
)
--fusion
local
e2
=
FusionSpell
.
CreateSummonEffect
(
c
,{
fusfilter
=
s
.
fusfilter
,
pre_select_mat_location
=
LOCATION_MZONE
|
LOCATION_GRAVE
,
mat_operation_code_map
=
{
{
[
LOCATION_REMOVED
]
=
FusionSpell
.
FUSION_OPERATION_GRAVE
},
{
[
0xff
]
=
FusionSpell
.
FUSION_OPERATION_BANISH
}
},
})
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetCountLimit
(
1
)
c
:
RegisterEffect
(
e2
)
--pierce
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_PIERCE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetTarget
(
s
.
ptg
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
not
(
c
:
IsSetCard
(
0xdf
)
and
c
:
IsType
(
TYPE_MONSTER
))
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
s
.
fusfilter
(
c
)
return
c
:
IsSetCard
(
0xdf
)
end
function
s
.
ptg
(
e
,
c
)
return
c
:
IsSetCard
(
0xdf
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
script/procedure.lua
View file @
327dc651
...
...
@@ -2420,6 +2420,7 @@ function FusionSpell.CreateSummonEffect(c,opts)
pre_select_mat_opponent_location
,
gc
))
e1
:
SetDescription
(
1169
)
--- 融合召喚
return
e1
end
...
...
@@ -2681,7 +2682,7 @@ function FusionSpell.GetSummonOperation(
if
#
confirm_materials
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
confirm_materials
)
end
Duel
.
HintSelection
(
materials
)
Duel
.
HintSelection
(
materials
-
confirm_materials
)
local
operated_material_count
=
0
-- perform operations on grouped materials
...
...
@@ -2691,6 +2692,8 @@ function FusionSpell.GetSummonOperation(
-- mark effect as used once. if count limit reached, reset the effect
for
effect
,
_
in
pairs
(
applied_extra_effects
)
do
--- hint opponent that this effect is applied
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
effect
:
GetDescription
())
effect
:
UseCountLimit
(
tp
)
if
effect
:
CheckCountLimit
(
tp
)
==
false
then
effect
:
Reset
()
...
...
@@ -2705,6 +2708,9 @@ function FusionSpell.GetSummonOperation(
Duel
.
SpecialSummonStep
(
tc
,
SUMMON_TYPE_FUSION
,
tp
,
tp
,
false
,
false
,
sumpos
)
end
else
--- hint opponent that this effect is applied
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
fusion_effect
:
GetDescription
())
--- fusion with chain material
fusion_effect
:
GetOperation
()(
e
,
e
,
tp
,
tc
,
materials
,
sumtype
,
sumpos
)
--- use the chain material effect, reset if exhausted
...
...
test-update.cdb
View file @
327dc651
No preview for this file type
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