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
2
Merge Requests
2
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
8caa8e24
Commit
8caa8e24
authored
May 21, 2025
by
mercury233
Committed by
GitHub
May 21, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Infernity Break (#2943)
parent
58ccc3dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
c51717541.lua
c51717541.lua
+10
-12
No files found.
c51717541.lua
View file @
8caa8e24
...
@@ -24,20 +24,18 @@ function c51717541.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -24,20 +24,18 @@ function c51717541.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
Duel
.
IsExistingTarget
(
c51717541
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
c51717541
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c51717541
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c51717541
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
rm
=
g1
:
GetFirst
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
rm
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
ds
=
g2
:
GetFirst
(
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g1
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
ds
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g2
,
1
,
0
,
0
)
end
end
function
c51717541
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51717541
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex1
,
g1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_REMOVE
)
local
g
=
Duel
.
GetTargetsRelateToChain
()
local
rm
=
g1
:
GetFirst
()
local
rm
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
):
GetFirst
()
if
not
rm
:
IsRelateToEffect
(
e
)
then
return
end
if
rm
and
Duel
.
Remove
(
rm
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Remove
(
rm
,
POS_FACEUP
,
REASON_EFFECT
)
==
0
then
return
end
local
ds
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_ONFIELD
):
GetFirst
()
local
ex2
,
g2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_DESTROY
)
if
ds
then
local
ds
=
g2
:
GetFirst
()
if
not
ds
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Destroy
(
ds
,
REASON_EFFECT
)
Duel
.
Destroy
(
ds
,
REASON_EFFECT
)
end
end
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