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
5ef2dce8
Commit
5ef2dce8
authored
Jul 17, 2025
by
想象力很好的毛虫
Committed by
GitHub
Jul 17, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix リブロマンサー・アフェクテッド (#2981)
parent
61e55fae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
c88083109.lua
c88083109.lua
+7
-8
No files found.
c88083109.lua
View file @
5ef2dce8
...
...
@@ -22,6 +22,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
Duel
.
IsExistingTarget
(
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RTOHAND
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
e
:
SetLabelObject
(
g1
:
GetFirst
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsControlerCanBeChanged
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g1
,
1
,
0
,
0
)
...
...
@@ -29,15 +30,13 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
_
,
hg
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TOHAND
)
local
hc
=
hg
:
GetFirst
()
local
chk
=
hc
:
IsType
(
TYPE_RITUAL
)
if
hc
:
IsControler
(
tp
)
and
hc
:
IsRelateToEffect
(
e
)
local
tg
=
Duel
.
GetTargetsRelateToChain
()
local
hc
=
e
:
GetLabelObject
()
if
hc
and
hc
:
IsControler
(
tp
)
and
hc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoHand
(
hc
,
nil
,
REASON_EFFECT
)
>
0
and
hc
:
IsLocation
(
LOCATION_HAND
)
then
local
_
,
tg
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_CONTROL
)
local
tc
=
tg
:
GetFirst
()
if
tc
:
IsControler
(
1
-
tp
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
GetControl
(
tc
,
tp
)
>
0
and
not
chk
then
local
tc
=
(
tg
-
hc
):
GetFirst
()
if
tc
and
tc
:
IsControler
(
1
-
tp
)
and
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
GetControl
(
tc
,
tp
)
>
0
and
not
hc
:
IsType
(
TYPE_RITUAL
)
then
local
fid
=
c
:
GetFieldID
()
tc
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
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