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
81694ff8
Commit
81694ff8
authored
Apr 02, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
5b5720e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
7 deletions
+13
-7
script/c101208181.lua
script/c101208181.lua
+3
-3
script/c101208182.lua
script/c101208182.lua
+10
-4
No files found.
script/c101208181.lua
View file @
81694ff8
...
...
@@ -48,8 +48,8 @@ end
function
s
.
rcheck
(
g
,
tp
,
lv
)
return
g
:
GetSum
(
Card
.
GetLevel
)
==
lv
and
Duel
.
GetMZoneCount
(
tp
,
g
)
>
0
end
function
s
.
cfilter2
(
c
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsReleasable
()
and
c
:
IsLevelAbove
(
1
)
function
s
.
cfilter2
(
c
,
tp
)
return
c
:
IsRace
(
RACE_FAIRY
)
and
c
:
IsReleasable
()
and
c
:
IsLevelAbove
(
1
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
s
.
filter
(
c
,
e
,
tp
,
lvt
)
local
lv
=
c
:
GetLevel
()
...
...
@@ -74,7 +74,7 @@ function s.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsReleasable
()
or
not
c
:
IsRace
(
RACE_FAIRY
)
then
return
false
end
local
clv
=
c
:
GetLevel
()
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
s
.
cfilter2
,
c
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
s
.
cfilter2
,
c
,
tp
)
local
lvt
=
{}
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
...
...
script/c101208182.lua
View file @
81694ff8
...
...
@@ -24,12 +24,18 @@ function s.initial_effect(c)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
filter
(
c
)
return
c
:
IsReleasable
()
and
c
:
IsRace
(
RACE_FAIRY
)
function
s
.
filter
(
c
,
tp
)
return
c
:
IsReleasable
()
and
c
:
IsRace
(
RACE_FAIRY
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
function
s
.
rcheck
(
g
,
tp
)
return
Duel
.
GetSZoneCount
(
tp
,
g
)
>
0
and
Duel
.
CheckReleaseGroupEx
(
tp
,
Auxiliary
.
IsInGroup
,
#
g
,
REASON_COST
,
false
,
nil
,
g
)
end
function
s
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
s
.
filter
,
3
,
nil
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
s
.
filter
,
3
,
3
,
nil
)
local
rg
=
Duel
.
GetReleaseGroup
(
tp
,
true
,
REASON_COST
):
Filter
(
s
.
filter
,
nil
,
tp
)
if
chk
==
0
then
return
rg
:
CheckSubGroup
(
s
.
rcheck
,
3
,
3
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
rg
:
SelectSubGroup
(
tp
,
s
.
rcheck
,
false
,
3
,
3
,
tp
)
aux
.
UseExtraReleaseCount
(
g
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
s
.
stfilter
(
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