Add energy generation probabilities to WeaponType.

This commit is contained in:
ImmuState
2022-05-30 05:28:11 -07:00
committed by Melledy
parent 52a3f95729
commit 2e167d2d78
2 changed files with 6 additions and 6 deletions

View File

@@ -256,7 +256,7 @@ public class EnergyManager {
// - Does the probability for a character reset when switching them out?
// - Does this really count every individual hit separately?
// Make sure the avatar's weapon type makes sense.
// Get the avatar's weapon type.
WeaponType weaponType = avatar.getAvatar().getAvatarData().getWeaponType();
// Check if we already have probability data for this avatar. If not, insert it.