Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Amiya
pre-release-database-cdb
Commits
1c40335e
Commit
1c40335e
authored
Dec 01, 2023
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 百鬼羅刹大集会:
https://github.com/Fluorohydride/ygopro-pre-script/pull/1255
parent
efb9a085
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
script/c101203060.lua
script/c101203060.lua
+8
-3
No files found.
script/c101203060.lua
View file @
1c40335e
...
...
@@ -48,7 +48,13 @@ end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
s
.
filter
(
chkc
)
and
chkc
:
IsControler
(
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
2
,
nil
,
e
)
end
Duel
.
SelectTarget
(
tp
,
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
2
,
2
,
nil
,
e
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
2
,
2
,
nil
,
e
)
local
tc1
=
g
:
GetFirst
()
local
tc2
=
g
:
GetNext
()
local
lv1
=
tc1
:
GetLevel
()
local
lv2
=
tc2
:
GetLevel
()
local
op
=
aux
.
SelectFromOptions
(
tp
,{
lv1
~=
lv2
,
aux
.
Stringid
(
id
,
2
)},{
true
,
aux
.
Stringid
(
id
,
3
)})
e
:
SetLabel
(
op
)
end
function
s
.
tgfilter
(
c
,
e
)
return
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
...
...
@@ -60,8 +66,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
local
tc2
=
g
:
GetNext
()
local
lv1
=
tc1
:
GetLevel
()
local
lv2
=
tc2
:
GetLevel
()
local
op
=
aux
.
SelectFromOptions
(
tp
,{
lv1
~=
lv2
,
aux
.
Stringid
(
id
,
2
)},{
true
,
aux
.
Stringid
(
id
,
3
)})
if
op
==
1
then
if
e
:
GetLabel
()
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
4
))
local
g1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
lv
=
g1
:
GetFirst
():
GetLevel
()
...
...
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