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
9853d626
Commit
9853d626
authored
Jun 19, 2025
by
mercury233
Committed by
GitHub
Jun 19, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix "banish both" (#2964)
parent
024ce996
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
12 deletions
+14
-12
c15094540.lua
c15094540.lua
+4
-4
c29301450.lua
c29301450.lua
+1
-1
c3657444.lua
c3657444.lua
+2
-1
c65898344.lua
c65898344.lua
+1
-1
c73898890.lua
c73898890.lua
+1
-1
c85216896.lua
c85216896.lua
+1
-1
c99529628.lua
c99529628.lua
+4
-3
No files found.
c15094540.lua
View file @
9853d626
...
...
@@ -54,12 +54,12 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
g1
:
Merge
(
g2
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g1
,
g1
:
GetCount
(),
0
,
0
)
end
function
s
.
rmopfilter
(
c
,
e
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
Is
RelateToEffect
(
e
)
function
s
.
rmopfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
Is
AbleToRemove
(
)
end
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
ChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
g
:
Filter
(
aux
.
NecroValleyFilter
(
s
.
rmopfilter
),
nil
,
e
)
local
g
=
Duel
.
Get
TargetsRelateToChain
(
)
local
tg
=
g
:
Filter
(
aux
.
NecroValleyFilter
(
s
.
rmopfilter
),
nil
)
if
tg
:
GetCount
()
==
2
then
Duel
.
Remove
(
tg
,
POS_FACEUP
,
REASON_EFFECT
)
end
...
...
c29301450.lua
View file @
9853d626
...
...
@@ -83,7 +83,7 @@ function s.drmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
2
,
0
,
0
)
end
function
s
.
drmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetTargetsRelateToChain
():
Filter
(
Card
.
IsAbleToRemove
,
nil
,
tp
,
POS_FACEUP
,
REASON_EFFECT
)
local
g
=
Duel
.
GetTargetsRelateToChain
():
Filter
(
Card
.
IsAbleToRemove
,
nil
)
if
#
g
~=
2
or
Duel
.
Remove
(
g
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
==
0
or
not
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_REMOVED
)
then
return
end
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
...
...
c3657444.lua
View file @
9853d626
...
...
@@ -63,7 +63,8 @@ end
function
c3657444
.
operation2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
and
tc
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
and
tc
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsAbleToRemove
()
and
tc
:
IsAbleToRemove
()
then
local
sg
=
Group
.
FromCards
(
c
,
tc
)
if
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
~=
2
then
return
end
Duel
.
BreakEffect
()
...
...
c65898344.lua
View file @
9853d626
...
...
@@ -49,7 +49,7 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g1
,
2
,
0
,
0
)
end
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
ChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
Get
TargetsRelateToChain
():
Filter
(
Card
.
IsAbleToRemove
,
nil
)
if
#
g
==
2
and
Duel
.
Remove
(
g
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
then
local
resetv
=
1
if
Duel
.
GetTurnPlayer
()
==
tp
and
Duel
.
GetCurrentPhase
()
<=
PHASE_STANDBY
then
...
...
c73898890.lua
View file @
9853d626
...
...
@@ -48,7 +48,7 @@ function c73898890.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g1
,
2
,
0
,
0
)
end
function
c73898890
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetTargetsRelateToChain
()
local
g
=
Duel
.
GetTargetsRelateToChain
()
:
Filter
(
Card
.
IsAbleToDeck
,
nil
)
if
#
g
==
2
then
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
...
...
c85216896.lua
View file @
9853d626
...
...
@@ -70,7 +70,7 @@ function c85216896.rmtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g1
,
2
,
0
,
0
)
end
function
c85216896
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
ChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
g
=
Duel
.
Get
TargetsRelateToChain
():
Filter
(
Card
.
IsAbleToRemove
,
nil
)
if
g
:
GetCount
()
~=
2
then
return
end
if
Duel
.
Remove
(
g
,
0
,
REASON_EFFECT
+
REASON_TEMPORARY
)
~=
0
and
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_REMOVED
)
then
local
og
=
Duel
.
GetOperatedGroup
():
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
...
...
c99529628.lua
View file @
9853d626
...
...
@@ -92,9 +92,10 @@ function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local
res1
,
tg1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_REMOVE
)
local
res2
,
tg2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
)
local
c
,
rc
,
sc
=
e
:
GetHandler
(),
tg1
:
GetFirst
(),
tg2
:
GetFirst
()
if
rc
:
IsRelateToEffect
(
e
)
and
rc
:
IsControler
(
1
-
tp
)
and
rc
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsOnField
()
and
Duel
.
Remove
(
c
,
POS_FACEUP
,
REASON_EFFECT
)
*
Duel
.
Remove
(
tg1
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
sc
:
IsRelateToEffect
(
e
)
and
sc
:
IsRace
(
RACE_FISH
)
then
if
rc
:
IsRelateToEffect
(
e
)
and
rc
:
IsControler
(
1
-
tp
)
and
rc
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsAbleToRemove
()
and
rc
:
IsAbleToRemove
()
then
local
rg
=
Group
.
FromCards
(
c
,
rc
)
if
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
==
2
and
sc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
sc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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