Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Ai
ygopro-222DIY-cards
Commits
bb888252
Commit
bb888252
authored
Apr 09, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
md
parent
bf69daad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
expansions/script/c30611103.lua
expansions/script/c30611103.lua
+7
-7
No files found.
expansions/script/c30611103.lua
View file @
bb888252
...
@@ -90,23 +90,23 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -90,23 +90,23 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
if
e
:
GetLabel
()
~=
100
then
return
false
end
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
costfilter0
,
1
,
e
:
GetHandler
())
return
Duel
.
CheckReleaseGroupEx
(
tp
,
cm
.
costfilter0
,
1
,
REASON_COST
,
e
:
GetHandler
())
end
end
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
local
off
=
1
local
off
=
1
local
ops
=
{}
local
ops
=
{}
local
opval
=
{}
local
opval
=
{}
if
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
costfilter1
,
1
,
e
:
GetHandler
())
then
if
Duel
.
CheckReleaseGroupEx
(
tp
,
cm
.
costfilter1
,
1
,
REASON_COST
,
e
:
GetHandler
())
then
ops
[
off
]
=
aux
.
Stringid
(
m
,
1
)
ops
[
off
]
=
aux
.
Stringid
(
m
,
1
)
opval
[
off
-
1
]
=
1
opval
[
off
-
1
]
=
1
off
=
off
+
1
off
=
off
+
1
end
end
if
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
costfilter2
,
1
,
e
:
GetHandler
())
then
if
Duel
.
CheckReleaseGroupEx
(
tp
,
cm
.
costfilter2
,
1
,
REASON_COST
,
e
:
GetHandler
())
then
ops
[
off
]
=
aux
.
Stringid
(
m
,
2
)
ops
[
off
]
=
aux
.
Stringid
(
m
,
2
)
opval
[
off
-
1
]
=
2
opval
[
off
-
1
]
=
2
off
=
off
+
1
off
=
off
+
1
end
end
if
Duel
.
CheckReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
costfilter3
,
1
,
e
:
GetHandler
())
then
if
Duel
.
CheckReleaseGroupEx
(
tp
,
cm
.
costfilter3
,
1
,
REASON_COST
,
e
:
GetHandler
())
then
ops
[
off
]
=
aux
.
Stringid
(
m
,
3
)
ops
[
off
]
=
aux
.
Stringid
(
m
,
3
)
opval
[
off
-
1
]
=
3
opval
[
off
-
1
]
=
3
off
=
off
+
1
off
=
off
+
1
...
@@ -114,15 +114,15 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -114,15 +114,15 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
off
==
1
then
return
end
if
off
==
1
then
return
end
local
op
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
ops
))
local
op
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
ops
))
if
opval
[
op
]
==
1
then
if
opval
[
op
]
==
1
then
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
costfilter1
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
cm
.
costfilter1
,
1
,
1
,
REASON_COST
,
e
:
GetHandler
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
elseif
opval
[
op
]
==
2
then
elseif
opval
[
op
]
==
2
then
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
costfilter2
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
cm
.
costfilter2
,
1
,
1
,
REASON_COST
,
e
:
GetHandler
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
e
:
SetLabel
(
2
)
e
:
SetLabel
(
2
)
elseif
opval
[
op
]
==
3
then
elseif
opval
[
op
]
==
3
then
local
g
=
Duel
.
SelectReleaseGroupEx
(
REASON_COST
,
tp
,
cm
.
costfilter3
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
SelectReleaseGroupEx
(
tp
,
cm
.
costfilter3
,
1
,
1
,
REASON_COST
,
e
:
GetHandler
())
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
e
:
SetLabel
(
3
)
e
:
SetLabel
(
3
)
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