mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 03:42:55 +00:00
Make NA/CA energy not scale with ER.
This commit is contained in:
parent
635e342a3d
commit
b9ca4a5dbd
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user