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
b56a2ac6
Commit
b56a2ac6
authored
Dec 31, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cyberse linkers
parent
e264f42f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
6 deletions
+27
-6
c2347477.lua
c2347477.lua
+9
-2
c37119142.lua
c37119142.lua
+9
-2
c75130221.lua
c75130221.lua
+9
-2
No files found.
c2347477.lua
View file @
b56a2ac6
...
...
@@ -35,8 +35,15 @@ end
function
c2347477
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
e
:
SetLabel
(
0
)
if
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
then
e
:
SetLabel
(
1
)
end
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
+
LOCATION_HAND
)
and
r
==
REASON_LINK
and
c
:
GetReasonCard
():
IsSetCard
(
0x101
)
if
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
+
LOCATION_HAND
)
and
r
==
REASON_LINK
and
c
:
GetReasonCard
():
IsSetCard
(
0x101
)
then
if
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
then
e
:
SetLabel
(
1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
2347477
,
1
))
end
return
true
else
return
false
end
end
function
c2347477
.
thfilter
(
c
,
chk
)
return
((
c
:
IsSetCard
(
0x118
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
))
or
(
chk
==
1
and
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsLevel
(
4
)))
and
c
:
IsAbleToHand
()
...
...
c37119142.lua
View file @
b56a2ac6
...
...
@@ -35,8 +35,15 @@ end
function
c37119142
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
e
:
SetLabel
(
0
)
if
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
then
e
:
SetLabel
(
1
)
end
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
+
LOCATION_HAND
)
and
r
==
REASON_LINK
and
c
:
GetReasonCard
():
IsSetCard
(
0x101
)
if
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
+
LOCATION_HAND
)
and
r
==
REASON_LINK
and
c
:
GetReasonCard
():
IsSetCard
(
0x101
)
then
if
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
then
e
:
SetLabel
(
1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
37119142
,
1
))
end
return
true
else
return
false
end
end
function
c37119142
.
thfilter
(
c
,
e
,
tp
,
chk
)
return
c
:
IsRace
(
RACE_CYBERSE
)
and
c
:
IsLevelBelow
(
4
)
...
...
c75130221.lua
View file @
b56a2ac6
...
...
@@ -35,8 +35,15 @@ end
function
c75130221
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
e
:
SetLabel
(
0
)
if
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
then
e
:
SetLabel
(
1
)
end
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
+
LOCATION_HAND
)
and
r
==
REASON_LINK
and
c
:
GetReasonCard
():
IsSetCard
(
0x101
)
if
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
+
LOCATION_HAND
)
and
r
==
REASON_LINK
and
c
:
GetReasonCard
():
IsSetCard
(
0x101
)
then
if
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
then
e
:
SetLabel
(
1
)
c
:
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
75130221
,
1
))
end
return
true
else
return
false
end
end
function
c75130221
.
disfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsAttackAbove
(
1
)
or
aux
.
disfilter1
(
c
))
...
...
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