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
八宫一月
pre-release-database-cdb
Commits
d0877a40
Commit
d0877a40
authored
Aug 01, 2024
by
八宫一月
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c101206207.lua
parent
33a86d01
Pipeline
#28821
failed with stages
in 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
script/c101206207.lua
script/c101206207.lua
+10
-0
No files found.
script/c101206207.lua
View file @
d0877a40
...
@@ -27,6 +27,13 @@ function s.initial_effect(c)
...
@@ -27,6 +27,13 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
eftg
)
e3
:
SetTarget
(
s
.
eftg
)
e3
:
SetLabelObject
(
e2
)
e3
:
SetLabelObject
(
e2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--add type
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetType
(
EFFECT_TYPE_EQUIP
)
e6
:
SetCode
(
EFFECT_ADD_TYPE
)
e6
:
SetCondition
(
s
.
addcon
)
e6
:
SetValue
(
TYPE_EFFECT
)
c
:
RegisterEffect
(
e6
)
--equip from grave
--equip from grave
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
...
@@ -49,6 +56,9 @@ function s.ibcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,6 +56,9 @@ function s.ibcon(e,tp,eg,ep,ev,re,r,rp)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
:
IsType
(
TYPE_XYZ
)
and
not
ec
:
IsDisabled
()
return
ec
:
IsType
(
TYPE_XYZ
)
and
not
ec
:
IsDisabled
()
end
end
function
s
.
addcon
(
e
)
return
not
e
:
GetHandler
():
IsType
(
TYPE_EFFECT
)
end
function
s
.
xyzcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
xyzcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
return
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
end
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