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
878905e4
Commit
878905e4
authored
May 31, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 影牢の呪縛 to new fusion
parent
bdf41d11
Pipeline
#37030
failed with stages
in 2 minutes and 49 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
153 additions
and
33 deletions
+153
-33
script/c81788994.lua
script/c81788994.lua
+70
-0
script/procedure.lua
script/procedure.lua
+83
-33
No files found.
script/c81788994.lua
0 → 100644
View file @
878905e4
--影牢の呪縛
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x16
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
--counter
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCondition
(
s
.
ctcon
)
e2
:
SetOperation
(
s
.
ctop
)
c
:
RegisterEffect
(
e2
)
--atkdown
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e3
:
SetCondition
(
s
.
atkcon
)
e3
:
SetValue
(
s
.
atkval
)
c
:
RegisterEffect
(
e3
)
-- Each time you Fusion Summon a "Shaddoll" Fusion Monster, you can remove 3 Spellstone Counters from this card to use 1 appropriate face-up monster your opponent controls as 1 of the Fusion Materials.
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e4
:
SetType
(
EFFECT_TYPE_FIELD
)
e4
:
SetCode
(
EFFECT_EXTRA_FUSION_MATERIAL
)
e4
:
SetRange
(
LOCATION_FZONE
)
e4
:
SetCondition
(
s
.
extra_material_con
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetTarget
(
function
(
_
,
mc
)
return
mc
:
IsFaceup
()
and
mc
:
IsType
(
TYPE_MONSTER
)
end
)
e4
:
SetCost
(
s
.
extra_material_cost
)
e4
:
SetOperation
(
function
()
return
FusionSpell
.
FUSION_OPERATION_INHERIT
end
)
e4
:
SetValue
(
function
(
fusion_effect
,
tc
)
return
tc
and
tc
:
IsSetCard
(
0x9d
)
and
c
:
IsControler
(
fusion_effect
:
GetHandlerPlayer
())
end
)
e4
:
SetLabel
(
1
)
--- at most 1 material per fusion effect
c
:
RegisterEffect
(
e4
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x9d
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
s
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
)
end
function
s
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
eg
:
FilterCount
(
s
.
cfilter
,
nil
)
---e:GetHandler():AddCounter(0x16,ct)
---fake: put 100 counter instead
e
:
GetHandler
():
AddCounter
(
0x16
,
ct
*
100
)
end
function
s
.
atkcon
(
e
)
return
Duel
.
GetTurnPlayer
()
~=
e
:
GetHandlerPlayer
()
end
function
s
.
atkval
(
e
,
c
)
return
e
:
GetHandler
():
GetCounter
(
0x16
)
*-
100
end
function
s
.
extra_material_con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x16
,
3
,
REASON_ACTION
)
end
---@param e Effect
function
s
.
extra_material_cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x16
,
3
,
REASON_ACTION
)
end
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x16
,
3
,
REASON_ACTION
)
end
script/procedure.lua
View file @
878905e4
This diff is collapsed.
Click to expand it.
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