Only send full clear notification on burst cast.

This commit is contained in:
ImmuState 2022-06-14 10:30:06 -07:00 committed by Melledy
parent b9f6d7f70b
commit ed290b6a39

View File

@ -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));
}
}