Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
5d29fd0a
Commit
5d29fd0a
authored
Jan 28, 2025
by
GuGu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c99999602.lua 狂梦适配
parent
7cc44321
Pipeline
#32835
passed with stage
in 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
4 deletions
+64
-4
script/c99999602.lua
script/c99999602.lua
+64
-4
No files found.
script/c99999602.lua
View file @
5d29fd0a
...
@@ -52,8 +52,38 @@ function c99999602.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,8 +52,38 @@ function c99999602.activate(e,tp,eg,ep,ev,re,r,rp)
if
token
:
IsLocation
(
LOCATION_SZONE
)
then
if
token
:
IsLocation
(
LOCATION_SZONE
)
then
c200210
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c200210
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
token
:
CancelToGrave
(
false
)
token
:
CancelToGrave
(
false
)
Duel
.
BreakEffect
()
if
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsRelateToEffect
(
e
)
and
not
c
:
IsLocation
(
LOCATION_PZONE
+
LOCATION_FZONE
)
then
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
1
-
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
MoveToField
(
c
,
tp
,
1
-
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
else
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
if
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsLocation
(
LOCATION_PZONE
)
and
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
CheckLocation
(
1
-
tp
,
LOCATION_SZONE
,
0
)
or
Duel
.
CheckLocation
(
1
-
tp
,
LOCATION_SZONE
,
4
)
then
Duel
.
BreakEffect
()
Duel
.
MoveToField
(
c
,
tp
,
1
-
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
else
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
if
c
:
IsLocation
(
LOCATION_FZONE
)
and
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
CheckLocation
(
1
-
tp
,
LOCATION_SZONE
,
5
)
then
Duel
.
BreakEffect
()
Duel
.
MoveToField
(
c
,
tp
,
1
-
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
else
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
if
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
GetControl
(
c
,
1
-
tp
)
else
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
end
end
end
end
function
c99999602
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c99999602
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -67,8 +97,38 @@ function c99999602.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,8 +97,38 @@ function c99999602.op(e,tp,eg,ep,ev,re,r,rp)
if
token
:
IsLocation
(
LOCATION_SZONE
)
then
if
token
:
IsLocation
(
LOCATION_SZONE
)
then
c200210
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
c200210
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
token
:
CancelToGrave
(
false
)
token
:
CancelToGrave
(
false
)
Duel
.
BreakEffect
()
if
c
:
IsLocation
(
LOCATION_SZONE
)
and
c
:
IsRelateToEffect
(
e
)
and
not
c
:
IsLocation
(
LOCATION_PZONE
+
LOCATION_FZONE
)
then
Duel
.
MoveToField
(
e
:
GetHandler
(),
tp
,
1
-
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_SZONE
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
MoveToField
(
c
,
tp
,
1
-
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
else
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
if
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsLocation
(
LOCATION_PZONE
)
and
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
CheckLocation
(
1
-
tp
,
LOCATION_SZONE
,
0
)
or
Duel
.
CheckLocation
(
1
-
tp
,
LOCATION_SZONE
,
4
)
then
Duel
.
BreakEffect
()
Duel
.
MoveToField
(
c
,
tp
,
1
-
tp
,
LOCATION_PZONE
,
POS_FACEUP
,
true
)
else
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
if
c
:
IsLocation
(
LOCATION_FZONE
)
and
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
CheckLocation
(
1
-
tp
,
LOCATION_SZONE
,
5
)
then
Duel
.
BreakEffect
()
Duel
.
MoveToField
(
c
,
tp
,
1
-
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
else
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
if
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsRelateToEffect
(
e
)
then
if
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
BreakEffect
()
Duel
.
GetControl
(
c
,
1
-
tp
)
else
Duel
.
SendtoGrave
(
c
,
REASON_RULE
)
end
end
end
end
end
end
function
c99999602
.
sdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c99999602
.
sdcon
(
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