Commit b9ca4a5d authored by ImmuState's avatar ImmuState Committed by Melledy
Browse files

Make NA/CA energy not scale with ER.

parent 635e342a
...@@ -286,7 +286,7 @@ public class EnergyManager { ...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment