Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
Reinen
ygopro-scripts
Commits
e481b3e1
Commit
e481b3e1
authored
Jan 24, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix setcodes
I'm very sorry for any inconvenience
parent
bd0db698
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
10 deletions
+10
-10
c19211362.lua
c19211362.lua
+1
-1
c45666710.lua
c45666710.lua
+1
-1
c46606977.lua
c46606977.lua
+1
-1
c48736598.lua
c48736598.lua
+3
-3
c63972571.lua
c63972571.lua
+1
-1
c72090076.lua
c72090076.lua
+1
-1
c8662794.lua
c8662794.lua
+2
-2
No files found.
c19211362.lua
View file @
e481b3e1
...
@@ -43,7 +43,7 @@ function c19211362.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c19211362.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c19211362
.
srfilter
(
c
)
function
c19211362
.
srfilter
(
c
)
return
c
:
IsSetCard
(
0x
23e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
19211362
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
13d
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
19211362
)
and
c
:
IsAbleToHand
()
end
end
function
c19211362
.
srtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c19211362
.
srtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c19211362
.
srfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c19211362
.
srfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
c45666710.lua
View file @
e481b3e1
...
@@ -13,7 +13,7 @@ function c45666710.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c45666710.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c45666710
.
filter
(
c
,
e
,
tp
)
function
c45666710
.
filter
(
c
,
e
,
tp
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsSetCard
(
0x
23e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsSetCard
(
0x
13d
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c45666710
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c45666710
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c45666710
.
filter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c45666710
.
filter
(
chkc
,
e
,
tp
)
end
...
...
c46606977.lua
View file @
e481b3e1
...
@@ -44,7 +44,7 @@ function c46606977.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c46606977.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c46606977
.
thfilter
(
c
)
function
c46606977
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x
23e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
46606977
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
13d
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
46606977
)
and
c
:
IsAbleToHand
()
end
end
function
c46606977
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c46606977
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c46606977
.
thfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c46606977
.
thfilter
(
chkc
)
end
...
...
c48736598.lua
View file @
e481b3e1
...
@@ -26,13 +26,13 @@ function c48736598.initial_effect(c)
...
@@ -26,13 +26,13 @@ function c48736598.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c48736598
.
lcheck
(
g
,
lc
)
function
c48736598
.
lcheck
(
g
,
lc
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x
2
3c
)
return
g
:
IsExists
(
Card
.
IsLinkSetCard
,
1
,
nil
,
0x
1
3c
)
end
end
function
c48736598
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c48736598
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetMutualLinkedGroupCount
()
>
0
return
e
:
GetHandler
():
GetMutualLinkedGroupCount
()
>
0
end
end
function
c48736598
.
spfilter
(
c
,
e
,
tp
)
function
c48736598
.
spfilter
(
c
,
e
,
tp
)
if
not
c
:
IsSetCard
(
0x
2
3c
)
then
return
false
end
if
not
c
:
IsSetCard
(
0x
1
3c
)
then
return
false
end
local
ok
=
false
local
ok
=
false
for
p
=
0
,
1
do
for
p
=
0
,
1
do
local
zone
=
Duel
.
GetLinkedZone
(
p
)
&
0xff
local
zone
=
Duel
.
GetLinkedZone
(
p
)
&
0xff
...
@@ -86,7 +86,7 @@ function c48736598.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -86,7 +86,7 @@ function c48736598.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c48736598
.
desfilter
(
c
)
function
c48736598
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
2
3c
)
and
c
:
IsLinkState
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
1
3c
)
and
c
:
IsLinkState
()
end
end
function
c48736598
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c48736598
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c48736598
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c48736598
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
...
...
c63972571.lua
View file @
e481b3e1
...
@@ -58,7 +58,7 @@ function c63972571.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -58,7 +58,7 @@ function c63972571.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c63972571
.
cfilter
(
c
)
function
c63972571
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x
23d
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
return
c
:
IsSetCard
(
0x
13e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsAbleToRemoveAsCost
()
end
end
function
c63972571
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c63972571
.
descost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c72090076.lua
View file @
e481b3e1
...
@@ -44,7 +44,7 @@ function c72090076.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c72090076.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c72090076
.
thfilter
(
c
)
function
c72090076
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
23e
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
72090076
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
13d
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
72090076
)
and
c
:
IsAbleToHand
()
end
end
function
c72090076
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c72090076
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c72090076
.
thfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c72090076
.
thfilter
(
chkc
)
end
...
...
c8662794.lua
View file @
e481b3e1
...
@@ -35,11 +35,11 @@ end
...
@@ -35,11 +35,11 @@ end
function
c8662794
.
atktg
(
e
,
c
)
function
c8662794
.
atktg
(
e
,
c
)
local
lg1
=
c
:
GetLinkedGroup
()
local
lg1
=
c
:
GetLinkedGroup
()
local
lg2
=
e
:
GetHandler
():
GetLinkedGroup
()
local
lg2
=
e
:
GetHandler
():
GetLinkedGroup
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
and
not
c
:
IsSetCard
(
0x
2
3c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
and
not
c
:
IsSetCard
(
0x
1
3c
)
and
(
lg1
and
lg1
:
IsContains
(
e
:
GetHandler
())
or
lg2
and
lg2
:
IsContains
(
c
))
and
(
lg1
and
lg1
:
IsContains
(
e
:
GetHandler
())
or
lg2
and
lg2
:
IsContains
(
c
))
end
end
function
c8662794
.
desfilter
(
c
)
function
c8662794
.
desfilter
(
c
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousTypeOnField
()
&
TYPE_LINK
~=
0
and
c
:
IsPreviousSetCard
(
0x
2
3c
)
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousTypeOnField
()
&
TYPE_LINK
~=
0
and
c
:
IsPreviousSetCard
(
0x
1
3c
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
end
end
function
c8662794
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c8662794
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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