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
八宫一月
ygopro-scripts
Commits
499e91b3
Commit
499e91b3
authored
Feb 28, 2021
by
mercury233
Committed by
GitHub
Feb 28, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix センサー万別 (#1574)
parent
89af1f6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
c24207889.lua
c24207889.lua
+13
-0
No files found.
c24207889.lua
View file @
499e91b3
...
...
@@ -29,6 +29,13 @@ function c24207889.initial_effect(c)
local
e6
=
e4
:
Clone
()
e6
:
SetCode
(
EFFECT_CANNOT_FLIP_SUMMON
)
c
:
RegisterEffect
(
e6
)
if
not
c24207889
.
global_check
then
c24207889
.
global_check
=
true
c24207889
[
0
]
=
Group
.
CreateGroup
()
c24207889
[
0
]:
KeepAlive
()
c24207889
[
1
]
=
Group
.
CreateGroup
()
c24207889
[
1
]:
KeepAlive
()
end
end
function
c24207889
.
rmfilter
(
c
,
rc
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
rc
)
...
...
@@ -51,6 +58,7 @@ function c24207889.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
rg
=
g
:
Filter
(
Card
.
IsRace
,
nil
,
race
)
local
rc
=
rg
:
GetCount
()
if
rc
>
1
then
rg
:
Sub
(
c24207889
[
p
])
Duel
.
Hint
(
HINT_SELECTMSG
,
p
,
HINTMSG_TOGRAVE
)
local
dg
=
rg
:
Select
(
p
,
rc
-
1
,
rc
-
1
,
nil
)
sg
:
Merge
(
dg
)
...
...
@@ -62,4 +70,9 @@ function c24207889.adjustop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
sg
,
REASON_RULE
)
Duel
.
Readjust
()
end
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
p
,
LOCATION_MZONE
,
0
,
nil
)
c24207889
[
p
]:
Clear
()
c24207889
[
p
]:
Merge
(
g
)
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