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
MyCard
pre-release-database-cdb
Commits
05356c9d
Commit
05356c9d
authored
Apr 27, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 竜儀巧-メテオニス=DAD
parent
9eb056e3
Pipeline
#26713
passed with stages
in 53 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
script/c101205032.lua
script/c101205032.lua
+4
-4
No files found.
script/c101205032.lua
View file @
05356c9d
...
...
@@ -48,12 +48,12 @@ function s.discost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
100
)
if
chk
==
0
then
return
true
end
end
function
s
.
costfilter
(
c
)
return
c
:
IsSetCard
(
0x154
)
and
c
:
IsAttackAbove
(
1
)
and
c
:
IsAbleToRemoveAsCost
()
function
s
.
costfilter
(
c
,
atk
)
return
c
:
IsSetCard
(
0x154
)
and
(
atk
==
0
or
c
:
IsAttackAbove
(
1
)
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
s
.
fselect
(
g
,
atk
)
local
sum
=
g
:
GetSum
(
Card
.
GetAttack
)
return
sum
>=
atk
and
not
g
:
IsExists
(
Card
.
IsAttackBelow
,
1
,
nil
,
sum
-
atk
)
return
sum
>=
atk
and
(
atk
==
0
and
g
:
GetCount
()
==
1
or
not
g
:
IsExists
(
Card
.
IsAttackBelow
,
1
,
nil
,
sum
-
atk
)
)
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
atk
=
0
...
...
@@ -62,7 +62,7 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
else
atk
=
re
:
GetHandler
():
GetTextAttack
()
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
,
atk
)
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
return
g
:
CheckSubGroup
(
s
.
fselect
,
1
,
#
g
,
atk
)
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