From b9ca4a5dbdd8f35a6813c62cfac8d4a8d2e39503 Mon Sep 17 00:00:00 2001 From: ImmuState Date: Sun, 29 May 2022 16:52:41 -0700 Subject: [PATCH] Make NA/CA energy not scale with ER. --- .../grasscutter/game/managers/EnergyManager/EnergyManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/emu/grasscutter/game/managers/EnergyManager/EnergyManager.java b/src/main/java/emu/grasscutter/game/managers/EnergyManager/EnergyManager.java index e6b0c94d3..d842a0330 100644 --- a/src/main/java/emu/grasscutter/game/managers/EnergyManager/EnergyManager.java +++ b/src/main/java/emu/grasscutter/game/managers/EnergyManager/EnergyManager.java @@ -286,7 +286,7 @@ public class EnergyManager { // If the player wins the roll, we increase the avatar's energy and reset the probability. if (roll < currentProbability) { - avatar.addEnergy(1.0f, PropChangeReason.PROP_CHANGE_REASON_ABILITY, false); + avatar.addEnergy(1.0f, PropChangeReason.PROP_CHANGE_REASON_ABILITY, true); this.avatarNormalProbabilities.put(avatar, initialNormalProbability.get(weaponType)); } // Otherwise, we increase the probability for the next hit.