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
3ffea809
Commit
3ffea809
authored
Jan 10, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix LEDE-JP011\012 scripts
parent
0e75dac9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
script/c101204011.lua
script/c101204011.lua
+2
-2
script/c101204012.lua
script/c101204012.lua
+1
-0
No files found.
script/c101204011.lua
View file @
3ffea809
...
...
@@ -33,7 +33,7 @@ function s.mvcon(e,tp,eg,ep,ev,re,r,rp)
else
ft2
=
ft2
+
1
end
if
ac
:
GetOwner
()
==
tp
then
if
ac
and
ac
:
GetOwner
()
==
tp
then
ft1
=
ft1
+
1
else
ft2
=
ft2
+
1
...
...
@@ -56,7 +56,7 @@ function s.mvop(e,tp,eg,ep,ev,re,r,rp)
else
ft2
=
ft2
+
1
end
if
ac
:
GetOwner
()
==
tp
then
if
ac
and
ac
:
GetOwner
()
==
tp
then
ft1
=
ft1
+
1
else
ft2
=
ft2
+
1
...
...
script/c101204012.lua
View file @
3ffea809
...
...
@@ -21,6 +21,7 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_SSET
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetTarget
(
s
.
destg
)
...
...
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