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
3
Merge Requests
3
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
36f22f3c
Commit
36f22f3c
authored
Mar 24, 2021
by
mercury233
Committed by
GitHub
Mar 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Relinquished Fusion (#1596)
parent
113b445f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
c78063197.lua
c78063197.lua
+4
-3
c89785779.lua
c89785779.lua
+4
-3
No files found.
c78063197.lua
View file @
36f22f3c
...
@@ -95,8 +95,9 @@ function c78063197.filter(c)
...
@@ -95,8 +95,9 @@ function c78063197.filter(c)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToChangeControler
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToChangeControler
()
end
end
function
c78063197
.
eqfilter
(
c
)
function
c78063197
.
eqfilter
(
c
)
local
m
=
_G
[
"c"
..
c
:
GetOriginalCode
()]
local
m
=
_G
[
"c"
..
c
:
GetCode
()]
return
c
:
IsFaceup
()
and
((
c
:
IsSetCard
(
0x1110
)
and
c
:
IsType
(
TYPE_FUSION
))
or
c
:
IsCode
(
64631466
))
and
m
.
can_equip_monster
(
c
)
return
c
:
IsFaceup
()
and
((
c
:
IsSetCard
(
0x1110
)
and
c
:
IsType
(
TYPE_FUSION
))
or
c
:
IsCode
(
64631466
))
and
not
c
:
IsDisabled
()
and
m
.
can_equip_monster
and
m
.
can_equip_monster
(
c
)
end
end
function
c78063197
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c78063197
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c78063197
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c78063197
.
filter
(
chkc
)
end
...
@@ -113,7 +114,7 @@ function c78063197.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -113,7 +114,7 @@ function c78063197.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c78063197
.
eqfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c78063197
.
eqfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
tc2
=
g
:
GetFirst
()
local
tc2
=
g
:
GetFirst
()
local
m
=
_G
[
"c"
..
tc2
:
Get
Original
Code
()]
local
m
=
_G
[
"c"
..
tc2
:
GetCode
()]
if
tc1
:
IsFaceup
()
and
tc1
:
IsRelateToEffect
(
e
)
and
tc1
:
IsControler
(
1
-
tp
)
and
tc2
then
if
tc1
:
IsFaceup
()
and
tc1
:
IsRelateToEffect
(
e
)
and
tc1
:
IsControler
(
1
-
tp
)
and
tc2
then
m
.
equip_monster
(
tc2
,
tp
,
tc1
)
m
.
equip_monster
(
tc2
,
tp
,
tc1
)
end
end
...
...
c89785779.lua
View file @
36f22f3c
...
@@ -34,8 +34,9 @@ function c89785779.filter(c)
...
@@ -34,8 +34,9 @@ function c89785779.filter(c)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToChangeControler
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsAbleToChangeControler
()
end
end
function
c89785779
.
eqfilter
(
c
)
function
c89785779
.
eqfilter
(
c
)
local
m
=
_G
[
"c"
..
c
:
GetOriginalCode
()]
local
m
=
_G
[
"c"
..
c
:
GetCode
()]
return
c
:
IsFaceup
()
and
((
c
:
IsSetCard
(
0x1110
)
and
c
:
IsType
(
TYPE_FUSION
))
or
c
:
IsCode
(
64631466
))
and
m
.
can_equip_monster
(
c
)
return
c
:
IsFaceup
()
and
((
c
:
IsSetCard
(
0x1110
)
and
c
:
IsType
(
TYPE_FUSION
))
or
c
:
IsCode
(
64631466
))
and
not
c
:
IsDisabled
()
and
m
.
can_equip_monster
and
m
.
can_equip_monster
(
c
)
end
end
function
c89785779
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c89785779
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c89785779
.
filter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
c89785779
.
filter
(
chkc
)
and
chkc
~=
e
:
GetHandler
()
end
...
@@ -53,7 +54,7 @@ function c89785779.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +54,7 @@ function c89785779.eqop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c89785779
.
eqfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c89785779
.
eqfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
tc2
=
g
:
GetFirst
()
local
tc2
=
g
:
GetFirst
()
if
not
tc2
then
return
end
if
not
tc2
then
return
end
local
m
=
_G
[
"c"
..
tc2
:
Get
Original
Code
()]
local
m
=
_G
[
"c"
..
tc2
:
GetCode
()]
if
tc1
:
IsFaceup
()
and
tc1
:
IsRelateToEffect
(
e
)
and
tc1
:
IsControler
(
1
-
tp
)
then
if
tc1
:
IsFaceup
()
and
tc1
:
IsRelateToEffect
(
e
)
and
tc1
:
IsControler
(
1
-
tp
)
then
m
.
equip_monster
(
tc2
,
tp
,
tc1
)
m
.
equip_monster
(
tc2
,
tp
,
tc1
)
end
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