mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-26 15:22:56 +08:00
Only send full clear notification on burst cast.
This commit is contained in:
parent
0db1472195
commit
e0d386105a
@ -146,7 +146,7 @@ public class EntityAvatar extends GameEntity {
|
|||||||
// Send packets.
|
// Send packets.
|
||||||
this.getScene().broadcastPacket(new PacketEntityFightPropUpdateNotify(this, curEnergyProp));
|
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));
|
this.getScene().broadcastPacket(new PacketEntityFightPropChangeReasonNotify(this, curEnergyProp, -maxEnergy, reason));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user