Make NA/CA energy not scale with ER.

This commit is contained in:
ImmuState 2022-05-29 16:52:41 -07:00 committed by Melledy
parent 635e342a3d
commit b9ca4a5dbd

View File

@ -286,7 +286,7 @@ public class EnergyManager {
// If the player wins the roll, we increase the avatar's energy and reset the probability. // If the player wins the roll, we increase the avatar's energy and reset the probability.
if (roll < currentProbability) { 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)); this.avatarNormalProbabilities.put(avatar, initialNormalProbability.get(weaponType));
} }
// Otherwise, we increase the probability for the next hit. // Otherwise, we increase the probability for the next hit.