mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-20 10:55:08 +01:00
Add energy generation probabilities to WeaponType.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user