Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
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
Neos
Commits
54942b5d
Commit
54942b5d
authored
Jul 27, 2024
by
Chunchi Che
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/targeted' into 'main'
fix card being targeted See merge request
!400
parents
b2cef4f3
bf4a8432
Pipeline
#28732
passed with stages
in 11 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/service/duel/move.ts
src/service/duel/move.ts
+5
-0
No files found.
src/service/duel/move.ts
View file @
54942b5d
...
...
@@ -169,6 +169,11 @@ export default async (container: Container, move: MsgMove) => {
// 更新信息
target
.
code
=
code
;
target
.
location
=
to
;
if
(
!
(
from
.
zone
===
MZONE
&&
to
.
zone
===
MZONE
))
{
// if the card is moved, it no longer being targeted
// unless it move over the monster zone.
target
.
targeted
=
false
;
}
// 维护完了之后,开始播放音效和动画
...
...
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