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
e0d38610
Commit
e0d38610
authored
Jun 14, 2022
by
ImmuState
Committed by
Melledy
Jun 14, 2022
Browse files
Only send full clear notification on burst cast.
parent
0db14721
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/entity/EntityAvatar.java
View file @
e0d38610
...
...
@@ -146,7 +146,7 @@ public class EntityAvatar extends GameEntity {
// Send packets.
this
.
getScene
().
broadcastPacket
(
new
PacketEntityFightPropUpdateNotify
(
this
,
curEnergyProp
));
if
(
reason
!
=
ChangeEnergyReason
.
CHANGE_ENERGY_REASON_
NONE
)
{
if
(
reason
=
=
ChangeEnergyReason
.
CHANGE_ENERGY_REASON_
SKILL_START
)
{
this
.
getScene
().
broadcastPacket
(
new
PacketEntityFightPropChangeReasonNotify
(
this
,
curEnergyProp
,
-
maxEnergy
,
reason
));
}
}
...
...
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