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
b09931d5
Commit
b09931d5
authored
Jan 18, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix De-Fusion & De-Synchro
parent
77c020b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
c32441317.lua
c32441317.lua
+4
-4
c95286165.lua
c95286165.lua
+3
-3
No files found.
c32441317.lua
View file @
b09931d5
...
@@ -30,10 +30,10 @@ function c32441317.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -30,10 +30,10 @@ function c32441317.activate(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
mg
=
tc
:
GetMaterial
()
local
mg
=
tc
:
GetMaterial
()
local
ct
=
mg
:
GetCount
()
local
ct
=
mg
:
GetCount
()
local
sumtype
=
tc
:
GetSummonType
(
)
if
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
if
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
~=
0
and
sumtype
==
SUMMON_TYPE_SYNCHRO
and
tc
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
ct
>
0
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
ct
>
0
and
ct
<=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
and
ct
<=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
and
(
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
or
ct
==
1
)
and
mg
:
FilterCount
(
aux
.
NecroValleyFilter
(
c32441317
.
mgfilter
),
nil
,
e
,
tp
,
tc
)
==
ct
and
mg
:
FilterCount
(
aux
.
NecroValleyFilter
(
c32441317
.
mgfilter
),
nil
,
e
,
tp
,
tc
)
==
ct
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
32441317
,
0
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
32441317
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
c95286165.lua
View file @
b09931d5
...
@@ -31,11 +31,11 @@ function c95286165.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,11 +31,11 @@ function c95286165.activate(e,tp,eg,ep,ev,re,r,rp)
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
if
not
(
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
())
then
return
end
local
mg
=
tc
:
GetMaterial
()
local
mg
=
tc
:
GetMaterial
()
local
ct
=
mg
:
GetCount
()
local
ct
=
mg
:
GetCount
()
local
sumtype
=
tc
:
GetSummonType
(
)
if
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_EXTRA
)
if
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
~=
0
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
and
tc
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
and
ct
>
0
and
ct
<=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
and
ct
>
0
and
ct
<=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
and
(
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
or
ct
==
1
)
and
mg
:
FilterCount
(
aux
.
NecroValleyFilter
(
c95286165
.
mgfilter
),
nil
,
e
,
tp
,
tc
,
mg
)
==
ct
and
mg
:
FilterCount
(
aux
.
NecroValleyFilter
(
c95286165
.
mgfilter
),
nil
,
e
,
tp
,
tc
,
mg
)
==
ct
and
not
Duel
.
IsPlayerAffectedByEffect
(
tp
,
59822133
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
95286165
,
0
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
95286165
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
mg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
mg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
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