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
Mr.Tan
pre-release-database-cdb
Commits
2d667b2c
Commit
2d667b2c
authored
Sep 28, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
932bc2dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
script/c101206084.lua
script/c101206084.lua
+11
-11
No files found.
script/c101206084.lua
View file @
2d667b2c
...
...
@@ -31,17 +31,17 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e4
)
--return
local
e
8
=
Effect
.
CreateEffect
(
c
)
e
8
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e
8
:
SetCategory
(
CATEGORY_TOHAND
)
e
8
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e
8
:
SetRange
(
LOCATION_MZONE
)
e
8
:
SetCountLimit
(
1
,
id
)
e
8
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e
8
:
SetCondition
(
s
.
retcon
)
e
8
:
SetTarget
(
s
.
rettg
)
e
8
:
SetOperation
(
s
.
retop
)
c
:
RegisterEffect
(
e
8
)
local
e
5
=
Effect
.
CreateEffect
(
c
)
e
5
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e
5
:
SetCategory
(
CATEGORY_TOHAND
)
e
5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e
5
:
SetRange
(
LOCATION_MZONE
)
e
5
:
SetCountLimit
(
1
,
id
+
o
)
e
5
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e
5
:
SetCondition
(
s
.
retcon
)
e
5
:
SetTarget
(
s
.
rettg
)
e
5
:
SetOperation
(
s
.
retop
)
c
:
RegisterEffect
(
e
5
)
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
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