Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
4
Merge Requests
4
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
ygopro-scripts-888
Commits
322eb7c9
Commit
322eb7c9
authored
Nov 03, 2025
by
Vury Leo
Committed by
wind2009
Nov 15, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix パーティカル・フュージョン under copy
parent
bd1c7ef1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
21 deletions
+21
-21
c39261576.lua
c39261576.lua
+21
-21
No files found.
c39261576.lua
View file @
322eb7c9
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
local
e1
=
FusionSpell
.
RegisterSummonEffect
(
c
,{
local
e1
=
FusionSpell
.
RegisterSummonEffect
(
c
,{
fusfilter
=
s
.
fusfilter
,
fusfilter
=
s
.
fusfilter
,
pre_select_mat_location
=
LOCATION_MZONE
,
pre_select_mat_location
=
LOCATION_MZONE
,
stage_x_operation
=
s
.
stage_x_operation
stage_x_operation
=
s
.
stage_x_operation
,
})
})
--atk up
--atk up
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -30,12 +30,14 @@ end
...
@@ -30,12 +30,14 @@ end
--- @type FUSION_SPELL_STAGE_X_CALLBACK_FUNCTION
--- @type FUSION_SPELL_STAGE_X_CALLBACK_FUNCTION
function
s
.
stage_x_operation
(
e
,
tc
,
tp
,
stage
)
function
s
.
stage_x_operation
(
e
,
tc
,
tp
,
stage
)
if
stage
==
FusionSpell
.
STAGE_AT_SUMMON_OPERATION_FINISH
then
if
stage
==
FusionSpell
.
STAGE_AT_SUMMON_OPERATION_FINISH
then
e
:
SetLabelObject
(
tc
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_CHAIN_END
)
e1
:
SetCode
(
EVENT_CHAIN_END
)
e1
:
SetOperation
(
s
.
evop
)
e1
:
SetOperation
(
function
(
ee
,
tpp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e1
:
SetLabelObject
(
e
)
-- mark the summoned monster and raise the custom event for it
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
,
0
,
1
)
Duel
.
RaiseEvent
(
tc
,
EVENT_CUSTOM
+
id
,
e
,
0
,
tp
,
tp
,
0
)
end
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
...
@@ -45,26 +47,32 @@ function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,26 +47,32 @@ function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemove
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToRemove
AsCost
()
end
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
true
end
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
local
mat
=
tc
:
GetMaterial
()
--- bail out if summoned monster is gone
if
chkc
then
return
chkc
:
IsSetCard
(
0x1047
)
and
mat
:
IsContains
(
chkc
)
end
if
not
(
tc
and
tc
:
IsFaceup
()
and
tc
:
GetFlagEffect
(
id
)
>
0
)
then
return
end
if
chk
==
0
then
return
mat
:
IsExists
(
Card
.
IsSetCard
,
1
,
nil
,
0x1047
)
end
local
mat
=
tc
:
GetMaterial
():
Filter
(
function
(
mc
)
return
mc
:
IsSetCard
(
0x1047
)
and
mc
:
IsAttackAbove
(
0
)
and
mc
:
IsCanBeEffectTarget
(
e
)
end
,
nil
)
--- bail out if no valid material monster
if
#
mat
==
0
then
return
end
if
chkc
then
return
mat
:
IsContains
(
chkc
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
1
))
local
g
=
mat
:
FilterSelect
(
tp
,
Card
.
IsSetCard
,
1
,
1
,
nil
,
0x1047
)
local
g
=
mat
:
Select
(
tp
,
1
,
1
,
nil
)
tc
:
CreateEffectRelation
(
e
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
end
end
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sc
=
eg
:
GetFirst
()
local
sc
=
eg
:
GetFirst
()
if
not
sc
:
IsRelateToEffect
(
e
)
or
sc
:
IsFacedown
(
)
then
return
end
if
not
(
sc
and
sc
:
IsFaceup
()
and
sc
:
GetFlagEffect
(
id
)
>
0
)
then
return
end
local
tc
=
Duel
.
Get
FirstTarge
t
()
local
tc
=
Duel
.
Get
TargetsRelateToChain
():
GetFirs
t
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
@@ -72,11 +80,3 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,11 +80,3 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
sc
:
RegisterEffect
(
e1
)
sc
:
RegisterEffect
(
e1
)
end
end
function
s
.
evop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
local
tc
=
te
:
GetLabelObject
()
Duel
.
RaiseEvent
(
tc
,
EVENT_CUSTOM
+
id
,
te
,
0
,
tp
,
tp
,
0
)
te
:
SetLabelObject
(
nil
)
e
:
Reset
()
end
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