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
yks
pre-release-database-cdb
Commits
1a824370
Commit
1a824370
authored
Jun 05, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
fef1f08a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
script/c101206202.lua
script/c101206202.lua
+11
-11
No files found.
script/c101206202.lua
View file @
1a824370
...
...
@@ -32,11 +32,11 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e3
)
if
not
s
.
global_check
then
s
.
global_check
=
true
d
rake_shark_AddXyzProcedure
=
aux
.
AddXyzProcedure
D
rake_shark_AddXyzProcedure
=
aux
.
AddXyzProcedure
function
aux
.
AddXyzProcedure
(
card_c
,
function_f
,
int_lv
,
int_ct
,
function_alterf
,
int_dese
,
int_maxc
,
function_op
)
if
card_c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
int_ct
>=
3
then
if
function_alterf
then
d
rake_shark_XyzLevelFreeOperationAlter
=
Auxiliary
.
XyzLevelFreeOperationAlter
D
rake_shark_XyzLevelFreeOperationAlter
=
Auxiliary
.
XyzLevelFreeOperationAlter
function
Auxiliary
.
XyzLevelFreeOperationAlter
(
f
,
gf
,
minc
,
maxc
,
alterf
,
alterdesc
,
alterop
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
min
,
max
)
if
og
and
not
min
then
...
...
@@ -85,9 +85,9 @@ function s.initial_effect(c)
end
end
aux
.
AddXyzProcedureLevelFree
(
card_c
,
s
.
f
(
function_f
,
int_lv
,
card_c
),
s
.
gf
(
int_ct
),
int_ct
-
1
,
int_ct
,
function_alterf
,
int_dese
,
function_op
)
Auxiliary
.
XyzLevelFreeOperationAlter
=
d
rake_shark_XyzLevelFreeOperationAlter
Auxiliary
.
XyzLevelFreeOperationAlter
=
D
rake_shark_XyzLevelFreeOperationAlter
else
d
rake_shark_XyzLevelFreeOperation
=
Auxiliary
.
XyzLevelFreeOperation
D
rake_shark_XyzLevelFreeOperation
=
Auxiliary
.
XyzLevelFreeOperation
function
Auxiliary
.
XyzLevelFreeOperation
(
f
,
gf
,
minct
,
maxct
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
min
,
max
)
if
og
and
not
min
then
...
...
@@ -134,14 +134,14 @@ function s.initial_effect(c)
end
end
end
aux
.
AddXyzProcedureLevelFree
(
card_c
,
s
.
f
(
function_f
,
int_lv
,
card_c
),
s
.
gf
(
int_ct
),
int_ct
-
1
,
int_ct
)
Auxiliary
.
XyzLevelFreeOperation
=
d
rake_shark_XyzLevelFreeOperation
aux
.
AddXyzProcedureLevelFree
(
card_c
,
s
.
f
(
function_f
,
int_lv
,
card_c
),
s
.
gf
(
int_ct
,
card_c
:
GetOwner
()
),
int_ct
-
1
,
int_ct
)
Auxiliary
.
XyzLevelFreeOperation
=
D
rake_shark_XyzLevelFreeOperation
end
else
if
function_alterf
then
d
rake_shark_AddXyzProcedure
(
card_c
,
function_f
,
int_lv
,
int_ct
,
function_alterf
,
int_dese
,
int_maxc
,
function_op
)
D
rake_shark_AddXyzProcedure
(
card_c
,
function_f
,
int_lv
,
int_ct
,
function_alterf
,
int_dese
,
int_maxc
,
function_op
)
else
d
rake_shark_AddXyzProcedure
(
card_c
,
function_f
,
int_lv
,
int_ct
)
D
rake_shark_AddXyzProcedure
(
card_c
,
function_f
,
int_lv
,
int_ct
)
end
end
end
...
...
@@ -152,12 +152,12 @@ function s.f(function_f,int_lv,card_c)
return
c
:
IsXyzLevel
(
card_c
,
int_lv
)
and
(
not
function_f
or
function_f
(
c
))
end
end
function
s
.
gf
(
int_ct
)
function
s
.
gf
(
int_ct
,
int_tp
)
return
function
(
g
)
return
g
:
GetCount
()
==
int_ct
or
g
:
GetCount
()
==
int_ct
-
1
and
g
:
IsExists
(
s
.
xfilter
,
1
,
nil
)
return
g
:
GetCount
()
==
int_ct
or
g
:
GetCount
()
==
int_ct
-
1
and
g
:
IsExists
(
s
.
xfilter
,
1
,
nil
,
int_tp
)
end
end
function
s
.
xfilter
(
c
)
function
s
.
xfilter
(
c
,
tp
)
return
c
:
IsHasEffect
(
id
,
tp
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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