Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
6a9018e3
Commit
6a9018e3
authored
May 26, 2022
by
logictc
Committed by
Melledy
May 26, 2022
Browse files
fix no melee attach and adjust skill particle amount
parent
b57cf83b
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/server/packet/send/PacketEntityAiSyncNotify.java
View file @
6a9018e3
...
...
@@ -13,7 +13,7 @@ public class PacketEntityAiSyncNotify extends BasePacket {
EntityAiSyncNotify
.
Builder
proto
=
EntityAiSyncNotify
.
newBuilder
();
for
(
int
monsterId
:
notify
.
getLocalAvatarAlertedMonsterListList
())
{
proto
.
addInfoList
(
AiSyncInfo
.
newBuilder
().
setEntityId
(
monsterId
));
proto
.
addInfoList
(
AiSyncInfo
.
newBuilder
().
setEntityId
(
monsterId
)
.
setHasPathToTarget
(
true
)
);
}
this
.
setData
(
proto
);
...
...
src/main/resources/defaults/data/SkillParticleGeneration.json
View file @
6a9018e3
...
...
@@ -201,13 +201,9 @@
"avatarId"
:
10000030
,
"name"
:
"Zhongli"
,
"amountList"
:
[
{
"value"
:
0
,
"chance"
:
50
},
{
"value"
:
1
,
"chance"
:
5
0
"chance"
:
10
0
}
]
},
...
...
@@ -215,13 +211,9 @@
"avatarId"
:
10000031
,
"name"
:
"Fischl"
,
"amountList"
:
[
{
"value"
:
0
,
"chance"
:
33
},
{
"value"
:
1
,
"chance"
:
67
"chance"
:
100
}
]
},
...
...
@@ -293,13 +285,9 @@
"avatarId"
:
10000038
,
"name"
:
"Albedo"
,
"amountList"
:
[
{
"value"
:
0
,
"chance"
:
33
},
{
"value"
:
1
,
"chance"
:
67
"chance"
:
100
}
]
},
...
...
@@ -307,13 +295,9 @@
"avatarId"
:
10000039
,
"name"
:
"Diona"
,
"amountList"
:
[
{
"value"
:
0
,
"chance"
:
20
},
{
"value"
:
1
,
"chance"
:
8
0
"chance"
:
10
0
}
]
},
...
...
@@ -455,13 +439,9 @@
"avatarId"
:
10000052
,
"name"
:
"Raiden Shogun"
,
"amountList"
:
[
{
"value"
:
0
,
"chance"
:
50
},
{
"value"
:
1
,
"chance"
:
5
0
"chance"
:
10
0
}
]
},
...
...
@@ -479,13 +459,9 @@
"avatarId"
:
10000054
,
"name"
:
"Sangonomiya Kokomi"
,
"amountList"
:
[
{
"value"
:
0
,
"chance"
:
33
},
{
"value"
:
1
,
"chance"
:
67
"chance"
:
100
}
]
},
...
...
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