Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
md-prerelease
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
yxli
md-prerelease
Commits
c478abf2
Commit
c478abf2
authored
Apr 02, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix release
parent
81694ff8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
script/c101208181.lua
script/c101208181.lua
+5
-4
script/c101208182.lua
script/c101208182.lua
+1
-1
No files found.
script/c101208181.lua
View file @
c478abf2
...
@@ -45,8 +45,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,8 +45,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
function
s
.
rcheck
(
g
,
tp
,
lv
)
function
s
.
rcheck
(
g
,
tp
,
lv
,
ec
)
return
g
:
GetSum
(
Card
.
GetLevel
)
==
lv
and
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
return
g
:
GetSum
(
Card
.
GetLevel
)
==
lv
and
Duel
.
GetMZoneCount
(
tp
,
g
+
ec
)
>
0
and
Duel
.
CheckReleaseGroupEx
(
tp
,
Auxiliary
.
IsInGroup
,
#
g
,
REASON_COST
,
false
,
nil
,
g
)
end
end
function
s
.
cfilter2
(
c
,
tp
)
function
s
.
cfilter2
(
c
,
tp
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsReleasable
()
and
c
:
IsLevelAbove
(
1
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsReleasable
()
and
c
:
IsLevelAbove
(
1
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
...
@@ -77,7 +78,7 @@ function s.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -77,7 +78,7 @@ function s.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
s
.
cfilter2
,
c
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
s
.
cfilter2
,
c
,
tp
)
local
lvt
=
{}
local
lvt
=
{}
for
lv
=
clv
,
12
do
for
lv
=
clv
,
12
do
if
lv
==
clv
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
or
rg
:
CheckSubGroup
(
s
.
rcheck
,
1
,
99
,
tp
,
lv
-
clv
)
then
if
lv
==
clv
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
or
rg
:
CheckSubGroup
(
s
.
rcheck
,
1
,
99
,
tp
,
lv
-
clv
,
c
)
then
lvt
[
lv
]
=
true
lvt
[
lv
]
=
true
end
end
end
end
...
@@ -96,7 +97,7 @@ function s.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -96,7 +97,7 @@ function s.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local
tglv
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
alvt
))
local
tglv
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
alvt
))
if
tglv
>
clv
then
if
tglv
>
clv
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
s
.
rcheck
,
false
,
1
,
99
,
tp
,
tglv
-
clv
)
+
c
local
sg
=
rg
:
SelectSubGroup
(
tp
,
s
.
rcheck
,
false
,
1
,
99
,
tp
,
tglv
-
clv
,
c
)
+
c
aux
.
UseExtraReleaseCount
(
sg
,
tp
)
aux
.
UseExtraReleaseCount
(
sg
,
tp
)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
else
else
...
...
script/c101208182.lua
View file @
c478abf2
...
@@ -28,7 +28,7 @@ function s.filter(c,tp)
...
@@ -28,7 +28,7 @@ function s.filter(c,tp)
return
c
:
IsReleasable
()
and
c
:
IsRace
(
RACE_FAIRY
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
return
c
:
IsReleasable
()
and
c
:
IsRace
(
RACE_FAIRY
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
end
function
s
.
rcheck
(
g
,
tp
)
function
s
.
rcheck
(
g
,
tp
)
return
Duel
.
GetSZoneCount
(
tp
,
g
)
>
0
and
Duel
.
CheckReleaseGroupEx
(
tp
,
Auxiliary
.
IsInGroup
,
#
g
,
REASON_COST
,
fals
e
,
nil
,
g
)
return
Duel
.
GetSZoneCount
(
tp
,
g
)
>
0
and
Duel
.
CheckReleaseGroupEx
(
tp
,
Auxiliary
.
IsInGroup
,
#
g
,
REASON_COST
,
tru
e
,
nil
,
g
)
end
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_COST
):
Filter
(
s
.
filter
,
nil
,
tp
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_COST
):
Filter
(
s
.
filter
,
nil
,
tp
)
...
...
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