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
432e7baa
Commit
432e7baa
authored
May 20, 2024
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some callings of playEffect, but still remain problems
parent
915262c5
Pipeline
#27231
passed with stages
in 7 minutes and 37 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
src/service/duel/flipSummoned.ts
src/service/duel/flipSummoned.ts
+0
-2
src/service/duel/flipSummoning.ts
src/service/duel/flipSummoning.ts
+2
-0
src/service/duel/spSummoned.ts
src/service/duel/spSummoned.ts
+0
-7
src/service/duel/spSummoning.ts
src/service/duel/spSummoning.ts
+10
-1
src/service/duel/summoned.ts
src/service/duel/summoned.ts
+0
-2
No files found.
src/service/duel/flipSummoned.ts
View file @
432e7baa
import
{
ygopro
}
from
"
@/api
"
;
import
{
AudioActionType
,
playEffect
}
from
"
@/infra/audio
"
;
import
{
fetchEsHintMeta
}
from
"
@/stores
"
;
export
default
(
_
:
ygopro
.
StocGameMessage
.
MsgFlipSummoned
)
=>
{
playEffect
(
AudioActionType
.
SOUND_FILP
);
fetchEsHintMeta
({
originMsg
:
1608
});
};
src/service/duel/flipSummoning.ts
View file @
432e7baa
import
{
ygopro
}
from
"
@/api
"
;
import
{
AudioActionType
,
playEffect
}
from
"
@/infra/audio
"
;
import
{
fetchEsHintMeta
}
from
"
@/stores
"
;
export
default
(
flipSummoning
:
ygopro
.
StocGameMessage
.
MsgFlipSummoning
)
=>
{
playEffect
(
AudioActionType
.
SOUND_FILP
);
fetchEsHintMeta
({
originMsg
:
"
「[?]」反转召唤宣言时
"
,
cardID
:
flipSummoning
.
code
,
...
...
src/service/duel/spSummoned.ts
View file @
432e7baa
import
{
ygopro
}
from
"
@/api
"
;
import
{
AudioActionType
,
playEffect
}
from
"
@/infra/audio
"
;
import
{
fetchEsHintMeta
}
from
"
@/stores
"
;
export
default
(
_
:
ygopro
.
StocGameMessage
.
MsgSpSummoned
)
=>
{
// 这里服务器没有传特殊召唤的怪兽的ID,
// 所以如果要判断是否是衍生物召唤的话,需要从`MsgSpSummoning`中获取
// 并保存,在处理这个消息的时候再取出来进行判断。
//
// 这里暂时在所有情况下都播放`SOUND_SPECIAL_SUMMON`
playEffect
(
AudioActionType
.
SOUND_SPECIAL_SUMMON
);
fetchEsHintMeta
({
originMsg
:
1606
});
};
src/service/duel/spSummoning.ts
View file @
432e7baa
import
{
ygopro
}
from
"
@/api
"
;
import
{
fetchCard
,
ygopro
}
from
"
@/api
"
;
import
{
TYPE_TOKEN
}
from
"
@/common
"
;
import
{
AudioActionType
,
playEffect
}
from
"
@/infra/audio
"
;
import
{
fetchEsHintMeta
}
from
"
@/stores
"
;
export
default
(
spSummoning
:
ygopro
.
StocGameMessage
.
MsgSpSummoning
)
=>
{
const
card
=
fetchCard
(
spSummoning
.
code
);
if
(
card
.
data
.
type
&&
card
.
data
.
type
&
TYPE_TOKEN
)
{
playEffect
(
AudioActionType
.
SOUND_TOKEN
);
}
else
{
playEffect
(
AudioActionType
.
SOUND_SPECIAL_SUMMON
);
}
fetchEsHintMeta
({
originMsg
:
"
「[?]」特殊召唤宣言时
"
,
cardID
:
spSummoning
.
code
,
...
...
src/service/duel/summoned.ts
View file @
432e7baa
import
{
ygopro
}
from
"
@/api
"
;
import
{
AudioActionType
,
playEffect
}
from
"
@/infra/audio
"
;
import
{
fetchEsHintMeta
}
from
"
@/stores
"
;
export
default
(
_
:
ygopro
.
StocGameMessage
.
MsgSummoned
)
=>
{
playEffect
(
AudioActionType
.
SOUND_SUMMON
);
fetchEsHintMeta
({
originMsg
:
1604
});
};
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